Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000797/0.000797, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004981/0.004981, allocations: 161.4 kB / 24.7 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8556/0.8556, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 325.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.815e-05, allocations: 6.281 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.003853/0.003881, allocations: 4.44 MB / 330.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.005586, allocations: 1.26 MB / 331.6 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.005831, allocations: 11.94 kB / 331.6 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.006049, allocations: 122.7 kB / 331.7 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.00635, allocations: 277.4 kB / 332 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.00688, allocations: 315.4 kB / 332.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.007554, allocations: 1.141 MB / 333.4 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.007816, allocations: 179 kB / 333.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.008287, allocations: 0.612 MB / 334.2 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.008607, allocations: 363 kB / 334.6 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.008714, allocations: 88 kB / 334.6 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.008892, allocations: 112 kB / 334.8 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.009006, allocations: 207.2 kB / 335 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.009206, allocations: 315.2 kB / 335.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.009969, allocations: 1.086 MB / 336.3 MB, free: 4.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.009972, allocations: 0 / 336.3 MB, free: 4.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.009974, allocations: 0 / 336.3 MB, free: 4.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.009983, allocations: 0 / 336.3 MB, free: 4.871 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001504/0.01149, allocations: 1.202 MB / 337.5 MB, free: 3.617 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.01153, allocations: 8.031 kB / 337.6 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.01166, allocations: 100.3 kB / 337.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.01221, allocations: 425.3 kB / 338.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.01224, allocations: 45.69 kB / 338.1 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.01232, allocations: 68.31 kB / 338.2 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009029/0.01322, allocations: 0.7844 MB / 339 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.01324, allocations: 4.141 kB / 339 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.01329, allocations: 28.38 kB / 339 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.0133, allocations: 19.94 kB / 339 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.01424, allocations: 0.6922 MB / 339.7 MB, free: 1.391 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.01658, allocations: 1.809 MB / 341.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/0.01744, allocations: 0.5515 MB / 342.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.01785, allocations: 310.1 kB / 342.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.01788, allocations: 8.5 kB / 342.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005888/0.01847, allocations: 0.5497 MB / 342.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 2.335e-06/0.01847, allocations: 0 / 342.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.03277/0.05125, allocations: 15.25 MB / 358.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.05134, allocations: 141.5 kB / 358.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.05187, allocations: 0.5223 MB / 358.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.05202, allocations: 41.7 kB / 358.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.05224, allocations: 400.7 kB / 359.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.05246, allocations: 321.2 kB / 359.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.05271, allocations: 190.5 kB / 359.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.05286, allocations: 382.8 kB / 360.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.05403, allocations: 0.7785 MB / 360.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.0553, allocations: 1.088 MB / 362 MB, free: 10.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.05757, allocations: 1.693 MB / 363.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.05757, allocations: 4 kB / 363.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01125/0.06882, allocations: 5.401 MB / 369.1 MB, free: 3.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.486e-05/0.06889, allocations: 71.39 kB / 369.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.06891, allocations: 8 kB / 369.2 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01567/0.08458, allocations: 6.832 MB / 376 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.08498, allocations: 151.7 kB / 376.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/0.08887, allocations: 3.168 MB / 379.3 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008997/0.08977, allocations: 183.8 kB / 379.5 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.08984, allocations: 47.97 kB / 379.6 MB, free: 8.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0003771/0.09022, allocations: 225.7 kB / 379.8 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.09035, allocations: 95.41 kB / 379.9 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.1008, allocations: 5.064 MB / 384.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.1008, allocations: 12 kB / 385 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1008, allocations: 0 / 385 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.1009, allocations: 3.984 kB / 385 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009805/0.1018, allocations: 0.7504 MB / 385.7 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1018, allocations: 0 / 385.7 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.1021, allocations: 107.8 kB / 385.8 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01522/0.1173, allocations: 6.789 MB / 392.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.1175, allocations: 23.98 kB / 392.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.1209, allocations: 3.037 MB / 395.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1209, allocations: 3.938 kB / 395.7 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/0.1328, allocations: 5.944 MB / 401.6 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.133, allocations: 71.5 kB / 401.7 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.1331, allocations: 24.06 kB / 401.7 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/0.1337, allocations: 171.8 kB / 401.9 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.1339, allocations: 104.8 kB / 402 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.134, allocations: 39.91 kB / 402 MB, free: 2.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002963/0.1343, allocations: 350.8 kB / 402.4 MB, free: 1.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1343, allocations: 0 / 402.4 MB, free: 1.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005711/0.1348, allocations: 259.9 kB / 402.6 MB, free: 1.699 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002531/0.1351, allocations: 131.1 kB / 402.7 MB, free: 1.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003833/0.1389, allocations: 2.168 MB / 404.9 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1389, allocations: 4 kB / 404.9 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.1407, allocations: 1.008 MB / 405.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.1412, allocations: 126.2 kB / 406 MB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.1438, allocations: 1.772 MB / 407.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.144, allocations: 361.6 kB / 408.2 MB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.1442, allocations: 40.5 kB / 408.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of SimCode: time 1.834e-06/0.1442, allocations: 0 / 408.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of Templates: time 0.01485/0.159, allocations: 17.77 MB / 426 MB, free: 10.25 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.039716597646475]