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.001086/0.001086, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001675/0.002761, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001139/0.001139, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002795, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08657/1.101, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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 1.333e-06/1.333e-06, allocations: 0 / 244.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.751e-05, allocations: 6.25 kB / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004179/0.004207, allocations: 4.851 MB / 249.4 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.006101, allocations: 1.33 MB / 250.7 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.006356, allocations: 15.94 kB / 250.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.006542, allocations: 122.7 kB / 250.9 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.006894, allocations: 277.5 kB / 251.1 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.007364, allocations: 307.4 kB / 251.4 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008701/0.008234, allocations: 1.126 MB / 252.6 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.008463, allocations: 189 kB / 252.8 MB, free: 6.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005646/0.009027, allocations: 0.6967 MB / 253.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.009349, allocations: 370.9 kB / 253.8 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.657e-05/0.009445, allocations: 92 kB / 253.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.00961, allocations: 115.9 kB / 254 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.009707, allocations: 143.5 kB / 254.2 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.009903, allocations: 259.5 kB / 254.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.01044, allocations: 0.6306 MB / 255 MB, free: 3.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.476e-05/0.01045, allocations: 3.938 kB / 255 MB, free: 3.719 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01045, allocations: 0 / 255 MB, free: 3.719 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.01047, allocations: 0 / 255 MB, free: 3.719 MB / 250.7 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.001394/0.01186, allocations: 1.337 MB / 256.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.01189, allocations: 8.031 kB / 256.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.01201, allocations: 116.8 kB / 256.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.01249, allocations: 341.5 kB / 256.8 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.01253, allocations: 49.69 kB / 256.9 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.01263, allocations: 68.36 kB / 256.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.01332, allocations: 0.5664 MB / 257.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.01334, allocations: 4.188 kB / 257.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.01338, allocations: 28.38 kB / 257.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.0134, allocations: 19.94 kB / 257.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.01379, allocations: 218.2 kB / 257.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.01624, allocations: 1.465 MB / 259.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.01666, allocations: 267.1 kB / 259.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.01681, allocations: 114.2 kB / 259.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.01685, allocations: 16.48 kB / 259.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.01724, allocations: 398.9 kB / 260 MB, free: 14.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.963e-06/0.01724, allocations: 0 / 260 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.03113/0.04837, allocations: 10.77 MB / 270.8 MB, free: 3.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.04841, allocations: 68.41 kB / 270.9 MB, free: 3.582 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.04883, allocations: 482.9 kB / 271.3 MB, free: 3.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/0.04891, allocations: 45.7 kB / 271.4 MB, free: 3.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.04909, allocations: 341.9 kB / 271.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.04931, allocations: 325.1 kB / 272 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.04958, allocations: 178.5 kB / 272.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.04971, allocations: 406.5 kB / 272.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.05006, allocations: 237.7 kB / 272.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.05055, allocations: 0.5536 MB / 273.4 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.05161, allocations: 0.7518 MB / 274.1 MB, free: 40 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.05162, allocations: 0 / 274.1 MB, free: 40 kB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00869/0.06031, allocations: 3.109 MB / 277.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.597e-05/0.06037, allocations: 67.41 kB / 277.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.06038, allocations: 4 kB / 277.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01536/0.07574, allocations: 5.044 MB / 282.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.07608, allocations: 131.8 kB / 282.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008063/0.08414, allocations: 5.331 MB / 287.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/0.08511, allocations: 119.9 kB / 287.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.08517, allocations: 39.97 kB / 288 MB, free: 2.008 MB / 282.7 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): 1 system {(5,32,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.08539, allocations: 165.7 kB / 288.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.08551, allocations: 83.92 kB / 288.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1138/0.1993, allocations: 2.825 MB / 291 MB, free: 35.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.1994, allocations: 13.39 kB / 291.1 MB, free: 35.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.1994, allocations: 7.406 kB / 291.1 MB, free: 35.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.1994, allocations: 5.016 kB / 291.1 MB, free: 35.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007848/0.2002, allocations: 0.513 MB / 291.6 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/0.2002, allocations: 0 / 291.6 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.2005, allocations: 70.94 kB / 291.7 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.2006, allocations: 72.44 kB / 291.7 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01274/0.2133, allocations: 4.986 MB / 296.7 MB, free: 35.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.2134, allocations: 20.39 kB / 296.7 MB, free: 35.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007797/0.2212, allocations: 5.295 MB / 302 MB, free: 33.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2212, allocations: 0 / 302 MB, free: 33.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005958/0.2272, allocations: 3.012 MB / 305 MB, free: 33.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.2273, allocations: 23.03 kB / 305.1 MB, free: 33.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.2278, allocations: 119.9 kB / 305.2 MB, free: 33.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.228, allocations: 106.6 kB / 305.3 MB, free: 33.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.228, allocations: 26.09 kB / 305.3 MB, free: 33.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.2282, allocations: 208.2 kB / 305.5 MB, free: 33.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2282, allocations: 0 / 305.5 MB, free: 33.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007329/0.2289, allocations: 365.4 kB / 305.9 MB, free: 33.08 MB / 282.7 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): 1 system {(5,32,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001752/0.2291, allocations: 110.1 kB / 306 MB, free: 33.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.2305, allocations: 1.301 MB / 307.3 MB, free: 32.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.339e-05/0.2306, allocations: 22.36 kB / 307.3 MB, free: 32.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009193/0.2315, allocations: 0.8047 MB / 308.1 MB, free: 31.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2319, allocations: 216.6 kB / 308.3 MB, free: 31.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.236, allocations: 1.491 MB / 309.8 MB, free: 30.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.2361, allocations: 184.5 kB / 310 MB, free: 29.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.2363, allocations: 58.92 kB / 310 MB, free: 29.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.2365, allocations: 180.4 kB / 310.2 MB, free: 29.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2365, allocations: 0 / 310.2 MB, free: 29.73 MB / 282.7 MB Notification: Performance of Templates: time 0.02499/0.2615, allocations: 30.28 MB / 340.5 MB, free: 15.84 MB / 298.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5815574983134866]