Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000923/0.0009229, allocations: 178.1 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007677/0.000768, allocations: 94.36 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002373, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2621, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002323/0.2645, allocations: 1.799 MB / 378.4 MB, free: 44.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008785/0.2654, allocations: 0.5464 MB / 378.9 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.2655, allocations: 3.312 kB / 378.9 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.705e-05/0.2656, allocations: 21 kB / 379 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.238e-05/0.2657, allocations: 37.44 kB / 379 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.2659, allocations: 33.56 kB / 379 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.2661, allocations: 148 kB / 379.2 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.2662, allocations: 50.42 kB / 379.2 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2664, allocations: 56 kB / 379.3 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.2665, allocations: 51.06 kB / 379.3 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.2665, allocations: 11.25 kB / 379.3 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.2666, allocations: 12.64 kB / 379.4 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.2666, allocations: 27.98 kB / 379.4 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.2667, allocations: 91.92 kB / 379.5 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.2669, allocations: 153.5 kB / 379.6 MB, free: 43.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2669, allocations: 1.062 kB / 379.6 MB, free: 43.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2669, allocations: 0 / 379.6 MB, free: 43.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2669, allocations: 0 / 379.6 MB, free: 43.21 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.0005432/0.2675, allocations: 420.7 kB / 380 MB, free: 42.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.2675, allocations: 8.812 kB / 380 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2677, allocations: 21.61 kB / 380.1 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.2679, allocations: 203.7 kB / 380.3 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2679, allocations: 9.953 kB / 380.3 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2679, allocations: 8 kB / 380.3 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.2681, allocations: 122.1 kB / 380.4 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2682, allocations: 4 kB / 380.4 MB, free: 42.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2682, allocations: 5.188 kB / 380.4 MB, free: 42.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.2682, allocations: 7.562 kB / 380.4 MB, free: 42.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.2684, allocations: 81.16 kB / 380.5 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.2691, allocations: 0.6183 MB / 381.1 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.2694, allocations: 82.38 kB / 381.2 MB, free: 41.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.2695, allocations: 41.16 kB / 381.2 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.2696, allocations: 1.312 kB / 381.2 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2696, allocations: 31.62 kB / 381.3 MB, free: 41.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.2696, allocations: 3.938 kB / 381.3 MB, free: 41.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006713/0.2703, allocations: 257 kB / 381.5 MB, free: 41.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.2703, allocations: 60.5 kB / 381.6 MB, free: 41.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2704, allocations: 149.5 kB / 381.7 MB, free: 41.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.2704, allocations: 30.89 kB / 381.8 MB, free: 41.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.2705, allocations: 122.6 kB / 381.9 MB, free: 41.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.2705, allocations: 19.05 kB / 381.9 MB, free: 41.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.2705, allocations: 4 kB / 381.9 MB, free: 41.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.2706, allocations: 317.1 kB / 382.2 MB, free: 40.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.2707, allocations: 21.33 kB / 382.2 MB, free: 40.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/0.2708, allocations: 46.94 kB / 382.3 MB, free: 40.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2709, allocations: 77.17 kB / 382.4 MB, free: 40.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2709, allocations: 1.125 kB / 382.4 MB, free: 40.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002645/0.2712, allocations: 145.9 kB / 382.5 MB, free: 40.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2712, allocations: 7.938 kB / 382.5 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2712, allocations: 1.156 kB / 382.5 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.2714, allocations: 42.48 kB / 382.5 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.2715, allocations: 7.594 kB / 382.6 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.2727, allocations: 1.525 MB / 384.1 MB, free: 39.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.2728, allocations: 16.25 kB / 384.1 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2728, allocations: 10.91 kB / 384.1 MB, free: 39.06 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 (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 0.0001049/0.273, allocations: 119.2 kB / 384.2 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.273, allocations: 8.969 kB / 384.2 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.273, allocations: 11.25 kB / 384.2 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.273, allocations: 5.344 kB / 384.2 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.273, allocations: 4 kB / 384.3 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.273, allocations: 0 / 384.3 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.2732, allocations: 206.9 kB / 384.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.2732, allocations: 1.188 kB / 384.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.2733, allocations: 10.83 kB / 384.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.2734, allocations: 30.38 kB / 384.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2734, allocations: 4 kB / 384.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009096/0.2743, allocations: 1.505 MB / 386 MB, free: 37.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2744, allocations: 4.062 kB / 386 MB, free: 37.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.2746, allocations: 221.1 kB / 386.2 MB, free: 36.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.2747, allocations: 90.44 kB / 386.3 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2747, allocations: 9.438 kB / 386.3 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-05/0.2748, allocations: 9.938 kB / 386.3 MB, free: 36.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.2748, allocations: 9.828 kB / 386.3 MB, free: 36.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.2748, allocations: 1.938 kB / 386.3 MB, free: 36.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.926e-05/0.2749, allocations: 109.8 kB / 386.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2749, allocations: 0 / 386.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.2752, allocations: 36.08 kB / 386.5 MB, free: 36.75 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 (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.0001158/0.2754, allocations: 110.5 kB / 386.6 MB, free: 36.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.2757, allocations: 192.2 kB / 386.8 MB, free: 36.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2758, allocations: 0 / 386.8 MB, free: 36.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.2759, allocations: 159.9 kB / 386.9 MB, free: 36.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2762, allocations: 13.48 kB / 387 MB, free: 36.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.2767, allocations: 361.8 kB / 387.3 MB, free: 36.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.2769, allocations: 0.714 MB / 388 MB, free: 35.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.277, allocations: 11.62 kB / 388 MB, free: 35.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.277, allocations: 13.47 kB / 388 MB, free: 35.34 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.277, allocations: 1.062 kB / 388 MB, free: 35.34 MB / 298.7 MB Notification: Performance of Templates: time 0.003872/0.2809, allocations: 1.353 MB / 389.4 MB, free: 34.65 MB / 298.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