Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008366/0.0008363, allocations: 98.92 kB / 17.35 MB, free: 6.367 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.0009076/0.0009076, allocations: 172.3 kB / 18.25 MB, free: 5.527 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.458/1.458, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 12.78 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 61.92 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002173/0.1248, allocations: 1.336 MB / 473.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1266, allocations: 1.031 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.1267, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.1269, allocations: 27.92 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1272, allocations: 35.84 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.1277, allocations: 150.9 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1279, allocations: 63.78 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.128, allocations: 23.97 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.923e-05/0.128, allocations: 15.94 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1282, allocations: 31.84 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1282, allocations: 3.984 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1283, allocations: 47.98 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.1284, allocations: 11.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.1285, allocations: 57.56 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1287, allocations: 95.92 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1287, allocations: 3.984 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1287, allocations: 3.938 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1287, allocations: 0 / 475.2 MB, free: 10.41 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.0005312/0.1292, allocations: 381.5 kB / 475.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1293, allocations: 8.031 kB / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.1293, allocations: 8.844 kB / 475.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.1296, allocations: 196.2 kB / 475.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1296, allocations: 8.375 kB / 475.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.1296, allocations: 384 / 475.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1298, allocations: 83.45 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1299, allocations: 0 / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1299, allocations: 0 / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1299, allocations: 4 kB / 475.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1301, allocations: 47.97 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.1306, allocations: 304.8 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1307, allocations: 54.48 kB / 476.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.1308, allocations: 28.94 kB / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1308, allocations: 4 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1309, allocations: 34.56 kB / 476.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.1309, allocations: 0 / 476.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009422/0.1318, allocations: 261.2 kB / 476.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.1319, allocations: 81.11 kB / 476.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1321, allocations: 140.5 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1321, allocations: 29.64 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.1322, allocations: 100 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.1322, allocations: 23.66 kB / 476.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1322, allocations: 9.719 kB / 476.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1324, allocations: 326.8 kB / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1325, allocations: 47.97 kB / 477.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1326, allocations: 61.67 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.1329, allocations: 109 kB / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1329, allocations: 0 / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003317/0.1332, allocations: 137.5 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1333, allocations: 10.5 kB / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1333, allocations: 0 / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1333, allocations: 0 / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1335, allocations: 31.97 kB / 477.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1335, allocations: 4 kB / 477.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.1335, allocations: 11.94 kB / 477.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1336, allocations: 0 / 477.7 MB, free: 7.68 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 (7): * Single equations (assignments): 7 * 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 0.0001157/0.1337, allocations: 126.3 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.1337, allocations: 19.84 kB / 477.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.1341, allocations: 146 kB / 478 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1342, allocations: 8 kB / 478 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1342, allocations: 0 / 478 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1342, allocations: 3.938 kB / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.1348, allocations: 422.4 kB / 478.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1348, allocations: 0 / 478.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/0.1349, allocations: 23.98 kB / 478.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1349, allocations: 0 / 478.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1349, allocations: 7.938 kB / 478.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1349, allocations: 0 / 478.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.135, allocations: 3.984 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1353, allocations: 239.3 kB / 478.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.1354, allocations: 89 kB / 478.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1354, allocations: 3.938 kB / 478.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.1355, allocations: 15.98 kB / 478.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1356, allocations: 8.266 kB / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.1356, allocations: 7.938 kB / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.294e-05/0.1357, allocations: 99.27 kB / 478.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1357, allocations: 0 / 478.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000277/0.136, allocations: 32 kB / 478.9 MB, free: 6.344 MB / 350.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 (7): * Single equations (assignments): 7 * 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.001125/0.1371, allocations: 440 kB / 479.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.1375, allocations: 111.9 kB / 479.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1375, allocations: 0 / 479.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1376, allocations: 55.97 kB / 479.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.138, allocations: 15.98 kB / 479.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.1385, allocations: 229.6 kB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1388, allocations: 0.7004 MB / 480.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.1389, allocations: 23.92 kB / 480.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.139, allocations: 15.44 kB / 480.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.139, allocations: 7.875 kB / 480.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of Templates: time 0.004548/0.1435, allocations: 1.447 MB / 481.9 MB, free: 3.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches