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.002249/0.002249, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.698/4.698, allocations: 205.4 MB / 223.6 MB, free: 9.047 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.001188/0.001189, allocations: 89.42 kB / 271.9 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000566/0.0005665, allocations: 15.94 kB / 328.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8025/0.8031, allocations: 47.56 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/1.011, allocations: 77.28 MB / 453 MB, free: 3.387 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005238/1.012, allocations: 75.97 kB / 453.1 MB, free: 3.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/1.029, allocations: 2.748 MB / 455.8 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.366e-06/1.029, allocations: 0 / 455.8 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.657e-05/1.029, allocations: 0 / 455.8 MB, free: 0.5469 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.0009871/1.03, allocations: 423.2 kB / 456.2 MB, free: 80 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.301e-05/1.03, allocations: 8.031 kB / 456.2 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/1.03, allocations: 16.75 kB / 456.3 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/1.031, allocations: 212.2 kB / 456.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/1.031, allocations: 12.61 kB / 456.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/1.031, allocations: 4.375 kB / 456.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/1.032, allocations: 130.3 kB / 456.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/1.032, allocations: 192 / 456.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/1.032, allocations: 7.938 kB / 456.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/1.032, allocations: 7.938 kB / 456.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/1.032, allocations: 80.67 kB / 456.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/1.034, allocations: 0.6105 MB / 457.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/1.035, allocations: 90.56 kB / 457.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/1.035, allocations: 32.97 kB / 457.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/1.035, allocations: 0 / 457.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/1.035, allocations: 34.56 kB / 457.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.588e-06/1.035, allocations: 7.984 kB / 457.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.001492/1.036, allocations: 259.4 kB / 457.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.037, allocations: 51.41 kB / 457.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/1.037, allocations: 151.6 kB / 457.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/1.037, allocations: 25.7 kB / 458 MB, free: 14.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/1.037, allocations: 128 kB / 458.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/1.037, allocations: 19.66 kB / 458.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/1.037, allocations: 7.938 kB / 458.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004109/1.038, allocations: 322.8 kB / 458.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/1.038, allocations: 31.92 kB / 458.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/1.038, allocations: 42.56 kB / 458.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/1.039, allocations: 66.56 kB / 458.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.039, allocations: 3.938 kB / 458.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007115/1.039, allocations: 142.5 kB / 458.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/1.039, allocations: 8 kB / 458.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.039, allocations: 64 / 458.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004451/1.04, allocations: 40.84 kB / 458.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/1.04, allocations: 11.98 kB / 458.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/1.044, allocations: 1.514 MB / 460.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/1.044, allocations: 7.906 kB / 460.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/1.044, allocations: 8.078 kB / 460.3 MB, free: 11.64 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 0.0002778/1.044, allocations: 117.9 kB / 460.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/1.044, allocations: 8.094 kB / 460.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/1.045, allocations: 20.7 kB / 460.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/1.045, allocations: 3.938 kB / 460.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.045, allocations: 3.938 kB / 460.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.045, allocations: 0 / 460.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/1.046, allocations: 209.6 kB / 460.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.046, allocations: 0 / 460.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/1.046, allocations: 4.125 kB / 460.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/1.047, allocations: 44.83 kB / 460.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/1.047, allocations: 0 / 460.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/1.049, allocations: 1.51 MB / 462.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.049, allocations: 0 / 462.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/1.05, allocations: 224.2 kB / 462.4 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/1.05, allocations: 84.92 kB / 462.5 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/1.05, allocations: 4 kB / 462.5 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/1.05, allocations: 11.92 kB / 462.5 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/1.05, allocations: 8 kB / 462.5 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/1.05, allocations: 4.172 kB / 462.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001737/1.05, allocations: 108.3 kB / 462.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.05, allocations: 0 / 462.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006346/1.051, allocations: 43.94 kB / 462.7 MB, free: 9.02 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.000336/1.051, allocations: 106.8 kB / 462.8 MB, free: 8.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007029/1.052, allocations: 199.1 kB / 463 MB, free: 8.703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.052, allocations: 0 / 463 MB, free: 8.703 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/1.052, allocations: 154.8 kB / 463.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/1.053, allocations: 8 kB / 463.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/1.054, allocations: 389.6 kB / 463.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/1.055, allocations: 0.7121 MB / 464.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/1.055, allocations: 11.44 kB / 464.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/1.055, allocations: 0 / 464.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of Templates: time 0.006384/1.061, allocations: 1.873 MB / 466.1 MB, free: 5.496 MB / 346.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