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.001864/0.001864, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002119/0.002119, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001632/0.001632, allocations: 59.91 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.228, allocations: 53.35 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005857/0.2338, allocations: 4.417 MB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2359, allocations: 1.252 MB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.2361, allocations: 15.94 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.2364, allocations: 118.7 kB / 438.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.2369, allocations: 261.6 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.2375, allocations: 315.5 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2386, allocations: 1.099 MB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.2389, allocations: 194 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.2393, allocations: 430.6 kB / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.2399, allocations: 482 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.24, allocations: 88 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.2402, allocations: 116 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.2404, allocations: 199.3 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.2408, allocations: 378.3 kB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.2419, allocations: 1.042 MB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2419, allocations: 0 / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2419, allocations: 0 / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.2419, allocations: 0 / 442.7 MB, free: 12.3 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.002921/0.2449, allocations: 1.221 MB / 443.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2449, allocations: 8.031 kB / 443.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.2451, allocations: 96.33 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2462, allocations: 430.1 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.2463, allocations: 41.69 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.2465, allocations: 72.33 kB / 444.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.2487, allocations: 0.7803 MB / 445.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.2487, allocations: 0 / 445.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.2488, allocations: 28 kB / 445.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.2488, allocations: 15.94 kB / 445.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.2506, allocations: 0.6999 MB / 446.1 MB, free: 8.812 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.003803/0.2544, allocations: 1.8 MB / 447.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.2559, allocations: 0.5592 MB / 448.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007583/0.2567, allocations: 306 kB / 448.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.2567, allocations: 8.438 kB / 448.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.2577, allocations: 0.541 MB / 449.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.545e-06/0.2577, allocations: 0 / 449.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07501/0.3328, allocations: 15.25 MB / 464.5 MB, free: 6.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3329, allocations: 141.5 kB / 464.7 MB, free: 5.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006666/0.3335, allocations: 0.5262 MB / 465.2 MB, free: 5.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.3337, allocations: 41.7 kB / 465.3 MB, free: 5.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.334, allocations: 400.7 kB / 465.6 MB, free: 4.996 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.3343, allocations: 329.2 kB / 466 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003985/0.3347, allocations: 190.5 kB / 466.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.3349, allocations: 382.8 kB / 466.5 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.337, allocations: 0.7785 MB / 467.3 MB, free: 3.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.3393, allocations: 1.088 MB / 468.4 MB, free: 2.098 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004193/0.3435, allocations: 1.697 MB / 470.1 MB, free: 316 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3435, allocations: 4 kB / 470.1 MB, free: 312 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02607/0.3696, allocations: 5.405 MB / 475.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.3696, allocations: 63.41 kB / 475.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3696, allocations: 11.98 kB / 475.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03776/0.4074, allocations: 6.821 MB / 482.4 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.4081, allocations: 151.7 kB / 482.5 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/0.4144, allocations: 3.013 MB / 485.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.416, allocations: 179.8 kB / 485.7 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.4162, allocations: 51.97 kB / 485.8 MB, free: 500 kB / 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.0004095/0.4166, allocations: 228.6 kB / 486 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.4167, allocations: 79.48 kB / 486.1 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02394/0.4407, allocations: 5.072 MB / 491.2 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4407, allocations: 3.984 kB / 491.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.4407, allocations: 0 / 491.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4408, allocations: 71.47 kB / 491.2 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.441, allocations: 24.05 kB / 491.3 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.4423, allocations: 171.8 kB / 491.4 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/0.4427, allocations: 148.6 kB / 491.6 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01385/0.4565, allocations: 3.199 MB / 494.8 MB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006393/0.4629, allocations: 2.524 MB / 497.3 MB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00193/0.4648, allocations: 0.644 MB / 497.9 MB, free: 4.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000402/0.4652, allocations: 346.9 kB / 498.3 MB, free: 3.941 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.4652, allocations: 3.938 kB / 498.3 MB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004625/0.4699, allocations: 1.422 MB / 499.7 MB, free: 2.473 MB / 398.1 MB Notification: Performance of SimCode: time 0.002987/0.4729, allocations: 2.48 MB / 0.4904 GB, free: 15.94 MB / 414.1 MB Notification: Performance of Templates: time 0.03247/0.5053, allocations: 22.38 MB / 0.5123 GB, free: 9.695 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/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.303145978003158]