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.00138/0.00138, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001538/0.001538, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001575/0.001575, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2568, allocations: 53.38 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006302/0.2631, allocations: 4.413 MB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.2655, allocations: 1.245 MB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.2658, allocations: 19.88 kB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.2661, allocations: 118.7 kB / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.2666, allocations: 261.7 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006729/0.2672, allocations: 315.5 kB / 438.7 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.2684, allocations: 1.103 MB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.2687, allocations: 190 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.2692, allocations: 430.5 kB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.2697, allocations: 482 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.2699, allocations: 88 kB / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.2701, allocations: 112 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.2703, allocations: 207.2 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.2707, allocations: 378.3 kB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.2718, allocations: 1.042 MB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2718, allocations: 0 / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2718, allocations: 0 / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.2718, allocations: 4 kB / 442.7 MB, free: 12.31 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.002831/0.2746, allocations: 1.217 MB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2747, allocations: 8.031 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.2749, allocations: 100.3 kB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/0.2756, allocations: 422.1 kB / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.2757, allocations: 45.69 kB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.2758, allocations: 76.31 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.2773, allocations: 0.7764 MB / 445.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.2774, allocations: 4 kB / 445.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/0.2774, allocations: 27.98 kB / 445.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.2775, allocations: 19.94 kB / 445.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.2792, allocations: 0.6961 MB / 446.1 MB, free: 8.82 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.003783/0.283, allocations: 1.8 MB / 447.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.2845, allocations: 0.5553 MB / 448.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007681/0.2853, allocations: 314 kB / 448.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.2853, allocations: 4.438 kB / 448.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.2864, allocations: 0.5449 MB / 449.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.255e-06/0.2864, allocations: 0 / 449.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07765/0.3641, allocations: 15.25 MB / 464.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.3642, allocations: 137.5 kB / 464.7 MB, free: 5.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.3649, allocations: 0.5223 MB / 465.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.365, allocations: 53.62 kB / 465.3 MB, free: 5.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.3653, allocations: 392.7 kB / 465.6 MB, free: 5.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.3656, allocations: 329.2 kB / 466 MB, free: 4.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003981/0.366, allocations: 182.5 kB / 466.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.3662, allocations: 390.8 kB / 466.5 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/0.3684, allocations: 0.7785 MB / 467.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/0.3708, allocations: 1.088 MB / 468.4 MB, free: 2.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/0.375, allocations: 1.697 MB / 470.1 MB, free: 324 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.3751, allocations: 3.938 kB / 470.1 MB, free: 320 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02605/0.4011, allocations: 5.397 MB / 475.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.8e-05/0.4012, allocations: 71.39 kB / 475.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.4012, allocations: 4 kB / 475.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03888/0.4401, allocations: 6.829 MB / 482.4 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.4408, allocations: 147.8 kB / 482.5 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/0.4474, allocations: 3.017 MB / 485.6 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.4492, allocations: 175.8 kB / 485.7 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.4493, allocations: 47.97 kB / 485.8 MB, free: 0.5039 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.0004364/0.4497, allocations: 229.6 kB / 486 MB, free: 276 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.4499, allocations: 87.47 kB / 486.1 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0245/0.4744, allocations: 5.068 MB / 491.1 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.4744, allocations: 8 kB / 491.2 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4744, allocations: 256 / 491.2 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.4745, allocations: 3.984 kB / 491.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.4757, allocations: 0.7684 MB / 491.9 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4757, allocations: 4 kB / 491.9 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.4763, allocations: 91.88 kB / 492 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03771/0.514, allocations: 6.773 MB / 498.8 MB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/0.5142, allocations: 23.97 kB / 498.8 MB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006129/0.5203, allocations: 3.033 MB / 0.4901 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5203, allocations: 0 / 0.4901 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02616/0.5465, allocations: 5.956 MB / 0.4959 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.5467, allocations: 75.41 kB / 0.496 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.5469, allocations: 19.94 kB / 0.496 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.5483, allocations: 171.8 kB / 0.4962 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.5486, allocations: 96.83 kB / 0.4963 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.5487, allocations: 35.91 kB / 0.4963 GB, free: 9.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004544/0.5491, allocations: 350.8 kB / 0.4966 GB, free: 9.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5491, allocations: 0 / 0.4966 GB, free: 9.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008125/0.5499, allocations: 263.9 kB / 0.4969 GB, free: 9.316 MB / 414.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.0002807/0.5502, allocations: 131.2 kB / 0.497 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006133/0.5563, allocations: 2.02 MB / 0.499 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5563, allocations: 0 / 0.499 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003527/0.5599, allocations: 1.015 MB / 0.5 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.5606, allocations: 131.3 kB / 0.5001 GB, free: 5.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.5643, allocations: 1.818 MB / 0.5019 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.5647, allocations: 357.7 kB / 0.5022 GB, free: 3.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.565, allocations: 58.22 kB / 0.5023 GB, free: 3.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.5651, allocations: 35.44 kB / 0.5023 GB, free: 3.664 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5651, allocations: 0 / 0.5023 GB, free: 3.664 MB / 414.1 MB Notification: Performance of Templates: time 0.03175/0.5968, allocations: 20.28 MB / 0.5221 GB, free: 15.5 MB / 446.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/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: 5.725814802994137]