Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.0009093, allocations: 99.11 kB / 16.98 MB, free: 5.938 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.0009324/0.0009325, allocations: 187.6 kB / 17.87 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002854, allocations: 11.94 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002044/0.1336, allocations: 1.275 MB / 472.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.1344, allocations: 371.6 kB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.1345, allocations: 0 / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1348, allocations: 103.7 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.135, allocations: 71.84 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1352, allocations: 94.89 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.1355, allocations: 55.86 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.808e-05/0.1356, allocations: 12.17 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.648e-05/0.1356, allocations: 35.89 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.1357, allocations: 39.91 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1357, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.831e-05/0.1358, allocations: 39.84 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.1359, allocations: 23.92 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.1359, allocations: 33.64 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1361, allocations: 83.88 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1361, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1361, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1361, allocations: 0 / 473.7 MB, free: 11.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004872/0.1366, allocations: 411.1 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1366, allocations: 8.562 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.1367, allocations: 11.91 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1369, allocations: 202.7 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1369, allocations: 7.984 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1369, allocations: 4 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1371, allocations: 65.55 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1371, allocations: 0 / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1371, allocations: 8 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.1371, allocations: 0 / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1372, allocations: 27.98 kB / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.1377, allocations: 300.8 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1378, allocations: 50.5 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1378, allocations: 0 / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1379, allocations: 38.56 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1379, allocations: 0 / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009238/0.1388, allocations: 265 kB / 475 MB, free: 9.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.633e-05/0.1389, allocations: 55.41 kB / 475.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1391, allocations: 238.7 kB / 475.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1392, allocations: 25.7 kB / 475.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.1392, allocations: 116 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1393, allocations: 23.72 kB / 475.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.1393, allocations: 4 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1395, allocations: 330.8 kB / 475.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.1396, allocations: 39.91 kB / 475.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.1396, allocations: 31.98 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.225e-05/0.1397, allocations: 39.91 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1397, allocations: 4 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002222/0.14, allocations: 125.7 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.14, allocations: 4 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.14, allocations: 0 / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.14, allocations: 0 / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.1401, allocations: 23.98 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1401, allocations: 4 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.1402, allocations: 4 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1402, allocations: 3.938 kB / 476.1 MB, free: 8.848 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.1403, allocations: 141.7 kB / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1404, allocations: 7.906 kB / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.1406, allocations: 146.9 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1406, allocations: 0 / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1407, allocations: 0 / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1407, allocations: 4 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.1412, allocations: 435.3 kB / 476.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1412, allocations: 0 / 476.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.1413, allocations: 19.98 kB / 476.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1413, allocations: 432 / 476.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1413, allocations: 3.938 kB / 476.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1413, allocations: 4 kB / 476.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1413, allocations: 0 / 476.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.1416, allocations: 241.9 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.1417, allocations: 89 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.1417, allocations: 7.984 kB / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1418, allocations: 4 kB / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.1418, allocations: 15.94 kB / 477.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1418, allocations: 4 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.142, allocations: 184.3 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.142, allocations: 0 / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1423, allocations: 24 kB / 477.4 MB, free: 7.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009406/0.1432, allocations: 459.8 kB / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1434, allocations: 87.94 kB / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1434, allocations: 0 / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.021e-05/0.1435, allocations: 43.91 kB / 478 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.1438, allocations: 16.17 kB / 478 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.1442, allocations: 314 kB / 478.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1445, allocations: 0.7199 MB / 479 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.767e-05/0.1446, allocations: 20.66 kB / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1446, allocations: 15.44 kB / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1447, allocations: 0 / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of Templates: time 0.003646/0.1483, allocations: 1.276 MB / 480.3 MB, free: 4.621 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches