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.001101/0.001101, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.001246/0.001246, allocations: 161.1 kB / 25.69 MB, free: 8.477 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 0.8965/0.8965, allocations: 158.6 MB / 187.6 MB, free: 2.785 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 1.773e-06/1.773e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.709e-05, allocations: 6.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003757/0.003784, allocations: 2.16 MB / 253.7 MB, free: 5.082 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.004828, allocations: 0.5033 MB / 254.2 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.00493, allocations: 4 kB / 254.2 MB, free: 4.566 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.005062, allocations: 23.72 kB / 254.2 MB, free: 4.543 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.005179, allocations: 51.55 kB / 254.3 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.00543, allocations: 43.94 kB / 254.3 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.005642, allocations: 159.1 kB / 254.5 MB, free: 4.293 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.005776, allocations: 42.3 kB / 254.5 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.00597, allocations: 95.73 kB / 254.6 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.00608, allocations: 47.83 kB / 254.7 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.006108, allocations: 12 kB / 254.7 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-05/0.006173, allocations: 19.98 kB / 254.7 MB, free: 4.078 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.006208, allocations: 31.91 kB / 254.7 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.006263, allocations: 51.86 kB / 254.8 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.006471, allocations: 111.6 kB / 254.9 MB, free: 3.887 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.006474, allocations: 0 / 254.9 MB, free: 3.887 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006475, allocations: 0 / 254.9 MB, free: 3.887 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.006479, allocations: 4 kB / 254.9 MB, free: 3.883 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.000489/0.006968, allocations: 340.5 kB / 255.2 MB, free: 3.527 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.007006, allocations: 11.98 kB / 255.2 MB, free: 3.516 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.007129, allocations: 24.92 kB / 255.2 MB, free: 3.492 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.007301, allocations: 137.5 kB / 255.4 MB, free: 3.332 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.007317, allocations: 12.61 kB / 255.4 MB, free: 3.32 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.007337, allocations: 12.38 kB / 255.4 MB, free: 3.309 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.007539, allocations: 134.4 kB / 255.5 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.00755, allocations: 4.188 kB / 255.5 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.007562, allocations: 384 / 255.5 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.007572, allocations: 7.938 kB / 255.5 MB, free: 3.152 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.007631, allocations: 24.69 kB / 255.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.008175, allocations: 354.5 kB / 255.9 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.008363, allocations: 58.5 kB / 256 MB, free: 2.688 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.008394, allocations: 20.97 kB / 256 MB, free: 2.664 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.008407, allocations: 3.938 kB / 256 MB, free: 2.66 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.008433, allocations: 34.56 kB / 256 MB, free: 2.617 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.008434, allocations: 0 / 256 MB, free: 2.617 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003888/0.008823, allocations: 130.3 kB / 256.2 MB, free: 2.48 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.008848, allocations: 51.41 kB / 256.2 MB, free: 2.418 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.008946, allocations: 146.6 kB / 256.4 MB, free: 2.262 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.008958, allocations: 25.7 kB / 256.4 MB, free: 2.23 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.009013, allocations: 120.1 kB / 256.5 MB, free: 2.109 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.00903, allocations: 23.78 kB / 256.5 MB, free: 2.086 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.009072, allocations: 25.7 kB / 256.5 MB, free: 2.055 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.009158, allocations: 322.8 kB / 256.9 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.009177, allocations: 12 kB / 256.9 MB, free: 1.719 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.009209, allocations: 30.5 kB / 256.9 MB, free: 1.68 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.051e-05/0.00927, allocations: 42.55 kB / 256.9 MB, free: 1.629 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009272, allocations: 0 / 256.9 MB, free: 1.629 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001649/0.009437, allocations: 86.38 kB / 257 MB, free: 1.535 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.00945, allocations: 8 kB / 257 MB, free: 1.527 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.009455, allocations: 0 / 257 MB, free: 1.527 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.00961, allocations: 36.84 kB / 257.1 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.611e-05/0.009656, allocations: 11.98 kB / 257.1 MB, free: 1.477 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.01086, allocations: 1.403 MB / 258.5 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.01092, allocations: 11.88 kB / 258.5 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.01093, allocations: 3.984 kB / 258.5 MB, free: 15.97 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.452e-05/0.01102, allocations: 117.8 kB / 258.6 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.01106, allocations: 8.031 kB / 258.6 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.01108, allocations: 16.77 kB / 258.6 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01108, allocations: 0 / 258.6 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.01109, allocations: 0 / 258.6 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.01109, allocations: 0 / 258.6 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.01126, allocations: 97.72 kB / 258.7 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01126, allocations: 7.984 kB / 258.7 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.01129, allocations: 0 / 258.7 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.0114, allocations: 24.84 kB / 258.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.01141, allocations: 4 kB / 258.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009145/0.01233, allocations: 1.41 MB / 260.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01233, allocations: 3.938 kB / 260.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.0125, allocations: 176.2 kB / 260.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.01251, allocations: 7.953 kB / 260.4 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.01252, allocations: 0 / 260.4 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.0126, allocations: 4 kB / 260.4 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.01263, allocations: 11.98 kB / 260.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.01264, allocations: 3.938 kB / 260.4 MB, free: 13.95 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.702e-05/0.01268, allocations: 28.83 kB / 260.4 MB, free: 13.92 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01268, allocations: 4.031 kB / 260.4 MB, free: 13.92 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.01304, allocations: 43.89 kB / 260.5 MB, free: 13.88 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 0.0001044/0.01314, allocations: 76.41 kB / 260.5 MB, free: 13.79 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.01341, allocations: 166.2 kB / 260.7 MB, free: 13.61 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.01341, allocations: 0 / 260.7 MB, free: 13.61 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.01362, allocations: 159.3 kB / 260.9 MB, free: 13.44 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.01382, allocations: 20.28 kB / 260.9 MB, free: 13.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.01456, allocations: 266.3 kB / 261.1 MB, free: 13.14 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.091e-05/0.01461, allocations: 71.27 kB / 261.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.088e-05/0.01465, allocations: 12.53 kB / 261.2 MB, free: 13.04 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.01471, allocations: 67.3 kB / 261.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01471, allocations: 0 / 261.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of Templates: time 0.004371/0.01909, allocations: 1.549 MB / 262.8 MB, free: 11.43 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: 2.6661765151657164]