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.001387/0.001387, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000886/0.0008859, allocations: 86.7 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.059e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09294, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3323/0.4253, allocations: 76.72 MB / 439.8 MB, free: 2.906 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4255, allocations: 72.7 kB / 439.9 MB, free: 2.867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007057/0.4326, allocations: 2.714 MB / 442.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4326, allocations: 0 / 442.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.4327, allocations: 4 kB / 442.6 MB, free: 0.5742 MB / 314.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.0004393/0.4331, allocations: 409.6 kB / 443 MB, free: 140 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4332, allocations: 8.031 kB / 443 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.4333, allocations: 11.91 kB / 443 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.4335, allocations: 205.2 kB / 443.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4335, allocations: 7.953 kB / 443.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.4335, allocations: 8.766 kB / 443.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/0.4337, allocations: 57.84 kB / 443.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.4339, allocations: 96.06 kB / 443.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4339, allocations: 0 / 443.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.4339, allocations: 4 kB / 443.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4339, allocations: 0 / 443.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.4346, allocations: 0.5737 MB / 443.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.4349, allocations: 82.95 kB / 444 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.4349, allocations: 27.73 kB / 444.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.435, allocations: 0 / 444.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.435, allocations: 30.56 kB / 444.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.435, allocations: 4 kB / 444.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002767/0.4353, allocations: 99.69 kB / 444.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.4353, allocations: 51.41 kB / 444.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4354, allocations: 138.3 kB / 444.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.4354, allocations: 25.7 kB / 444.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.4355, allocations: 126.9 kB / 444.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.4355, allocations: 15.72 kB / 444.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.4355, allocations: 0 / 444.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.4357, allocations: 325.7 kB / 444.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.4357, allocations: 18.69 kB / 444.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.4357, allocations: 35.86 kB / 444.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.4358, allocations: 26.47 kB / 444.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4358, allocations: 0 / 444.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002288/0.436, allocations: 124.4 kB / 445 MB, free: 14.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4361, allocations: 4 kB / 445.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4361, allocations: 12 kB / 445.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.4363, allocations: 35.64 kB / 445.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.4363, allocations: 8 kB / 445.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.4375, allocations: 1.446 MB / 446.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.4376, allocations: 7.531 kB / 446.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4376, allocations: 64 / 446.6 MB, free: 12.56 MB / 330.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 () * 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 8.476e-05/0.4377, allocations: 117.8 kB / 446.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.4377, allocations: 7.906 kB / 446.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.4378, allocations: 15.86 kB / 446.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4378, allocations: 0 / 446.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.4378, allocations: 0 / 446.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4378, allocations: 0 / 446.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.438, allocations: 180.1 kB / 446.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.438, allocations: 3.953 kB / 446.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.438, allocations: 11.98 kB / 446.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.4382, allocations: 35.41 kB / 446.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.4382, allocations: 0 / 446.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.4393, allocations: 1.442 MB / 448.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4393, allocations: 0 / 448.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.4396, allocations: 200 kB / 448.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.4396, allocations: 85.08 kB / 448.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.4396, allocations: 3.984 kB / 448.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4397, allocations: 8 kB / 448.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4398, allocations: 10.94 kB / 448.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.4398, allocations: 4 kB / 448.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.488e-05/0.4399, allocations: 100.3 kB / 448.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4399, allocations: 0 / 448.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003367/0.4402, allocations: 35.91 kB / 448.8 MB, free: 10.27 MB / 330.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 () * 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.0001424/0.4404, allocations: 103.2 kB / 448.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.4407, allocations: 158.3 kB / 449.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4408, allocations: 3.938 kB / 449.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.4409, allocations: 143.1 kB / 449.2 MB, free: 9.871 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.4411, allocations: 15.81 kB / 449.2 MB, free: 9.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.4415, allocations: 156.2 kB / 449.4 MB, free: 9.691 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.4418, allocations: 0.7119 MB / 450.1 MB, free: 8.953 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.4419, allocations: 12.47 kB / 450.1 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.4419, allocations: 7.438 kB / 450.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4419, allocations: 0 / 450.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of Templates: time 0.003543/0.4454, allocations: 1.238 MB / 451.3 MB, free: 7.711 MB / 330.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