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.001323/0.001323, allocations: 182.3 kB / 18.04 MB, free: 3.758 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.313/1.313, allocations: 205.4 MB / 224.2 MB, free: 9.039 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.0008281/0.0008281, allocations: 81.56 kB / 272.5 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 15.98 kB / 329.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.232, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09104/0.3231, allocations: 77.28 MB / 454.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.3233, allocations: 71.97 kB / 454.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007222/0.3306, allocations: 2.755 MB / 457.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3306, allocations: 0 / 457.1 MB, free: 468 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3306, allocations: 0 / 457.1 MB, free: 468 kB / 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.0005064/0.3311, allocations: 427.3 kB / 457.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3312, allocations: 12.03 kB / 457.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.3313, allocations: 16.59 kB / 457.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.3315, allocations: 204.2 kB / 457.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3315, allocations: 8.609 kB / 457.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.3315, allocations: 8.375 kB / 457.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.3318, allocations: 128 kB / 457.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3318, allocations: 192 / 457.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.3318, allocations: 11.94 kB / 457.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3319, allocations: 0 / 457.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.332, allocations: 88.66 kB / 458 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008633/0.3329, allocations: 0.6027 MB / 458.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.3332, allocations: 90.56 kB / 458.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.3333, allocations: 32.97 kB / 458.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.3333, allocations: 0 / 458.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3334, allocations: 38.56 kB / 458.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.3334, allocations: 7.922 kB / 458.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006838/0.3341, allocations: 263.4 kB / 459 MB, free: 14.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3341, allocations: 51.41 kB / 459.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3342, allocations: 155.2 kB / 459.2 MB, free: 14.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3343, allocations: 25.7 kB / 459.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.3344, allocations: 124 kB / 459.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.3344, allocations: 31.64 kB / 459.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.3344, allocations: 3.938 kB / 459.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3345, allocations: 314.8 kB / 459.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.3346, allocations: 31.92 kB / 459.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.3347, allocations: 42.56 kB / 459.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3348, allocations: 66.56 kB / 459.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3348, allocations: 3.938 kB / 459.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002799/0.3351, allocations: 142.3 kB / 460 MB, free: 13.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3351, allocations: 12 kB / 460 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3352, allocations: 0 / 460 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.3353, allocations: 36.83 kB / 460.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.532e-05/0.3354, allocations: 8 kB / 460.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.3369, allocations: 1.521 MB / 461.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.045e-05/0.337, allocations: 7.906 kB / 461.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.337, allocations: 12.05 kB / 461.6 MB, free: 11.55 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 9.756e-05/0.3371, allocations: 117.8 kB / 461.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.3371, allocations: 7.906 kB / 461.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.3372, allocations: 12.72 kB / 461.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3372, allocations: 0 / 461.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3372, allocations: 4.312 kB / 461.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3372, allocations: 0 / 461.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.3374, allocations: 213.6 kB / 462 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3374, allocations: 4 kB / 462 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.3375, allocations: 12.17 kB / 462 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.3376, allocations: 32.84 kB / 462 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3376, allocations: 7.922 kB / 462 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.3389, allocations: 1.506 MB / 463.5 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3389, allocations: 0 / 463.5 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.3392, allocations: 224.2 kB / 463.7 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.3393, allocations: 85 kB / 463.8 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.3393, allocations: 4 kB / 463.8 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.3394, allocations: 8.125 kB / 463.8 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.3394, allocations: 11.98 kB / 463.8 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3394, allocations: 4 kB / 463.8 MB, free: 9.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.632e-05/0.3395, allocations: 114.2 kB / 464 MB, free: 8.965 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3395, allocations: 0 / 464 MB, free: 8.965 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000318/0.3398, allocations: 39.94 kB / 464 MB, free: 8.926 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.0001046/0.34, allocations: 107.1 kB / 464.1 MB, free: 8.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.3403, allocations: 191.2 kB / 464.3 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3404, allocations: 4 kB / 464.3 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.3406, allocations: 150.7 kB / 464.4 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.3408, allocations: 11.98 kB / 464.4 MB, free: 8.438 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.3413, allocations: 354.2 kB / 464.8 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.3416, allocations: 0.7121 MB / 465.5 MB, free: 7.328 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.502e-05/0.3417, allocations: 4.438 kB / 465.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.3417, allocations: 7.438 kB / 465.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3417, allocations: 0 / 465.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of Templates: time 0.003626/0.3453, allocations: 1.327 MB / 466.8 MB, free: 6 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/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_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches