Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001997/0.00326, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002473, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8775/0.8775, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2155/1.093, allocations: 52.48 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.802e-05, allocations: 3.531 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006592/0.00662, allocations: 4.827 MB / 244.6 MB, free: 1.512 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.01016, allocations: 1.306 MB / 245.9 MB, free: 208 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.01057, allocations: 13 kB / 245.9 MB, free: 196 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.01086, allocations: 122.7 kB / 246 MB, free: 72 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006316/0.0115, allocations: 277.2 kB / 246.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008091/0.0123, allocations: 317.2 kB / 246.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.01371, allocations: 1.128 MB / 247.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003089/0.01401, allocations: 192.9 kB / 247.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007588/0.01477, allocations: 0.685 MB / 248.6 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.01518, allocations: 370.9 kB / 249 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.01529, allocations: 92.66 kB / 249.1 MB, free: 13.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.01548, allocations: 119.9 kB / 249.2 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.01557, allocations: 144.2 kB / 249.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.01578, allocations: 255.5 kB / 249.6 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.01637, allocations: 0.6442 MB / 250.2 MB, free: 11.86 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.01638, allocations: 0 / 250.2 MB, free: 11.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01638, allocations: 3.938 kB / 250.2 MB, free: 11.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.0164, allocations: 0 / 250.2 MB, free: 11.86 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.001482/0.01788, allocations: 1.324 MB / 251.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.01792, allocations: 12.03 kB / 251.6 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.01806, allocations: 113.8 kB / 251.7 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.01847, allocations: 346.2 kB / 252 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.0185, allocations: 50.19 kB / 252.1 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.01858, allocations: 65.19 kB / 252.1 MB, free: 9.898 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.01915, allocations: 0.568 MB / 252.7 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.01917, allocations: 192 / 252.7 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.0192, allocations: 28.38 kB / 252.7 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.01922, allocations: 19.94 kB / 252.7 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.01951, allocations: 218.3 kB / 252.9 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.02144, allocations: 1.469 MB / 254.4 MB, free: 7.496 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.0218, allocations: 268.3 kB / 254.7 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.02192, allocations: 114.3 kB / 254.8 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.02196, allocations: 12.5 kB / 254.8 MB, free: 7.102 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.02229, allocations: 398.9 kB / 255.2 MB, free: 6.656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 1.382e-06/0.02229, allocations: 4 kB / 255.2 MB, free: 6.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=94): time 0.02575/0.04804, allocations: 11.04 MB / 266.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.04809, allocations: 64.41 kB / 266.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.04843, allocations: 482.9 kB / 266.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.646e-05/0.04851, allocations: 49.69 kB / 266.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.04869, allocations: 333.9 kB / 267.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.04891, allocations: 325.2 kB / 267.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.04914, allocations: 190.4 kB / 267.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.04928, allocations: 398.6 kB / 268 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.04956, allocations: 241.6 kB / 268.3 MB, free: 9.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.04997, allocations: 0.5458 MB / 268.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007411/0.05071, allocations: 0.7752 MB / 269.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.05072, allocations: 0 / 269.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.007174/0.05789, allocations: 3.109 MB / 272.7 MB, free: 4.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/0.05796, allocations: 63.39 kB / 272.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.05798, allocations: 8 kB / 272.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01206/0.07004, allocations: 5.123 MB / 277.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.07035, allocations: 131.8 kB / 278 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00858/0.07893, allocations: 5.327 MB / 283.3 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006047/0.07953, allocations: 115.9 kB / 283.5 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.07959, allocations: 39.97 kB / 283.5 MB, free: 9.805 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.000245/0.07984, allocations: 177.6 kB / 283.7 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.07996, allocations: 75.94 kB / 283.7 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006391/0.08635, allocations: 2.837 MB / 286.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.08636, allocations: 12 kB / 286.6 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.08636, allocations: 4 kB / 286.6 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.08637, allocations: 3.984 kB / 286.6 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.08693, allocations: 0.5238 MB / 287.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.08694, allocations: 4 kB / 287.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.08712, allocations: 66 kB / 287.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.08718, allocations: 67.42 kB / 287.3 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01164/0.09883, allocations: 5.088 MB / 292.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.09888, allocations: 23.97 kB / 292.4 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008212/0.1071, allocations: 5.285 MB / 297.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1071, allocations: 0 / 297.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006685/0.1138, allocations: 3.039 MB / 300.7 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.1139, allocations: 20.06 kB / 300.7 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.1143, allocations: 115.9 kB / 300.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.1145, allocations: 116.8 kB / 300.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.1146, allocations: 15.98 kB / 301 MB, free: 8.137 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1148, allocations: 216.3 kB / 301.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1148, allocations: 0 / 301.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008142/0.1156, allocations: 352 kB / 301.5 MB, free: 7.578 MB / 298.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.0002/0.1158, allocations: 124.3 kB / 301.6 MB, free: 7.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.1175, allocations: 1.298 MB / 302.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.939e-05/0.1175, allocations: 18.62 kB / 303 MB, free: 6.082 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.1187, allocations: 0.8397 MB / 303.8 MB, free: 5.227 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/0.1195, allocations: 1.271 MB / 305.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.1239, allocations: 1.494 MB / 306.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.124, allocations: 176.7 kB / 306.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.1242, allocations: 62.22 kB / 306.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.1245, allocations: 173.2 kB / 307 MB, free: 1.762 MB / 298.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1245, allocations: 0 / 307 MB, free: 1.762 MB / 298.7 MB Notification: Performance of Templates: time 0.1318/0.2563, allocations: 29.6 MB / 336.6 MB, free: 71.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3491892106831074]