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.001053/0.001053, allocations: 187 kB / 17.92 MB, free: 3.855 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.212/1.212, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009631/0.0009631, allocations: 101.2 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007574/0.0007574, allocations: 35.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1967, allocations: 46.63 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003223/0.1999, allocations: 2.18 MB / 376 MB, free: 44.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008624/0.2008, allocations: 0.5082 MB / 376.5 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.201, allocations: 2.094 kB / 376.5 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2011, allocations: 22 kB / 376.5 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.456e-05/0.2012, allocations: 36.95 kB / 376.6 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.2014, allocations: 32.34 kB / 376.6 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2015, allocations: 151 kB / 376.7 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2017, allocations: 46.36 kB / 376.8 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.2018, allocations: 61.28 kB / 376.9 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.2019, allocations: 55.39 kB / 376.9 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.2019, allocations: 12.16 kB / 376.9 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.202, allocations: 19.88 kB / 376.9 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.202, allocations: 27.17 kB / 377 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.2021, allocations: 71.55 kB / 377 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2022, allocations: 154.1 kB / 377.2 MB, free: 43.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2022, allocations: 0 / 377.2 MB, free: 43.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2023, allocations: 0 / 377.2 MB, free: 43.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2023, allocations: 0 / 377.2 MB, free: 43.28 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.0004804/0.2028, allocations: 440.9 kB / 377.6 MB, free: 42.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2028, allocations: 9.312 kB / 377.6 MB, free: 42.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.2029, allocations: 17.66 kB / 377.6 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.203, allocations: 210.8 kB / 377.8 MB, free: 42.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2031, allocations: 7.922 kB / 377.9 MB, free: 42.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.2031, allocations: 11.88 kB / 377.9 MB, free: 42.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.2033, allocations: 122.4 kB / 378 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.2033, allocations: 0 / 378 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2033, allocations: 5.312 kB / 378 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2033, allocations: 2.281 kB / 378 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.2035, allocations: 83.25 kB / 378.1 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.2042, allocations: 0.5979 MB / 378.7 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.2045, allocations: 93.77 kB / 378.8 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.731e-05/0.2045, allocations: 26.95 kB / 378.8 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.2045, allocations: 5.234 kB / 378.8 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.2046, allocations: 35.83 kB / 378.8 MB, free: 41.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.2046, allocations: 0 / 378.8 MB, free: 41.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005661/0.2051, allocations: 253.5 kB / 379.1 MB, free: 41.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.2052, allocations: 55.34 kB / 379.1 MB, free: 41.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.2053, allocations: 155.8 kB / 379.3 MB, free: 41.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.2053, allocations: 26.83 kB / 379.3 MB, free: 41.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.2053, allocations: 130.8 kB / 379.4 MB, free: 41.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.2053, allocations: 17.98 kB / 379.5 MB, free: 41.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.2054, allocations: 27.48 kB / 379.5 MB, free: 41.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.147e-05/0.2054, allocations: 321.1 kB / 379.8 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.2055, allocations: 20.59 kB / 379.8 MB, free: 40.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.2056, allocations: 45.69 kB / 379.9 MB, free: 40.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.2057, allocations: 82.42 kB / 379.9 MB, free: 40.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2057, allocations: 0 / 379.9 MB, free: 40.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002463/0.206, allocations: 138.2 kB / 380.1 MB, free: 40.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.206, allocations: 5.844 kB / 380.1 MB, free: 40.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.206, allocations: 0 / 380.1 MB, free: 40.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.2061, allocations: 38.55 kB / 380.1 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/0.2062, allocations: 11.62 kB / 380.1 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.2072, allocations: 1.509 MB / 381.6 MB, free: 39.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.2073, allocations: 15.77 kB / 381.7 MB, free: 39.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.2073, allocations: 6.625 kB / 381.7 MB, free: 39.1 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 6.156e-05/0.2074, allocations: 119.1 kB / 381.8 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.2074, allocations: 8.75 kB / 381.8 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.2075, allocations: 10.91 kB / 381.8 MB, free: 38.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2075, allocations: 5.188 kB / 381.8 MB, free: 38.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.2075, allocations: 0 / 381.8 MB, free: 38.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2075, allocations: 5.203 kB / 381.8 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.2076, allocations: 214.9 kB / 382 MB, free: 38.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2076, allocations: 4 kB / 382 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.2077, allocations: 6.719 kB / 382 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.2078, allocations: 33.8 kB / 382.1 MB, free: 38.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2078, allocations: 5.188 kB / 382.1 MB, free: 38.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008175/0.2086, allocations: 1.501 MB / 383.6 MB, free: 37.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2086, allocations: 0 / 383.6 MB, free: 37.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.209, allocations: 0.7979 MB / 384.4 MB, free: 36.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.2091, allocations: 91.25 kB / 384.5 MB, free: 36.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2091, allocations: 1.438 kB / 384.5 MB, free: 36.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.2092, allocations: 8.375 kB / 384.5 MB, free: 36.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.2092, allocations: 6.547 kB / 384.5 MB, free: 36.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2093, allocations: 2.344 kB / 384.5 MB, free: 36.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.697e-05/0.2093, allocations: 117.4 kB / 384.6 MB, free: 36.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2093, allocations: 0 / 384.6 MB, free: 36.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000421/0.2097, allocations: 40.62 kB / 384.6 MB, free: 36.18 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 8.497e-05/0.2098, allocations: 103.7 kB / 384.7 MB, free: 36.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.2102, allocations: 187.9 kB / 384.9 MB, free: 35.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2102, allocations: 1.219 kB / 384.9 MB, free: 35.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.2103, allocations: 162.3 kB / 385.1 MB, free: 35.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.2106, allocations: 14.06 kB / 385.1 MB, free: 35.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.2111, allocations: 446.6 kB / 385.5 MB, free: 35.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.2112, allocations: 0.7158 MB / 386.2 MB, free: 34.69 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.956e-05/0.2112, allocations: 3.562 kB / 386.2 MB, free: 34.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.2113, allocations: 13.83 kB / 386.3 MB, free: 34.68 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.2113, allocations: 0 / 386.3 MB, free: 34.68 MB / 298.7 MB Notification: Performance of Templates: time 0.003388/0.2147, allocations: 1.435 MB / 387.7 MB, free: 33.96 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@2/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