Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001786/0.001786, allocations: 106 kB / 21.18 MB, free: 0.707 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.002431/0.002431, allocations: 185.3 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate")
translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 51.92 kB / 347.7 MB, free: 9.547 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3061, allocations: 49.15 MB / 396.8 MB, free: 9.527 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00505/0.3112, allocations: 4.725 MB / 401.5 MB, free: 6.133 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002513/0.3137, allocations: 1.289 MB / 402.8 MB, free: 5.191 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.314, allocations: 13.28 kB / 402.8 MB, free: 5.188 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.3143, allocations: 115 kB / 403 MB, free: 5.117 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.3148, allocations: 253.5 kB / 403.2 MB, free: 4.93 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.3155, allocations: 296.6 kB / 403.5 MB, free: 4.766 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001003/0.3165, allocations: 1.053 MB / 404.6 MB, free: 4.238 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.3168, allocations: 190.1 kB / 404.7 MB, free: 4.117 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/0.3173, allocations: 420.7 kB / 405.1 MB, free: 3.926 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005492/0.3179, allocations: 469.2 kB / 405.6 MB, free: 3.699 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.318, allocations: 88.38 kB / 405.7 MB, free: 3.699 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.3183, allocations: 113.5 kB / 405.8 MB, free: 3.691 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.3184, allocations: 193.4 kB / 406 MB, free: 3.562 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.3188, allocations: 435.8 kB / 406.4 MB, free: 3.301 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001152/0.3199, allocations: 0.9974 MB / 407.4 MB, free: 2.902 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3199, allocations: 0 / 407.4 MB, free: 2.902 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.363e-06/0.3199, allocations: 3.938 kB / 407.4 MB, free: 2.898 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 1.273e-05/0.3199, allocations: 1.219 kB / 407.4 MB, free: 2.898 MB / 318.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 152
 * Number of variables: 152
Notification: Performance of Generate backend data structure: time 0.002341/0.3223, allocations: 1.163 MB / 408.6 MB, free: 2.145 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3223, allocations: 20.14 kB / 408.6 MB, free: 2.133 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.3225, allocations: 94.45 kB / 408.7 MB, free: 2.086 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006672/0.3232, allocations: 402 kB / 409.1 MB, free: 1.793 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.3232, allocations: 47 kB / 409.1 MB, free: 1.77 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3233, allocations: 62.19 kB / 409.2 MB, free: 1.75 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.3247, allocations: 0.6427 MB / 409.8 MB, free: 1.484 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.3247, allocations: 3.984 kB / 409.8 MB, free: 1.48 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.3248, allocations: 25.94 kB / 409.9 MB, free: 1.461 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.3248, allocations: 14.62 kB / 409.9 MB, free: 1.461 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.3263, allocations: 0.6774 MB / 410.6 MB, free: 1.137 MB / 318.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.003691/0.33, allocations: 2.254 MB / 412.8 MB, free: 15.3 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3314, allocations: 0.5555 MB / 413.4 MB, free: 15 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007045/0.3321, allocations: 311.1 kB / 413.7 MB, free: 14.84 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/0.3322, allocations: 10.48 kB / 413.7 MB, free: 14.83 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009655/0.3331, allocations: 427.6 kB / 414.1 MB, free: 14.55 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=54): time 2.404e-06/0.3331, allocations: 0 / 414.1 MB, free: 14.55 MB / 334.1 MB
Notification: Performance of matching and sorting (n=94): time 0.06765/0.4008, allocations: 15.24 MB / 429.3 MB, free: 2.547 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.4009, allocations: 149.5 kB / 429.5 MB, free: 2.371 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007471/0.4017, allocations: 494.9 kB / 430 MB, free: 1.879 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002459/0.4019, allocations: 41.7 kB / 430 MB, free: 1.832 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.4023, allocations: 372.8 kB / 430.4 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004299/0.4027, allocations: 329.2 kB / 430.7 MB, free: 1.137 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004366/0.4031, allocations: 182.5 kB / 430.9 MB, free: 0.9531 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002036/0.4033, allocations: 386.8 kB / 431.2 MB, free: 0.5664 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.4054, allocations: 0.7163 MB / 432 MB, free: 15.85 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/0.4076, allocations: 0.9226 MB / 432.9 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/0.4116, allocations: 1.662 MB / 434.5 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.4116, allocations: 4 kB / 434.6 MB, free: 13.1 MB / 350.1 MB
Notification: Performance of matching and sorting (n=124) (initialization): time 0.02303/0.4346, allocations: 5.308 MB / 439.9 MB, free: 7.758 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.4348, allocations: 63.41 kB / 439.9 MB, free: 7.684 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.4348, allocations: 8 kB / 439.9 MB, free: 7.676 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.03295/0.4677, allocations: 6.829 MB / 446.8 MB, free: 0.832 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.4684, allocations: 139.7 kB / 446.9 MB, free: 0.6953 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006392/0.4748, allocations: 3.016 MB / 449.9 MB, free: 13.62 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.4766, allocations: 175.9 kB / 450.1 MB, free: 13.45 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.4768, allocations: 47.97 kB / 450.1 MB, free: 13.41 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 23
 * 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 (50):
 * Single equations (assignments): 46
 * 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.0005831/0.4774, allocations: 221.7 kB / 450.3 MB, free: 13.18 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.4776, allocations: 83.52 kB / 450.4 MB, free: 13.1 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02205/0.4997, allocations: 5.052 MB / 455.5 MB, free: 8.023 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.4997, allocations: 8 kB / 455.5 MB, free: 8.016 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4997, allocations: 0 / 455.5 MB, free: 8.016 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/0.4998, allocations: 4.234 kB / 455.5 MB, free: 8.012 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.5018, allocations: 1.08 MB / 456.6 MB, free: 6.887 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.5018, allocations: 7.938 kB / 456.6 MB, free: 6.879 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.5023, allocations: 95.83 kB / 456.7 MB, free: 6.785 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.03291/0.5352, allocations: 6.777 MB / 463.4 MB, free: 15.99 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003021/0.5355, allocations: 23.92 kB / 463.5 MB, free: 15.97 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006103/0.5416, allocations: 3.037 MB / 466.5 MB, free: 12.88 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5416, allocations: 0 / 466.5 MB, free: 12.88 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02418/0.5658, allocations: 5.937 MB / 472.4 MB, free: 6.914 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.5661, allocations: 67.55 kB / 472.5 MB, free: 6.848 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/0.5664, allocations: 20.06 kB / 472.5 MB, free: 6.828 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.568, allocations: 175.7 kB / 472.7 MB, free: 6.656 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/0.5683, allocations: 96.83 kB / 472.8 MB, free: 6.562 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.5684, allocations: 35.97 kB / 472.8 MB, free: 6.527 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0004561/0.5689, allocations: 338.8 kB / 473.2 MB, free: 6.199 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.5689, allocations: 3.938 kB / 473.2 MB, free: 6.195 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.000902/0.5698, allocations: 252 kB / 473.4 MB, free: 5.949 MB / 382.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.0002897/0.5701, allocations: 131.2 kB / 473.5 MB, free: 5.812 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.005862/0.5759, allocations: 1.95 MB / 475.5 MB, free: 3.832 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5759, allocations: 0 / 475.5 MB, free: 3.832 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.003355/0.5793, allocations: 1.024 MB / 476.5 MB, free: 2.812 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008725/0.5802, allocations: 126.4 kB / 476.6 MB, free: 2.691 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.584, allocations: 1.771 MB / 478.4 MB, free: 0.8945 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.5846, allocations: 0.9311 MB / 479.3 MB, free: 15.93 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0002716/0.5849, allocations: 58.06 kB / 479.4 MB, free: 15.88 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.585, allocations: 39.42 kB / 479.4 MB, free: 15.84 MB / 398.1 MB
Notification: Performance of SimCode: time 1.042e-06/0.585, allocations: 0 / 479.4 MB, free: 15.84 MB / 398.1 MB
Notification: Performance of Templates: time 0.03971/0.6247, allocations: 23.94 MB / 0.4916 GB, free: 7.848 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.025925458408892]