Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_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.0009475/0.0009475, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002213, 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.0006913/0.0006913, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009377/0.001629, 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 0.9508/0.9508, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08432/1.035, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.483e-05, allocations: 6.25 kB / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004103/0.004118, allocations: 4.863 MB / 249.4 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.006151, allocations: 1.326 MB / 250.7 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002539/0.006404, allocations: 15.94 kB / 250.8 MB, free: 8.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.006581, allocations: 126.7 kB / 250.9 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.006911, allocations: 281.4 kB / 251.2 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.007389, allocations: 315.4 kB / 251.5 MB, free: 7.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.008397, allocations: 1.118 MB / 252.6 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.008623, allocations: 185 kB / 252.8 MB, free: 6.023 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006197/0.009243, allocations: 0.6967 MB / 253.5 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.009569, allocations: 367 kB / 253.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.664e-05/0.009655, allocations: 92 kB / 253.9 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.00981, allocations: 115.9 kB / 254 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.009899, allocations: 147.5 kB / 254.2 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.0101, allocations: 259.5 kB / 254.4 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.01059, allocations: 0.6384 MB / 255.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.01061, allocations: 0 / 255.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01061, allocations: 0 / 255.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.01062, allocations: 0 / 255.1 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.001291/0.01191, allocations: 1.325 MB / 256.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.607e-05/0.01194, allocations: 8.031 kB / 256.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.01206, allocations: 120.8 kB / 256.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.01239, allocations: 341.5 kB / 256.8 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.01242, allocations: 49.69 kB / 256.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.01249, allocations: 64.38 kB / 257 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.01298, allocations: 0.5742 MB / 257.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.013, allocations: 192 / 257.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.01304, allocations: 24.38 kB / 257.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.01305, allocations: 19.94 kB / 257.6 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.01333, allocations: 226.3 kB / 257.8 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.01494, allocations: 1.461 MB / 259.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.01526, allocations: 264 kB / 259.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.01561, allocations: 118.3 kB / 259.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.01564, allocations: 8.5 kB / 259.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.01594, allocations: 402.9 kB / 260 MB, free: 14.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.363e-06/0.01594, allocations: 0 / 260 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.02333/0.03927, allocations: 10.79 MB / 270.8 MB, free: 3.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.03931, allocations: 64.41 kB / 270.9 MB, free: 3.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.03959, allocations: 486.9 kB / 271.4 MB, free: 3.086 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.03964, allocations: 41.7 kB / 271.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.03979, allocations: 345.9 kB / 271.7 MB, free: 2.695 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.03996, allocations: 329.1 kB / 272.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.04017, allocations: 174.5 kB / 272.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.04027, allocations: 398.6 kB / 272.6 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.04053, allocations: 237.7 kB / 272.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.04089, allocations: 0.5575 MB / 273.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009213/0.04181, allocations: 0.7557 MB / 274.2 MB, free: 28 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.04182, allocations: 0 / 274.2 MB, free: 28 kB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.1199/0.1618, allocations: 3.103 MB / 277.3 MB, free: 22.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.1618, allocations: 66.3 kB / 277.3 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1618, allocations: 6.688 kB / 277.3 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/0.1738, allocations: 5.07 MB / 282.4 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.1741, allocations: 134.7 kB / 282.5 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007703/0.1818, allocations: 5.455 MB / 288 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.1823, allocations: 125.6 kB / 288.1 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.1823, allocations: 40.56 kB / 288.2 MB, free: 19.41 MB / 266.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,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.1825, allocations: 161.3 kB / 288.3 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.376e-05/0.1826, allocations: 91.69 kB / 288.4 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005673/0.1882, allocations: 2.831 MB / 291.2 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.1883, allocations: 12 kB / 291.2 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1883, allocations: 8 kB / 291.3 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.1883, allocations: 11.97 kB / 291.3 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1887, allocations: 0.5085 MB / 291.8 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1887, allocations: 0 / 291.8 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.1889, allocations: 71.31 kB / 291.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.1889, allocations: 66.91 kB / 291.9 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01067/0.1996, allocations: 5.014 MB / 296.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.1996, allocations: 27.91 kB / 296.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006936/0.2066, allocations: 5.302 MB / 302.3 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.2066, allocations: 256 / 302.3 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00593/0.2125, allocations: 3.02 MB / 305.3 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-05/0.2126, allocations: 27.98 kB / 305.3 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.213, allocations: 115.9 kB / 305.4 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.2132, allocations: 116.7 kB / 305.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.2132, allocations: 19.98 kB / 305.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.2133, allocations: 208.4 kB / 305.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2133, allocations: 4 kB / 305.8 MB, free: 3.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006322/0.2139, allocations: 352 kB / 306.1 MB, free: 2.824 MB / 266.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.0001594/0.2141, allocations: 115.8 kB / 306.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.2157, allocations: 1.376 MB / 307.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.54e-05/0.2157, allocations: 14.62 kB / 307.6 MB, free: 1.297 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008801/0.2166, allocations: 0.8227 MB / 308.4 MB, free: 492 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.217, allocations: 211.3 kB / 308.6 MB, free: 276 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.2214, allocations: 1.484 MB / 310.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.2215, allocations: 189.4 kB / 310.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.2217, allocations: 58.88 kB / 310.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.2219, allocations: 172 kB / 310.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2219, allocations: 0 / 310.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of Templates: time 0.0286/0.2505, allocations: 30.26 MB / 340.8 MB, free: 380 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_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.5005091773346066]