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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001613, allocations: 108.7 kB / 17.93 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 197.8 kB / 18.86 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 224.7 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 55.92 kB / 280.8 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.08675, allocations: 46.64 MB / 327.4 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003396/0.09017, allocations: 2.185 MB / 329.6 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008804/0.09108, allocations: 0.4995 MB / 330.1 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.445e-05/0.0912, allocations: 4 kB / 330.1 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.09136, allocations: 15.86 kB / 330.1 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.09146, allocations: 35.69 kB / 330.2 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.09169, allocations: 35.97 kB / 330.2 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.09188, allocations: 151.3 kB / 330.4 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.09206, allocations: 57.44 kB / 330.4 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.09219, allocations: 63.73 kB / 330.5 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.09232, allocations: 67.7 kB / 330.5 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.09235, allocations: 12 kB / 330.6 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.785e-05/0.09243, allocations: 16 kB / 330.6 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.09247, allocations: 39.83 kB / 330.6 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.084e-05/0.09254, allocations: 63.67 kB / 330.7 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.09272, allocations: 124 kB / 330.8 MB, free: 1.387 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.09273, allocations: 3.938 kB / 330.8 MB, free: 1.383 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09274, allocations: 0 / 330.8 MB, free: 1.383 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.09275, allocations: 0 / 330.8 MB, free: 1.383 MB / 270.1 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.000574/0.09333, allocations: 447.1 kB / 331.2 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.09338, allocations: 11.89 kB / 331.2 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.09349, allocations: 20.75 kB / 331.3 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.0937, allocations: 204.1 kB / 331.5 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.09372, allocations: 8.609 kB / 331.5 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.09374, allocations: 8.375 kB / 331.5 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.09399, allocations: 123.8 kB / 331.6 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.09402, allocations: 4 kB / 331.6 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.09404, allocations: 8 kB / 331.6 MB, free: 488 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.09405, allocations: 0 / 331.6 MB, free: 488 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.09423, allocations: 80.66 kB / 331.7 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008093/0.09505, allocations: 0.6049 MB / 332.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.09534, allocations: 86.62 kB / 332.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.09543, allocations: 28.97 kB / 332.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.09545, allocations: 4 kB / 332.4 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.09549, allocations: 38.5 kB / 332.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.0955, allocations: 3.938 kB / 332.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006551/0.09616, allocations: 247.5 kB / 332.7 MB, free: 15.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.09621, allocations: 59.28 kB / 332.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.09636, allocations: 154 kB / 332.9 MB, free: 15.03 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.09639, allocations: 29.7 kB / 332.9 MB, free: 15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.09646, allocations: 120 kB / 333 MB, free: 14.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.09649, allocations: 23.64 kB / 333.1 MB, free: 14.85 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.09654, allocations: 25.72 kB / 333.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.09664, allocations: 318.8 kB / 333.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.09671, allocations: 23.98 kB / 333.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.09679, allocations: 42.56 kB / 333.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.09692, allocations: 74.48 kB / 333.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.09694, allocations: 0 / 333.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002674/0.09721, allocations: 138.5 kB / 333.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.09724, allocations: 4 kB / 333.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.09725, allocations: 0 / 333.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.09744, allocations: 44.78 kB / 333.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.09751, allocations: 12.17 kB / 333.7 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.09904, allocations: 1.689 MB / 335.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.09913, allocations: 7.844 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.09915, allocations: 7.984 kB / 335.4 MB, free: 12.3 MB / 286.1 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 9.859e-05/0.09925, allocations: 125.9 kB / 335.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.09929, allocations: 11.84 kB / 335.6 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.09931, allocations: 8.719 kB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.09932, allocations: 4 kB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.09933, allocations: 0 / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.09934, allocations: 0 / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.09956, allocations: 209.6 kB / 335.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.09957, allocations: 128 / 335.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.09961, allocations: 15.92 kB / 335.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.09975, allocations: 40.78 kB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.09977, allocations: 3.984 kB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.101, allocations: 1.677 MB / 337.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.101, allocations: 0 / 337.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.1013, allocations: 228.3 kB / 337.8 MB, free: 9.766 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.1013, allocations: 84.95 kB / 337.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1014, allocations: 4 kB / 337.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1015, allocations: 12.17 kB / 337.9 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.1015, allocations: 0 / 337.9 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1015, allocations: 8 kB / 337.9 MB, free: 9.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.056e-05/0.1016, allocations: 119.4 kB / 338 MB, free: 9.523 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1016, allocations: 0 / 338 MB, free: 9.523 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.102, allocations: 35.94 kB / 338 MB, free: 9.488 MB / 286.1 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.0001171/0.1021, allocations: 99.25 kB / 338.1 MB, free: 9.383 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004071/0.1025, allocations: 190.6 kB / 338.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1025, allocations: 0 / 338.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.1027, allocations: 162.8 kB / 338.5 MB, free: 9.012 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.103, allocations: 16.08 kB / 338.5 MB, free: 8.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.1036, allocations: 357.6 kB / 338.8 MB, free: 8.613 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1038, allocations: 0.708 MB / 339.5 MB, free: 7.879 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.1039, allocations: 19.38 kB / 339.5 MB, free: 7.859 MB / 286.1 MB Notification: Performance of SimCode: time 3.477e-06/0.1039, allocations: 0 / 339.5 MB, free: 7.859 MB / 286.1 MB Notification: Performance of Templates: time 0.003326/0.1072, allocations: 1.886 MB / 341.4 MB, free: 5.969 MB / 286.1 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