Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.0008874/0.0008874, allocations: 80.39 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001037/0.001037, allocations: 168.3 kB / 25.61 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.131/1.131, allocations: 158.6 MB / 187.5 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.497e-06/3.497e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.267e-05/4.617e-05, allocations: 6.312 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003314/0.00336, allocations: 2.148 MB / 253.6 MB, free: 5.082 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009139/0.004274, allocations: 0.4995 MB / 254.1 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.004381, allocations: 4 kB / 254.1 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.004502, allocations: 15.8 kB / 254.1 MB, free: 4.555 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.338e-05/0.004596, allocations: 55.56 kB / 254.2 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.004855, allocations: 39.88 kB / 254.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.005045, allocations: 163.1 kB / 254.4 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.005202, allocations: 41.59 kB / 254.4 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.005357, allocations: 87.8 kB / 254.5 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.005457, allocations: 51.81 kB / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.005485, allocations: 16 kB / 254.6 MB, free: 4.105 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.849e-05/0.005553, allocations: 19.98 kB / 254.6 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.005582, allocations: 27.92 kB / 254.6 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.005625, allocations: 51.84 kB / 254.7 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.005817, allocations: 107.6 kB / 254.8 MB, free: 3.902 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.00582, allocations: 3.938 kB / 254.8 MB, free: 3.898 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.005822, allocations: 4 kB / 254.8 MB, free: 3.895 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.005827, allocations: 0 / 254.8 MB, free: 3.895 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005197/0.006347, allocations: 464.2 kB / 255.2 MB, free: 3.406 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.006397, allocations: 11.98 kB / 255.3 MB, free: 3.395 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.006522, allocations: 28.84 kB / 255.3 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.006718, allocations: 156.4 kB / 255.4 MB, free: 3.188 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.006733, allocations: 12.61 kB / 255.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.006749, allocations: 16.31 kB / 255.5 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.006919, allocations: 122.5 kB / 255.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006929, allocations: 4.172 kB / 255.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.00694, allocations: 4.375 kB / 255.6 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.006948, allocations: 7.938 kB / 255.6 MB, free: 3.012 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.006996, allocations: 28.62 kB / 255.6 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.007538, allocations: 458.5 kB / 256.1 MB, free: 2.496 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.007709, allocations: 75.09 kB / 256.2 MB, free: 2.41 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.007735, allocations: 15.69 kB / 256.2 MB, free: 2.391 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.007751, allocations: 4.125 kB / 256.2 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.00778, allocations: 41.38 kB / 256.2 MB, free: 2.336 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.007782, allocations: 0 / 256.2 MB, free: 2.336 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003579/0.00814, allocations: 141.1 kB / 256.3 MB, free: 2.188 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.008167, allocations: 51.41 kB / 256.4 MB, free: 2.125 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.008273, allocations: 197.8 kB / 256.6 MB, free: 1.914 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.008286, allocations: 25.7 kB / 256.6 MB, free: 1.883 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.008367, allocations: 182.8 kB / 256.8 MB, free: 1.699 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.008384, allocations: 23.73 kB / 256.8 MB, free: 1.676 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.00842, allocations: 27.36 kB / 256.8 MB, free: 1.641 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.008557, allocations: 0.5 MB / 257.3 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.008575, allocations: 7.984 kB / 257.4 MB, free: 1.117 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.008609, allocations: 35.05 kB / 257.4 MB, free: 1.07 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.87e-05/0.008668, allocations: 58.98 kB / 257.4 MB, free: 1 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.00867, allocations: 0 / 257.4 MB, free: 1 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001517/0.008822, allocations: 101.2 kB / 257.5 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.008835, allocations: 4 kB / 257.5 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.008841, allocations: 0 / 257.5 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.008974, allocations: 39.67 kB / 257.6 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.009016, allocations: 15.92 kB / 257.6 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.01022, allocations: 2.063 MB / 259.7 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.01027, allocations: 7.938 kB / 259.7 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.01028, allocations: 4 kB / 259.7 MB, free: 14.65 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/0.01037, allocations: 164.5 kB / 259.8 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.01039, allocations: 11.95 kB / 259.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.515e-05/0.01041, allocations: 8.781 kB / 259.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.01041, allocations: 4 kB / 259.9 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01041, allocations: 0 / 259.9 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01042, allocations: 0 / 259.9 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.01054, allocations: 129.2 kB / 260 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01055, allocations: 0 / 260 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.01056, allocations: 0 / 260 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.745e-05/0.01066, allocations: 43.58 kB / 260 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.01066, allocations: 0 / 260 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.01173, allocations: 2.06 MB / 262.1 MB, free: 12.08 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01173, allocations: 0 / 262.1 MB, free: 12.08 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.0119, allocations: 239.4 kB / 262.3 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.01191, allocations: 11.95 kB / 262.3 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-06/0.01191, allocations: 0 / 262.3 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.01199, allocations: 4 kB / 262.3 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.01203, allocations: 7.984 kB / 262.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01203, allocations: 0 / 262.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.898e-05/0.01209, allocations: 155.1 kB / 262.5 MB, free: 11.65 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01209, allocations: 4 kB / 262.5 MB, free: 11.64 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.01231, allocations: 35.94 kB / 262.5 MB, free: 11.61 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 8.707e-05/0.0124, allocations: 95.25 kB / 262.6 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.01268, allocations: 232.2 kB / 262.9 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01268, allocations: 0 / 262.9 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.0128, allocations: 201.6 kB / 263.1 MB, free: 11.04 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.013, allocations: 29.8 kB / 263.1 MB, free: 11.01 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.01358, allocations: 290.2 kB / 263.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.581e-05/0.01362, allocations: 75.33 kB / 263.4 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.977e-05/0.01365, allocations: 4.531 kB / 263.4 MB, free: 10.6 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.01371, allocations: 82.19 kB / 263.5 MB, free: 10.52 MB / 250.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01371, allocations: 0 / 263.5 MB, free: 10.52 MB / 250.7 MB Notification: Performance of Templates: time 0.003607/0.01732, allocations: 1.565 MB / 265.1 MB, free: 8.961 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.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.042072688229382]