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.00285/0.002857, allocations: 182.2 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.803/3.803, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001809/0.001809, allocations: 100 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006312/0.0006315, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6629, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.004239/0.6673, allocations: 1.735 MB / 376.3 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.669, allocations: 485.2 kB / 376.7 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.6692, allocations: 2.219 kB / 376.7 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.487e-05/0.6693, allocations: 14.33 kB / 376.7 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.6696, allocations: 49.73 kB / 376.8 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.67, allocations: 29.05 kB / 376.8 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.6703, allocations: 104.7 kB / 376.9 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.6706, allocations: 38.38 kB / 377 MB, free: 43.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.6708, allocations: 51.94 kB / 377 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.671, allocations: 55.33 kB / 377.1 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.6711, allocations: 10.22 kB / 377.1 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.6712, allocations: 21.73 kB / 377.1 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.6713, allocations: 20.02 kB / 377.1 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.6714, allocations: 46.33 kB / 377.2 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.6717, allocations: 115 kB / 377.3 MB, free: 43.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6717, allocations: 0 / 377.3 MB, free: 43.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6717, allocations: 3.938 kB / 377.3 MB, free: 43.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.6717, allocations: 0 / 377.3 MB, free: 43.31 MB / 298.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.0009032/0.6727, allocations: 426.2 kB / 377.7 MB, free: 42.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.6727, allocations: 12.48 kB / 377.7 MB, free: 42.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.6729, allocations: 20.58 kB / 377.7 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.6733, allocations: 200.2 kB / 377.9 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.6734, allocations: 16 kB / 377.9 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.6735, allocations: 11.69 kB / 378 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.674, allocations: 117.8 kB / 378.1 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.6741, allocations: 4 kB / 378.1 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.6741, allocations: 9.109 kB / 378.1 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.6741, allocations: 2.969 kB / 378.1 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.6746, allocations: 81.27 kB / 378.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.6763, allocations: 0.6117 MB / 378.8 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/0.677, allocations: 86.66 kB / 378.9 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.6771, allocations: 1.188 kB / 378.9 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.6771, allocations: 35.62 kB / 378.9 MB, free: 41.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 4.368e-06/0.6771, allocations: 0 / 378.9 MB, free: 41.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.001581/0.6787, allocations: 259.9 kB / 379.2 MB, free: 41.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.6788, allocations: 56.48 kB / 379.2 MB, free: 41.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.6791, allocations: 150.1 kB / 379.4 MB, free: 41.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.6791, allocations: 26.73 kB / 379.4 MB, free: 41.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.6793, allocations: 191.9 kB / 379.6 MB, free: 41.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.6793, allocations: 18.98 kB / 379.6 MB, free: 41.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.6793, allocations: 4 kB / 379.6 MB, free: 41.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.6794, allocations: 320 kB / 379.9 MB, free: 40.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.6796, allocations: 17.56 kB / 379.9 MB, free: 40.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.6798, allocations: 46.58 kB / 380 MB, free: 40.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.6801, allocations: 36.53 kB / 380 MB, free: 40.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6801, allocations: 0 / 380 MB, free: 40.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007175/0.6808, allocations: 131.8 kB / 380.1 MB, free: 40.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.6809, allocations: 9.297 kB / 380.1 MB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6809, allocations: 0 / 380.1 MB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003984/0.6813, allocations: 46.83 kB / 380.2 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.6816, allocations: 12.33 kB / 380.2 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.6843, allocations: 1.527 MB / 381.7 MB, free: 39.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.6846, allocations: 17.05 kB / 381.7 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.6846, allocations: 2.188 kB / 381.7 MB, free: 39.16 MB / 298.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.0001884/0.6848, allocations: 132 kB / 381.9 MB, free: 39.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.6849, allocations: 13.56 kB / 381.9 MB, free: 39.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.685, allocations: 10.22 kB / 381.9 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.685, allocations: 1.438 kB / 381.9 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.685, allocations: 0 / 381.9 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6851, allocations: 0 / 381.9 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.6855, allocations: 210.7 kB / 382.1 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6856, allocations: 1.281 kB / 382.1 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.6857, allocations: 7.516 kB / 382.1 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000321/0.686, allocations: 37.53 kB / 382.1 MB, free: 38.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.6861, allocations: 1.406 kB / 382.1 MB, free: 38.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.6885, allocations: 1.521 MB / 383.7 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6886, allocations: 1.062 kB / 383.7 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/0.6893, allocations: 216.1 kB / 383.9 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.6895, allocations: 95.59 kB / 384 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.6895, allocations: 1.25 kB / 384 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.6898, allocations: 9.531 kB / 384 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.6899, allocations: 10.67 kB / 384 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.69, allocations: 1.375 kB / 384 MB, free: 36.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.6901, allocations: 112.1 kB / 384.1 MB, free: 36.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.6902, allocations: 0 / 384.1 MB, free: 36.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009074/0.6911, allocations: 39.25 kB / 384.1 MB, free: 36.83 MB / 298.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.0001883/0.6913, allocations: 100.3 kB / 384.2 MB, free: 36.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000833/0.6922, allocations: 183.5 kB / 384.4 MB, free: 36.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6922, allocations: 0 / 384.4 MB, free: 36.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.6927, allocations: 168.8 kB / 384.6 MB, free: 36.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.6932, allocations: 16.89 kB / 384.6 MB, free: 36.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.6943, allocations: 376.7 kB / 385 MB, free: 36.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.6946, allocations: 0.7163 MB / 385.7 MB, free: 35.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.6947, allocations: 9.75 kB / 385.7 MB, free: 35.41 MB / 298.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6948, allocations: 4.812 kB / 385.7 MB, free: 35.4 MB / 298.7 MB Notification: Performance of Templates: time 0.007933/0.7027, allocations: 1.829 MB / 387.5 MB, free: 34.48 MB / 298.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