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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.4 MB / 223.1 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008736/0.0008738, allocations: 100.1 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002754, allocations: 8 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2572, allocations: 47.56 MB / 375.8 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09572/0.353, allocations: 77.23 MB / 453 MB, free: 3.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.3533, allocations: 79.88 kB / 453.1 MB, free: 3.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007624/0.3609, allocations: 2.749 MB / 455.9 MB, free: 0.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3609, allocations: 0 / 455.9 MB, free: 0.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.361, allocations: 4 kB / 455.9 MB, free: 0.5781 MB / 330.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.0005183/0.3615, allocations: 423.1 kB / 456.3 MB, free: 116 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3615, allocations: 12.03 kB / 456.3 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.3617, allocations: 15.81 kB / 456.3 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.3619, allocations: 206.1 kB / 456.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.3619, allocations: 12.19 kB / 456.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3619, allocations: 12 kB / 456.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.3622, allocations: 115.5 kB / 456.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3622, allocations: 4 kB / 456.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.3622, allocations: 8 kB / 456.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3623, allocations: 0 / 456.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.3624, allocations: 84.66 kB / 456.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.3633, allocations: 0.6067 MB / 457.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.3637, allocations: 84.84 kB / 457.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3637, allocations: 4 kB / 457.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3637, allocations: 38.69 kB / 457.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3637, allocations: 0 / 457.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000723/0.3645, allocations: 267.4 kB / 457.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.3645, allocations: 55.36 kB / 457.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3647, allocations: 138.8 kB / 457.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3647, allocations: 25.7 kB / 457.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/0.3648, allocations: 131.9 kB / 458.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.3648, allocations: 15.73 kB / 458.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.3648, allocations: 12 kB / 458.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.365, allocations: 322.8 kB / 458.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.3651, allocations: 23.98 kB / 458.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.044e-05/0.3651, allocations: 42.56 kB / 458.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.287e-05/0.3652, allocations: 35.98 kB / 458.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3652, allocations: 0 / 458.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002838/0.3655, allocations: 142.2 kB / 458.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3656, allocations: 4 kB / 458.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3656, allocations: 0 / 458.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/0.3658, allocations: 45.08 kB / 458.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.3659, allocations: 8 kB / 458.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.3676, allocations: 1.517 MB / 460.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.673e-05/0.3677, allocations: 11.98 kB / 460.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3678, allocations: 4.375 kB / 460.2 MB, free: 11.79 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.3679, allocations: 129.8 kB / 460.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.368, allocations: 7.906 kB / 460.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.368, allocations: 12.72 kB / 460.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.368, allocations: 4 kB / 460.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.368, allocations: 4 kB / 460.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.368, allocations: 3.984 kB / 460.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3683, allocations: 209.6 kB / 460.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3683, allocations: 0 / 460.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.3684, allocations: 4 kB / 460.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.3685, allocations: 40.83 kB / 460.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3685, allocations: 4 kB / 460.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.3699, allocations: 1.514 MB / 462.2 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3699, allocations: 7.984 kB / 462.2 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.3702, allocations: 216.3 kB / 462.4 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.3703, allocations: 89.09 kB / 462.5 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.3703, allocations: 4 kB / 462.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3704, allocations: 15.98 kB / 462.5 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.3705, allocations: 4 kB / 462.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3705, allocations: 0 / 462.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.36e-05/0.3706, allocations: 110 kB / 462.6 MB, free: 9.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3706, allocations: 0 / 462.6 MB, free: 9.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.3709, allocations: 43.84 kB / 462.6 MB, free: 9.156 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001508/0.3711, allocations: 105.4 kB / 462.8 MB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.3715, allocations: 195 kB / 462.9 MB, free: 8.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3715, allocations: 0 / 462.9 MB, free: 8.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.3717, allocations: 154.8 kB / 463.1 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.3719, allocations: 15.95 kB / 463.1 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.3725, allocations: 359.3 kB / 463.5 MB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.3728, allocations: 0.716 MB / 464.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.409e-05/0.3728, allocations: 4.375 kB / 464.2 MB, free: 7.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.3728, allocations: 15.42 kB / 464.2 MB, free: 7.527 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3728, allocations: 0 / 464.2 MB, free: 7.527 MB / 346.7 MB Notification: Performance of Templates: time 0.003661/0.3765, allocations: 1.303 MB / 465.5 MB, free: 6.234 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches