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.001141/0.001145, allocations: 117.6 kB / 17.28 MB, free: 6.219 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.001011/0.001011, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.501/1.501, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001309/0.001309, allocations: 47.94 kB / 280.1 MB, free: 3.516 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1233, allocations: 46.64 MB / 326.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.004288/0.1276, allocations: 2.177 MB / 329 MB, free: 2.609 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1287, allocations: 0.4918 MB / 329.5 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1288, allocations: 3.938 kB / 329.5 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.129, allocations: 19.84 kB / 329.5 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.911e-05/0.1291, allocations: 43.67 kB / 329.5 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1293, allocations: 35.98 kB / 329.6 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1296, allocations: 151.3 kB / 329.7 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1298, allocations: 69.38 kB / 329.8 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1299, allocations: 55.73 kB / 329.8 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.13, allocations: 63.77 kB / 329.9 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.1301, allocations: 15.94 kB / 329.9 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.1301, allocations: 20 kB / 329.9 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.1302, allocations: 35.89 kB / 330 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.033e-05/0.1303, allocations: 71.61 kB / 330 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1305, allocations: 159.7 kB / 330.2 MB, free: 1.375 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1305, allocations: 0 / 330.2 MB, free: 1.375 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1306, allocations: 4 kB / 330.2 MB, free: 1.371 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1306, allocations: 0 / 330.2 MB, free: 1.371 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.0007133/0.1313, allocations: 435.1 kB / 330.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.1313, allocations: 15.89 kB / 330.6 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.1315, allocations: 24.73 kB / 330.6 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1318, allocations: 196.2 kB / 330.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1318, allocations: 12.61 kB / 330.9 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1318, allocations: 12.38 kB / 330.9 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.1321, allocations: 119.8 kB / 331 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1321, allocations: 0 / 331 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1321, allocations: 4 kB / 331 MB, free: 492 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1322, allocations: 7.984 kB / 331 MB, free: 484 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.1323, allocations: 80.67 kB / 331.1 MB, free: 404 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009711/0.1333, allocations: 0.6049 MB / 331.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.1336, allocations: 90.62 kB / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.1337, allocations: 32.97 kB / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1338, allocations: 0 / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.1338, allocations: 34.56 kB / 331.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1338, allocations: 0 / 331.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007829/0.1346, allocations: 251.4 kB / 332.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1347, allocations: 59.28 kB / 332.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1348, allocations: 157.5 kB / 332.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1349, allocations: 29.7 kB / 332.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.135, allocations: 124 kB / 332.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.135, allocations: 27.64 kB / 332.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1351, allocations: 17.72 kB / 332.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1353, allocations: 322.8 kB / 332.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.1354, allocations: 23.92 kB / 332.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.066e-05/0.1354, allocations: 58.48 kB / 332.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1356, allocations: 62.5 kB / 332.9 MB, free: 14.33 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1356, allocations: 4 kB / 332.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002553/0.1359, allocations: 130.3 kB / 333.1 MB, free: 14.19 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1359, allocations: 8.062 kB / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1359, allocations: 0 / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.1362, allocations: 40.83 kB / 333.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.1363, allocations: 7.938 kB / 333.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.1385, allocations: 1.693 MB / 334.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.1386, allocations: 11.84 kB / 334.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1386, allocations: 8 kB / 334.8 MB, free: 12.28 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.000113/0.1387, allocations: 113.8 kB / 335 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.1388, allocations: 19.83 kB / 335 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.1388, allocations: 12.72 kB / 335 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1388, allocations: 4 kB / 335 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1388, allocations: 4 kB / 335 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1388, allocations: 0 / 335 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.1391, allocations: 205.6 kB / 335.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1391, allocations: 0 / 335.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.1391, allocations: 11.92 kB / 335.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.1393, allocations: 32.84 kB / 335.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1393, allocations: 0 / 335.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.1406, allocations: 1.693 MB / 336.9 MB, free: 9.992 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1406, allocations: 0 / 336.9 MB, free: 9.992 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.1409, allocations: 220.2 kB / 337.1 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.141, allocations: 85.08 kB / 337.2 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.141, allocations: 4 kB / 337.2 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.1411, allocations: 4 kB / 337.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.1412, allocations: 7.984 kB / 337.2 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.1412, allocations: 4 kB / 337.2 MB, free: 9.637 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.31e-05/0.1413, allocations: 111.2 kB / 337.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1413, allocations: 0 / 337.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.1416, allocations: 35.94 kB / 337.4 MB, free: 9.492 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.0001701/0.1418, allocations: 103.2 kB / 337.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004684/0.1423, allocations: 190.6 kB / 337.7 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1423, allocations: 0 / 337.7 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.1425, allocations: 162.6 kB / 337.8 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.0002887/0.1428, allocations: 20.06 kB / 337.9 MB, free: 8.992 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/0.1434, allocations: 331.9 kB / 338.2 MB, free: 8.641 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1438, allocations: 0.708 MB / 338.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.1438, allocations: 12.47 kB / 338.9 MB, free: 7.895 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.1438, allocations: 7.438 kB / 338.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1438, allocations: 0 / 338.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of Templates: time 0.004464/0.1483, allocations: 1.471 MB / 340.4 MB, free: 6.418 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