Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 88.66 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 153.1 kB / 24.25 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.48e-05, allocations: 2.312 kB / 267.3 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.01237/0.01241, allocations: 4.419 MB / 271.8 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004854/0.01726, allocations: 1.237 MB / 273 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00074/0.018, allocations: 15.88 kB / 273 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.01866, allocations: 126.8 kB / 273.1 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.01997, allocations: 277.4 kB / 273.4 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.02134, allocations: 311.4 kB / 273.7 MB, free: 280 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002515/0.02386, allocations: 1.134 MB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006221/0.02448, allocations: 183 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.02612, allocations: 0.5965 MB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.0273, allocations: 374.9 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003687/0.02767, allocations: 100 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.02816, allocations: 131.9 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.02855, allocations: 223.1 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008031/0.02935, allocations: 323.2 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.03174, allocations: 1.122 MB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.03174, allocations: 0 / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.03175, allocations: 0 / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.338e-05/0.03178, allocations: 3.938 kB / 277.9 MB, free: 12.09 MB / 266.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.005721/0.0375, allocations: 1.213 MB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.03755, allocations: 8.922 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005023/0.03805, allocations: 148.4 kB / 279.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.03967, allocations: 458.6 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.03976, allocations: 49.67 kB / 279.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.03999, allocations: 64.38 kB / 279.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.04301, allocations: 0.7806 MB / 280.6 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.04304, allocations: 4.125 kB / 280.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.04317, allocations: 24.38 kB / 280.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.04321, allocations: 19.94 kB / 280.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.0468, allocations: 0.6922 MB / 281.3 MB, free: 8.527 MB / 266.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.007972/0.05477, allocations: 1.825 MB / 283.1 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/0.05788, allocations: 0.5517 MB / 283.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.05949, allocations: 306.2 kB / 284 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.394e-05/0.05957, allocations: 16.5 kB / 284 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/0.0617, allocations: 0.5458 MB / 284.6 MB, free: 5.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 3.236e-06/0.0617, allocations: 0 / 284.6 MB, free: 5.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.2139/0.2756, allocations: 15.29 MB / 299.8 MB, free: 30.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.2757, allocations: 145.1 kB / 300 MB, free: 30.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.2763, allocations: 0.5163 MB / 300.5 MB, free: 29.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.2764, allocations: 45.48 kB / 300.5 MB, free: 29.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.2766, allocations: 392 kB / 300.9 MB, free: 29.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.2769, allocations: 328.4 kB / 301.2 MB, free: 29.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.2772, allocations: 185.2 kB / 301.4 MB, free: 29.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.2773, allocations: 385.6 kB / 301.8 MB, free: 28.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.2792, allocations: 0.7786 MB / 302.6 MB, free: 28.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.2811, allocations: 1.09 MB / 303.7 MB, free: 27.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/0.2848, allocations: 1.699 MB / 305.4 MB, free: 25.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.2848, allocations: 0 / 305.4 MB, free: 25.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02196/0.3067, allocations: 5.452 MB / 310.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.3068, allocations: 63.41 kB / 310.9 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.3068, allocations: 8 kB / 310.9 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03713/0.3439, allocations: 7.754 MB / 318.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.3446, allocations: 147.7 kB / 318.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.3509, allocations: 3.188 MB / 322 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.3528, allocations: 171.8 kB / 322.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/0.353, allocations: 51.97 kB / 322.2 MB, free: 8.75 MB / 266.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.0005514/0.3535, allocations: 223.4 kB / 322.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.3538, allocations: 123.4 kB / 322.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02169/0.3755, allocations: 5.069 MB / 327.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.3755, allocations: 8 kB / 327.6 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3756, allocations: 0 / 327.6 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.3756, allocations: 3.984 kB / 327.6 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.3767, allocations: 0.7662 MB / 328.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.3767, allocations: 0 / 328.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.3773, allocations: 91.88 kB / 328.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03998/0.4173, allocations: 7.709 MB / 336.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002766/0.4175, allocations: 27.97 kB / 336.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006955/0.4245, allocations: 3.064 MB / 339.3 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4245, allocations: 7.938 kB / 339.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02729/0.4518, allocations: 5.983 MB / 345.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.452, allocations: 71.5 kB / 345.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.4523, allocations: 17.36 kB / 345.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.4538, allocations: 167.8 kB / 345.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/0.4541, allocations: 104.8 kB / 345.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.4542, allocations: 35.97 kB / 345.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000522/0.4547, allocations: 346.9 kB / 346 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4547, allocations: 0 / 346 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009039/0.4556, allocations: 264 kB / 346.2 MB, free: 0.582 MB / 282.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.0003021/0.4559, allocations: 130.9 kB / 346.4 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.007547/0.4635, allocations: 2.167 MB / 348.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4635, allocations: 0 / 348.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003809/0.4673, allocations: 1.019 MB / 349.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.4681, allocations: 151.1 kB / 349.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.4725, allocations: 1.765 MB / 351.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.4729, allocations: 357.7 kB / 351.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.4732, allocations: 58.08 kB / 351.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4733, allocations: 40.5 kB / 351.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4733, allocations: 0 / 351.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of Templates: time 0.03289/0.5062, allocations: 18.87 MB / 370.8 MB, free: 8.133 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.73220574890729]