Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00218/0.00218, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001099/0.001099, allocations: 82.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/4.008e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.09386, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.4842, allocations: 77.15 MB / 446.2 MB, free: 28 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4846, allocations: 64.95 kB / 446.3 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.4957, allocations: 2.756 MB / 449 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4958, allocations: 0 / 449 MB, free: 13.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4958, allocations: 0 / 449 MB, free: 13.62 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.0006624/0.4965, allocations: 401.2 kB / 449.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4966, allocations: 12.03 kB / 449.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.4967, allocations: 11.91 kB / 449.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.497, allocations: 200.2 kB / 449.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.497, allocations: 18.38 kB / 449.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.497, allocations: 11.77 kB / 449.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.4973, allocations: 109.8 kB / 449.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4974, allocations: 4 kB / 449.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.4974, allocations: 7.562 kB / 449.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4974, allocations: 0 / 449.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.4976, allocations: 67.83 kB / 449.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.4988, allocations: 0.6133 MB / 450.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.4992, allocations: 82.19 kB / 450.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.4993, allocations: 26.61 kB / 450.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4993, allocations: 4 kB / 450.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.4993, allocations: 37.88 kB / 450.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.4994, allocations: 0 / 450.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004213/0.4998, allocations: 103.4 kB / 450.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.4998, allocations: 59.3 kB / 450.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.5, allocations: 138.3 kB / 450.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.5001, allocations: 25.7 kB / 451 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.5002, allocations: 196.6 kB / 451.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.5002, allocations: 18.84 kB / 451.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.5003, allocations: 3.125 kB / 451.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5004, allocations: 310.8 kB / 451.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.5005, allocations: 18.5 kB / 451.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.183e-05/0.5006, allocations: 44.06 kB / 451.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.666e-05/0.5006, allocations: 18.44 kB / 451.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5007, allocations: 0 / 451.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003618/0.501, allocations: 120.3 kB / 451.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5011, allocations: 8.188 kB / 451.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5011, allocations: 0 / 451.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.5013, allocations: 50.77 kB / 451.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.5015, allocations: 8 kB / 451.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.5033, allocations: 1.511 MB / 453.2 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.5035, allocations: 4 kB / 453.2 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.5035, allocations: 7.953 kB / 453.3 MB, free: 9.402 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 9.817e-05/0.5036, allocations: 121 kB / 453.4 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.5037, allocations: 7.906 kB / 453.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.5037, allocations: 15.5 kB / 453.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.5037, allocations: 0 / 453.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.5038, allocations: 0 / 453.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5038, allocations: 0 / 453.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.5041, allocations: 218.7 kB / 453.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5041, allocations: 0 / 453.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.5042, allocations: 7.984 kB / 453.6 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.5044, allocations: 39.75 kB / 453.7 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5044, allocations: 0 / 453.7 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.5061, allocations: 1.501 MB / 455.2 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.5062, allocations: 7.953 kB / 455.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.5066, allocations: 199.2 kB / 455.4 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.5066, allocations: 100.7 kB / 455.5 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.5067, allocations: 0 / 455.5 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.5068, allocations: 8.062 kB / 455.5 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.5069, allocations: 7.984 kB / 455.5 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.5069, allocations: 0 / 455.5 MB, free: 7.117 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.5071, allocations: 110.7 kB / 455.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5071, allocations: 0 / 455.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004631/0.5075, allocations: 39.66 kB / 455.6 MB, free: 6.984 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.0001401/0.5077, allocations: 99.23 kB / 455.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004512/0.5082, allocations: 181.7 kB / 455.9 MB, free: 6.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.5082, allocations: 0 / 455.9 MB, free: 6.707 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.5085, allocations: 149.1 kB / 456 MB, free: 6.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.5087, allocations: 23.09 kB / 456.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.5092, allocations: 184.8 kB / 456.2 MB, free: 6.352 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.5096, allocations: 0.716 MB / 457 MB, free: 5.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.5096, allocations: 7.438 kB / 457 MB, free: 5.605 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.5096, allocations: 0 / 457 MB, free: 5.605 MB / 330.7 MB Notification: Performance of Templates: time 0.004793/0.5144, allocations: 1.838 MB / 458.8 MB, free: 3.785 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches