Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001887/0.001887, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 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.002493/0.002493, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.666/1.666, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 44.03 kB / 373.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1261, allocations: 53.32 MB / 426.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.264/0.3901, allocations: 4.972 MB / 431.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.3926, allocations: 1.293 MB / 433.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.3929, allocations: 14.91 kB / 433.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.3931, allocations: 122.4 kB / 433.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.3935, allocations: 261.4 kB / 433.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.3942, allocations: 310.9 kB / 433.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.3952, allocations: 1.095 MB / 434.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.3955, allocations: 188 kB / 435.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.396, allocations: 437.5 kB / 435.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/0.3965, allocations: 479.1 kB / 435.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.3967, allocations: 90.19 kB / 436 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.3969, allocations: 115.8 kB / 436.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.3971, allocations: 198.8 kB / 436.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.3976, allocations: 456.6 kB / 436.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.3989, allocations: 1.034 MB / 437.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3989, allocations: 0 / 437.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3989, allocations: 0.875 kB / 437.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.3989, allocations: 4.812 kB / 437.8 MB, free: 6.621 MB / 350.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.002708/0.4016, allocations: 1.287 MB / 439.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4017, allocations: 10 kB / 439.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.4019, allocations: 98.45 kB / 439.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006625/0.4025, allocations: 492 kB / 439.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.4026, allocations: 51.84 kB / 439.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.4027, allocations: 67.5 kB / 439.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.4042, allocations: 0.6586 MB / 440.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.4042, allocations: 0 / 440.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.4043, allocations: 27.41 kB / 440.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.4043, allocations: 14.53 kB / 440.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.4061, allocations: 0.6957 MB / 441.2 MB, free: 4.816 MB / 350.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.004596/0.4107, allocations: 2.379 MB / 443.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.4123, allocations: 0.5599 MB / 444.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007646/0.4131, allocations: 308 kB / 444.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.432e-05/0.4131, allocations: 9.969 kB / 444.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009272/0.414, allocations: 430.2 kB / 444.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.665e-06/0.4141, allocations: 0 / 444.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07139/0.4854, allocations: 15.38 MB / 460.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.4856, allocations: 141.3 kB / 460.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008209/0.4864, allocations: 0.5235 MB / 460.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.4867, allocations: 47.58 kB / 461 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.487, allocations: 387.2 kB / 461.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.4874, allocations: 335.1 kB / 461.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/0.4878, allocations: 185.2 kB / 461.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.4881, allocations: 386.9 kB / 462.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/0.4903, allocations: 0.7237 MB / 463 MB, free: 11.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/0.4927, allocations: 0.9548 MB / 463.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004669/0.4974, allocations: 1.701 MB / 465.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.4974, allocations: 0 / 465.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02539/0.5228, allocations: 5.337 MB / 471 MB, free: 3.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.603e-05/0.5229, allocations: 61.59 kB / 471 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.5229, allocations: 7.938 kB / 471 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03601/0.5589, allocations: 6.833 MB / 477.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008385/0.5597, allocations: 147.7 kB / 478 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006809/0.5665, allocations: 3.014 MB / 481 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.5684, allocations: 183.8 kB / 481.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.5685, allocations: 47.97 kB / 481.2 MB, free: 9.168 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.0005231/0.5691, allocations: 234.7 kB / 481.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.5692, allocations: 83.48 kB / 481.5 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02375/0.593, allocations: 5.065 MB / 486.6 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.593, allocations: 12.84 kB / 486.6 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.593, allocations: 0 / 486.6 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/0.593, allocations: 3.984 kB / 486.6 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.595, allocations: 1.103 MB / 487.7 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.595, allocations: 0.5625 kB / 487.7 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.5956, allocations: 103.8 kB / 487.8 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03573/0.6313, allocations: 6.78 MB / 494.6 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003223/0.6317, allocations: 27.97 kB / 494.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006778/0.6384, allocations: 3.026 MB / 497.7 MB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6384, allocations: 2.109 kB / 497.7 MB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02677/0.6652, allocations: 5.943 MB / 0.4918 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.6656, allocations: 158.1 kB / 0.492 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.6658, allocations: 20 kB / 0.492 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.6673, allocations: 172.7 kB / 0.4921 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/0.6676, allocations: 92.88 kB / 0.4922 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.6677, allocations: 35.97 kB / 0.4923 GB, free: 2.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005499/0.6682, allocations: 354.8 kB / 0.4926 GB, free: 1.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6682, allocations: 0 / 0.4926 GB, free: 1.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009422/0.6692, allocations: 263.9 kB / 0.4929 GB, free: 1.562 MB / 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.0002938/0.6695, allocations: 125.7 kB / 0.493 GB, free: 1.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006671/0.6761, allocations: 1.971 MB / 0.4949 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6761, allocations: 0 / 0.4949 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003891/0.68, allocations: 1.025 MB / 0.4959 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.6808, allocations: 125.7 kB / 0.496 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.6849, allocations: 1.805 MB / 0.4978 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/0.6856, allocations: 0.9506 MB / 0.4987 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002659/0.6858, allocations: 64.28 kB / 0.4988 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.686, allocations: 39.42 kB / 0.4988 GB, free: 11.4 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.686, allocations: 0 / 0.4988 GB, free: 11.4 MB / 414.1 MB Notification: Performance of Templates: time 0.03948/0.7255, allocations: 23.01 MB / 0.5213 GB, free: 4.531 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.298138372600079]