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.0009601/0.0009601, allocations: 101.9 kB / 17.31 MB, free: 6.344 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.001157/0.001157, allocations: 177.6 kB / 18.2 MB, free: 5.531 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.628/1.628, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004546/0.0004546, allocations: 12.38 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 47.59 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002654/0.1242, allocations: 1.838 MB / 330.8 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.1251, allocations: 491.7 kB / 331.3 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.1252, allocations: 7.938 kB / 331.3 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.1253, allocations: 15.91 kB / 331.3 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1255, allocations: 39.67 kB / 331.3 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.1257, allocations: 31.92 kB / 331.4 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1259, allocations: 151.3 kB / 331.5 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1261, allocations: 49.44 kB / 331.6 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1262, allocations: 51.8 kB / 331.6 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1263, allocations: 55.7 kB / 331.7 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.1264, allocations: 11.94 kB / 331.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.688e-05/0.1264, allocations: 8 kB / 331.7 MB, free: 1 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.1265, allocations: 19.92 kB / 331.7 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.1266, allocations: 93.36 kB / 331.8 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1268, allocations: 155.5 kB / 332 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1268, allocations: 0 / 332 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1268, allocations: 4 kB / 332 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1268, allocations: 4 kB / 332 MB, free: 0.7227 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.0006503/0.1275, allocations: 415.3 kB / 332.4 MB, free: 276 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1275, allocations: 8.031 kB / 332.4 MB, free: 268 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1276, allocations: 16.75 kB / 332.4 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1279, allocations: 214.6 kB / 332.6 MB, free: 0 / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.1279, allocations: 8.656 kB / 332.6 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.128, allocations: 16.38 kB / 332.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.1282, allocations: 123.8 kB / 332.7 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1283, allocations: 3.938 kB / 332.7 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.1283, allocations: 8 kB / 332.8 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1283, allocations: 4 kB / 332.8 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.1285, allocations: 84.66 kB / 332.8 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008998/0.1294, allocations: 0.605 MB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.1297, allocations: 94.56 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.1298, allocations: 32.97 kB / 333.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1299, allocations: 4 kB / 333.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1299, allocations: 34.56 kB / 333.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1299, allocations: 0 / 333.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007443/0.1306, allocations: 263.4 kB / 333.9 MB, free: 14.6 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1307, allocations: 59.34 kB / 333.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1308, allocations: 153.5 kB / 334.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.1309, allocations: 25.7 kB / 334.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.131, allocations: 124 kB / 334.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.131, allocations: 23.64 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.131, allocations: 13.72 kB / 334.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1312, allocations: 318.8 kB / 334.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.1313, allocations: 31.98 kB / 334.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.1314, allocations: 50.44 kB / 334.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1315, allocations: 74.55 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1316, allocations: 0 / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003042/0.1319, allocations: 142.2 kB / 334.9 MB, free: 13.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1319, allocations: 4 kB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1319, allocations: 4 kB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.1321, allocations: 40.89 kB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.1322, allocations: 11.98 kB / 334.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.1339, allocations: 1.522 MB / 336.4 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.134, allocations: 8 kB / 336.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.134, allocations: 4 kB / 336.5 MB, free: 11.8 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 0.0001163/0.1341, allocations: 125.8 kB / 336.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.1342, allocations: 7.906 kB / 336.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.1342, allocations: 16.7 kB / 336.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1342, allocations: 3.938 kB / 336.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1342, allocations: 0 / 336.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1342, allocations: 0 / 336.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.1345, allocations: 213.6 kB / 336.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1345, allocations: 0 / 336.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.1345, allocations: 4 kB / 336.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.1346, allocations: 40.83 kB / 336.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1347, allocations: 0 / 336.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.1359, allocations: 1.514 MB / 338.4 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1359, allocations: 128 / 338.4 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.1362, allocations: 220.2 kB / 338.6 MB, free: 9.449 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.1363, allocations: 89.12 kB / 338.7 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1363, allocations: 7.922 kB / 338.7 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1364, allocations: 11.98 kB / 338.7 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.1365, allocations: 4 kB / 338.7 MB, free: 9.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1365, allocations: 7.984 kB / 338.7 MB, free: 9.312 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.331e-05/0.1366, allocations: 103.3 kB / 338.8 MB, free: 9.211 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1366, allocations: 0 / 338.8 MB, free: 9.211 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.137, allocations: 39.94 kB / 338.8 MB, free: 9.172 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.0001326/0.1371, allocations: 99.25 kB / 338.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.1375, allocations: 202.4 kB / 339.1 MB, free: 8.855 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1375, allocations: 0 / 339.1 MB, free: 8.855 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.1377, allocations: 154.8 kB / 339.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.138, allocations: 12 kB / 339.3 MB, free: 8.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.1386, allocations: 366.2 kB / 339.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.139, allocations: 0.7157 MB / 340.4 MB, free: 7.555 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.776e-05/0.139, allocations: 4.438 kB / 340.4 MB, free: 7.551 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.1391, allocations: 7.438 kB / 340.4 MB, free: 7.543 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1391, allocations: 0 / 340.4 MB, free: 7.543 MB / 286.1 MB Notification: Performance of Templates: time 0.004229/0.1433, allocations: 1.362 MB / 341.7 MB, free: 6.188 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/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