Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001872/0.001879, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.3 MB, free: 9.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2501/0.2501, allocations: 46.11 MB / 343.7 MB, free: 11.53 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.002201, allocations: 81.81 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1369, allocations: 62.47 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00309/0.1401, allocations: 1.63 MB / 481 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.1411, allocations: 0.5417 MB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.1411, allocations: 4 kB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.1414, allocations: 31.84 kB / 481.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.1416, allocations: 55.83 kB / 481.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1418, allocations: 95.08 kB / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.142, allocations: 71.75 kB / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.1421, allocations: 12 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.1422, allocations: 19.92 kB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.1422, allocations: 23.86 kB / 481.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1422, allocations: 0 / 481.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/0.1423, allocations: 35.92 kB / 481.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.1424, allocations: 15.92 kB / 481.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.1424, allocations: 19.81 kB / 481.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1426, allocations: 87.77 kB / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1426, allocations: 0 / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1426, allocations: 0 / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1426, allocations: 0 / 482 MB, free: 2.961 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005363/0.1432, allocations: 391.5 kB / 482.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1432, allocations: 8.875 kB / 482.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.1433, allocations: 8.844 kB / 482.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1435, allocations: 190.1 kB / 482.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1435, allocations: 12.23 kB / 482.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.1435, allocations: 4.375 kB / 482.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1437, allocations: 57.8 kB / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1437, allocations: 0 / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1437, allocations: 4 kB / 482.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1437, allocations: 4 kB / 482.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.848e-05/0.1438, allocations: 23.97 kB / 482.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.1442, allocations: 284.8 kB / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1445, allocations: 46.5 kB / 483 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.1445, allocations: 16.94 kB / 483.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1445, allocations: 7.938 kB / 483.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1446, allocations: 30.56 kB / 483.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1446, allocations: 0 / 483.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005735/0.1452, allocations: 157.2 kB / 483.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1452, allocations: 51.41 kB / 483.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1454, allocations: 169.7 kB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1454, allocations: 25.7 kB / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.1455, allocations: 100.1 kB / 483.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1455, allocations: 11.75 kB / 483.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1456, allocations: 29.7 kB / 483.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1457, allocations: 314.8 kB / 483.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.1458, allocations: 23.97 kB / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.1459, allocations: 19.98 kB / 484 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.146, allocations: 56.77 kB / 484 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.146, allocations: 0 / 484 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002075/0.1462, allocations: 89.56 kB / 484.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1463, allocations: 8 kB / 484.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1463, allocations: 0 / 484.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1463, allocations: 0 / 484.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.1464, allocations: 11.98 kB / 484.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1464, allocations: 4 kB / 484.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.1464, allocations: 3.938 kB / 484.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1464, allocations: 4 kB / 484.1 MB, free: 0.6133 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.329e-05/0.1465, allocations: 125.8 kB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.1466, allocations: 7.906 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.1468, allocations: 106.1 kB / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1468, allocations: 0 / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1468, allocations: 0 / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.1468, allocations: 7.922 kB / 484.4 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.1473, allocations: 358.5 kB / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1473, allocations: 0 / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.1474, allocations: 16 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1474, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1474, allocations: 7.922 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1474, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1474, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.1477, allocations: 183.4 kB / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.1477, allocations: 81.02 kB / 485 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1478, allocations: 11.88 kB / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.1478, allocations: 4 kB / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.1479, allocations: 7.984 kB / 485 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1479, allocations: 0 / 485 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.148, allocations: 134.6 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 0 / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1483, allocations: 8 kB / 485.2 MB, free: 15.47 MB / 366.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001418/0.1497, allocations: 408.3 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.1499, allocations: 51.95 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1499, allocations: 0 / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.922e-05/0.15, allocations: 27.92 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1503, allocations: 19.92 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.1508, allocations: 215.8 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1511, allocations: 0.6965 MB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.867e-05/0.1512, allocations: 19.98 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.1512, allocations: 11.44 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1512, allocations: 0 / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Templates: time 0.003717/0.155, allocations: 1.1 MB / 487.7 MB, free: 13.02 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches