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.0009869/0.0009868, allocations: 93.44 kB / 16.94 MB, free: 5.98 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.0009538/0.0009537, allocations: 180.1 kB / 17.82 MB, free: 5.652 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.494/1.494, allocations: 205.4 MB / 224 MB, free: 13.17 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.000664/0.0006641, allocations: 8 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1068, allocations: 47.59 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002415/0.1092, allocations: 1.727 MB / 330.1 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000908/0.1102, allocations: 480 kB / 330.5 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.603e-05/0.1103, allocations: 4 kB / 330.5 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.1103, allocations: 23.78 kB / 330.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1105, allocations: 43.89 kB / 330.6 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.1107, allocations: 27.97 kB / 330.6 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1109, allocations: 107.7 kB / 330.7 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.111, allocations: 49.44 kB / 330.8 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.684e-05/0.1111, allocations: 47.86 kB / 330.8 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1113, allocations: 55.75 kB / 330.9 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1113, allocations: 8 kB / 330.9 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.1114, allocations: 12 kB / 330.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1114, allocations: 19.86 kB / 330.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.1115, allocations: 57.58 kB / 331 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.1116, allocations: 115.9 kB / 331.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1116, allocations: 0 / 331.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1116, allocations: 0 / 331.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1117, allocations: 0 / 331.1 MB, free: 1.305 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.0006671/0.1123, allocations: 423.1 kB / 331.5 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1124, allocations: 8.031 kB / 331.5 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1125, allocations: 15.81 kB / 331.5 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1127, allocations: 210.8 kB / 331.7 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1127, allocations: 12.19 kB / 331.7 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1128, allocations: 12 kB / 331.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.113, allocations: 127.5 kB / 331.9 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.113, allocations: 0 / 331.9 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1131, allocations: 4 kB / 331.9 MB, free: 428 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1131, allocations: 4 kB / 331.9 MB, free: 424 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1133, allocations: 80.66 kB / 332 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.1141, allocations: 0.6089 MB / 332.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.1145, allocations: 90.62 kB / 332.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.1145, allocations: 4 kB / 332.7 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1145, allocations: 34.55 kB / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1145, allocations: 0 / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007788/0.1153, allocations: 259.5 kB / 333 MB, free: 15.22 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1154, allocations: 55.36 kB / 333 MB, free: 15.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1155, allocations: 149.6 kB / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1156, allocations: 25.7 kB / 333.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1157, allocations: 139.8 kB / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.1157, allocations: 15.75 kB / 333.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.1157, allocations: 4 kB / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1159, allocations: 318.8 kB / 333.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/0.116, allocations: 23.98 kB / 333.7 MB, free: 14.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.1161, allocations: 46.5 kB / 333.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.146e-05/0.1162, allocations: 28 kB / 333.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1162, allocations: 0 / 333.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002703/0.1165, allocations: 146.2 kB / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1165, allocations: 7.938 kB / 333.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1165, allocations: 4.062 kB / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.1167, allocations: 36.83 kB / 333.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.1168, allocations: 8 kB / 333.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.1183, allocations: 1.525 MB / 335.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.1184, allocations: 15.88 kB / 335.5 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1184, allocations: 4 kB / 335.5 MB, free: 12.49 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 (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.0001034/0.1185, allocations: 125.8 kB / 335.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.1185, allocations: 7.906 kB / 335.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.1186, allocations: 16.72 kB / 335.6 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1186, allocations: 0 / 335.6 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.1186, allocations: 0 / 335.6 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1186, allocations: 3.984 kB / 335.6 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.1189, allocations: 221.5 kB / 335.9 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1189, allocations: 0 / 335.9 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.119, allocations: 8 kB / 335.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.1191, allocations: 36.83 kB / 335.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1191, allocations: 0 / 335.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.1206, allocations: 1.514 MB / 337.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1206, allocations: 0 / 337.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.121, allocations: 224.2 kB / 337.6 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.1211, allocations: 85.02 kB / 337.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.1211, allocations: 0 / 337.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1212, allocations: 7.984 kB / 337.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.1213, allocations: 8 kB / 337.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1213, allocations: 0 / 337.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1214, allocations: 111.2 kB / 337.8 MB, free: 9.906 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1214, allocations: 192 / 337.8 MB, free: 9.906 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.1218, allocations: 47.84 kB / 337.9 MB, free: 9.859 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 (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.0001582/0.122, allocations: 99.19 kB / 338 MB, free: 9.754 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.1225, allocations: 190.5 kB / 338.2 MB, free: 9.555 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1225, allocations: 0 / 338.2 MB, free: 9.555 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.1228, allocations: 166.7 kB / 338.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.123, allocations: 11.95 kB / 338.3 MB, free: 9.367 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.1237, allocations: 342.9 kB / 338.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.1241, allocations: 0.7159 MB / 339.4 MB, free: 8.266 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.691e-05/0.1242, allocations: 12.41 kB / 339.4 MB, free: 8.254 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.1242, allocations: 11.38 kB / 339.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1242, allocations: 0 / 339.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of Templates: time 0.004096/0.1283, allocations: 1.316 MB / 340.7 MB, free: 6.93 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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