Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_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.001278/0.001278, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.001352/0.001352, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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.41/1.41, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 47.92 kB / 371.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2541, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006599/0.2607, allocations: 4.983 MB / 428.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.2635, allocations: 1.276 MB / 430.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.2638, allocations: 15.88 kB / 430.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.2641, allocations: 126.7 kB / 430.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004765/0.2646, allocations: 257.7 kB / 430.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.2653, allocations: 307.5 kB / 430.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.2664, allocations: 1.103 MB / 432 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.2668, allocations: 191 kB / 432.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005586/0.2673, allocations: 430.5 kB / 432.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.268, allocations: 482 kB / 433 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.2681, allocations: 88 kB / 433.1 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.2683, allocations: 116 kB / 433.2 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.2685, allocations: 203.3 kB / 433.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.2689, allocations: 449.8 kB / 433.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.2701, allocations: 1.036 MB / 434.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2701, allocations: 0 / 434.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2701, allocations: 3.938 kB / 434.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.2701, allocations: 0 / 434.9 MB, free: 3.602 MB / 334.1 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.002628/0.2727, allocations: 1.217 MB / 436.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2727, allocations: 8.031 kB / 436.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.2729, allocations: 96.38 kB / 436.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/0.2736, allocations: 426.1 kB / 436.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/0.2737, allocations: 57.61 kB / 436.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2738, allocations: 60.38 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.2752, allocations: 0.6548 MB / 437.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.2752, allocations: 0 / 437.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.2753, allocations: 24 kB / 437.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.2753, allocations: 16 kB / 437.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.277, allocations: 0.7 MB / 438.1 MB, free: 280 kB / 334.1 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.004096/0.2811, allocations: 2.323 MB / 440.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.2826, allocations: 0.5554 MB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/0.2833, allocations: 306 kB / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.2834, allocations: 8.438 kB / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009631/0.2843, allocations: 425.4 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.174e-06/0.2843, allocations: 0 / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07193/0.3563, allocations: 15.23 MB / 457 MB, free: 13.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.3564, allocations: 145.5 kB / 457.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008979/0.3573, allocations: 0.5108 MB / 457.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.3576, allocations: 49.69 kB / 457.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.358, allocations: 400.6 kB / 458.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/0.3583, allocations: 329.2 kB / 458.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.3588, allocations: 186.6 kB / 458.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.359, allocations: 386.7 kB / 459 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.3611, allocations: 0.7282 MB / 459.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.3634, allocations: 0.9551 MB / 460.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.3677, allocations: 1.689 MB / 462.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3677, allocations: 0 / 462.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0253/0.393, allocations: 5.328 MB / 467.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.504e-05/0.3931, allocations: 67.39 kB / 467.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.3931, allocations: 12 kB / 467.7 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0367/0.4298, allocations: 6.829 MB / 474.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.4305, allocations: 143.8 kB / 474.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/0.4371, allocations: 3.032 MB / 477.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.4388, allocations: 179.8 kB / 477.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.439, allocations: 51.97 kB / 478 MB, free: 7.844 MB / 382.1 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.0005042/0.4395, allocations: 225.6 kB / 478.2 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.4397, allocations: 79.48 kB / 478.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02366/0.4634, allocations: 5.052 MB / 483.3 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.4634, allocations: 8 kB / 483.3 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4634, allocations: 0 / 483.3 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.4634, allocations: 3.984 kB / 483.3 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.4651, allocations: 1.088 MB / 484.4 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.4651, allocations: 0 / 484.4 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.4657, allocations: 99.81 kB / 484.5 MB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03606/0.5018, allocations: 6.786 MB / 491.3 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/0.502, allocations: 23.97 kB / 491.3 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006272/0.5082, allocations: 3.04 MB / 494.4 MB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5082, allocations: 0 / 494.4 MB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02475/0.533, allocations: 5.945 MB / 0.4886 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.5332, allocations: 79.41 kB / 0.4887 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.5334, allocations: 16 kB / 0.4887 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.5348, allocations: 167.9 kB / 0.4888 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/0.5351, allocations: 104.8 kB / 0.4889 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.5352, allocations: 31.98 kB / 0.489 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004492/0.5357, allocations: 354.8 kB / 0.4893 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5357, allocations: 0 / 0.4893 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007966/0.5365, allocations: 260 kB / 0.4895 GB, free: 340 kB / 398.1 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.000276/0.5368, allocations: 127.2 kB / 0.4897 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006082/0.5428, allocations: 1.974 MB / 0.4916 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5428, allocations: 0 / 0.4916 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003472/0.5463, allocations: 1.019 MB / 0.4926 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.5471, allocations: 126.4 kB / 0.4927 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.551, allocations: 1.84 MB / 0.4945 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.5515, allocations: 0.9507 MB / 0.4954 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.5517, allocations: 35.44 kB / 0.4955 GB, free: 10.17 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5517, allocations: 0 / 0.4955 GB, free: 10.17 MB / 414.1 MB Notification: Performance of Templates: time 0.02393/0.5757, allocations: 17.48 MB / 0.5125 GB, free: 8.715 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_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: 8.544940483989194]