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.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.002134/0.002134, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 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.00204/0.00204, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.663/1.663, allocations: 207.6 MB / 236 MB, free: 9.984 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 51.92 kB / 348.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 49.15 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007462/0.3796, allocations: 4.717 MB / 402.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003922/0.3835, allocations: 1.293 MB / 403.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.3848, allocations: 13.16 kB / 403.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.3855, allocations: 115.4 kB / 403.8 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.3869, allocations: 252.8 kB / 404 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3882, allocations: 297.8 kB / 404.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002188/0.3904, allocations: 1.053 MB / 405.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000483/0.3909, allocations: 190.4 kB / 405.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3919, allocations: 424.1 kB / 405.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008852/0.3928, allocations: 466 kB / 406.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.393, allocations: 91.09 kB / 406.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.3934, allocations: 113.2 kB / 406.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.3935, allocations: 189.7 kB / 406.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.394, allocations: 435.9 kB / 407.2 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.3956, allocations: 1 MB / 408.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3956, allocations: 0 / 408.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3956, allocations: 1.344 kB / 408.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.3956, allocations: 0 / 408.2 MB, free: 2.883 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.003047/0.3987, allocations: 1.163 MB / 409.4 MB, free: 2.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.3988, allocations: 17.7 kB / 409.4 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.399, allocations: 92.53 kB / 409.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000826/0.3998, allocations: 406.6 kB / 409.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.3998, allocations: 42.38 kB / 409.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.4, allocations: 62.33 kB / 410 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.4015, allocations: 0.6408 MB / 410.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.4015, allocations: 5.219 kB / 410.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/0.4016, allocations: 29.67 kB / 410.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.4016, allocations: 14.44 kB / 410.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.4032, allocations: 0.6773 MB / 411.3 MB, free: 1.109 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.004436/0.4076, allocations: 2.255 MB / 413.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.4092, allocations: 0.5541 MB / 414.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007904/0.41, allocations: 311.8 kB / 414.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.41, allocations: 5.656 kB / 414.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009995/0.411, allocations: 435.2 kB / 414.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.886e-06/0.411, allocations: 0 / 414.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07492/0.486, allocations: 15.23 MB / 430.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.4861, allocations: 145.5 kB / 430.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.4871, allocations: 498.8 kB / 430.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003018/0.4874, allocations: 45.64 kB / 430.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.4878, allocations: 376.8 kB / 431.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.4882, allocations: 325.2 kB / 431.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/0.4886, allocations: 182.5 kB / 431.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002646/0.4889, allocations: 390.7 kB / 432 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.4914, allocations: 0.7163 MB / 432.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.4937, allocations: 0.9226 MB / 433.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004158/0.4979, allocations: 1.662 MB / 435.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.4979, allocations: 4 kB / 435.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02401/0.5219, allocations: 5.304 MB / 440.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.522, allocations: 67.39 kB / 440.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.522, allocations: 8 kB / 440.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03607/0.5581, allocations: 6.825 MB / 447.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.5589, allocations: 139.7 kB / 447.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00681/0.5657, allocations: 3.02 MB / 450.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.5676, allocations: 175.8 kB / 450.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.5678, allocations: 43.98 kB / 450.9 MB, free: 13.39 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.0006294/0.5684, allocations: 229.7 kB / 451.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.5687, allocations: 79.53 kB / 451.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02364/0.5923, allocations: 5.052 MB / 456.3 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.5923, allocations: 8 kB / 456.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.5924, allocations: 0 / 456.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.413e-05/0.5924, allocations: 7.969 kB / 456.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.5946, allocations: 1.072 MB / 457.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.5946, allocations: 3.938 kB / 457.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.5952, allocations: 103.8 kB / 457.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03518/0.6304, allocations: 6.777 MB / 464.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003028/0.6307, allocations: 23.98 kB / 464.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006366/0.637, allocations: 3.033 MB / 467.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.637, allocations: 0 / 467.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02518/0.6622, allocations: 5.944 MB / 473.2 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.6625, allocations: 63.56 kB / 473.3 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.6627, allocations: 24.05 kB / 473.3 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.6641, allocations: 167.7 kB / 473.5 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.6644, allocations: 104.8 kB / 473.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/0.6645, allocations: 27.98 kB / 473.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004698/0.665, allocations: 334.9 kB / 473.9 MB, free: 6.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.665, allocations: 3.938 kB / 474 MB, free: 6.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008651/0.6658, allocations: 252 kB / 474.2 MB, free: 5.934 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.0003186/0.6662, allocations: 139.8 kB / 474.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006108/0.6723, allocations: 1.95 MB / 476.3 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6723, allocations: 0 / 476.3 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003553/0.6758, allocations: 1.012 MB / 477.3 MB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.6768, allocations: 134.4 kB / 477.4 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.681, allocations: 1.805 MB / 479.2 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.6817, allocations: 0.9389 MB / 480.2 MB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.6818, allocations: 39.38 kB / 480.2 MB, free: 15.83 MB / 398.1 MB Notification: Performance of SimCode: time 1.743e-06/0.6818, allocations: 4 kB / 480.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of Templates: time 0.02543/0.7073, allocations: 16.91 MB / 497.1 MB, free: 14.88 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/jenkins1/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/jenkins1/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: 9.398950340924785]