Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 107.9 kB / 17.03 MB, free: 5.66 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.001391/0.001391, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.71/1.71, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2338/0.2338, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.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.001658/0.001659, allocations: 70.88 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1321, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002731/0.1349, allocations: 1.557 MB / 443.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00062/0.1355, allocations: 331.6 kB / 443.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.1356, allocations: 4 kB / 443.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.136, allocations: 459.1 kB / 444.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.1363, allocations: 247.4 kB / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1366, allocations: 155.5 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.1369, allocations: 159.7 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.137, allocations: 8 kB / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.931e-05/0.1371, allocations: 107.7 kB / 445 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.1372, allocations: 203.7 kB / 445.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1373, allocations: 4 kB / 445.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.063e-05/0.1373, allocations: 23.98 kB / 445.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.1374, allocations: 87.61 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.1375, allocations: 103 kB / 445.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1377, allocations: 243 kB / 445.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1377, allocations: 0 / 445.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1377, allocations: 4 kB / 445.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1377, allocations: 4 kB / 445.6 MB, free: 2.473 MB / 318.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.0005423/0.1383, allocations: 0.618 MB / 446.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1383, allocations: 11.89 kB / 446.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.1384, allocations: 40.47 kB / 446.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1386, allocations: 296.1 kB / 446.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1386, allocations: 384 / 446.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.1386, allocations: 8.312 kB / 446.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.1388, allocations: 53.81 kB / 446.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1388, allocations: 4 kB / 446.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1388, allocations: 0 / 446.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1388, allocations: 0 / 446.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.1389, allocations: 27.97 kB / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.1393, allocations: 376.7 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/0.1394, allocations: 38.5 kB / 447.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.1394, allocations: 20.91 kB / 447.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1395, allocations: 4 kB / 447.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.1395, allocations: 34.5 kB / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1395, allocations: 0 / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002255/0.1397, allocations: 101.1 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.1397, allocations: 59.34 kB / 447.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/0.1404, allocations: 0.8615 MB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1404, allocations: 25.7 kB / 448.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.1406, allocations: 216.1 kB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1406, allocations: 3.906 kB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.1406, allocations: 21.7 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1408, allocations: 358.7 kB / 448.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.1409, allocations: 15.98 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/0.1409, allocations: 8 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.237e-05/0.141, allocations: 28.84 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.141, allocations: 0 / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001403/0.1411, allocations: 97.05 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1412, allocations: 4 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1412, allocations: 0 / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1412, allocations: 0 / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.1413, allocations: 8.094 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1413, allocations: 4 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.1413, allocations: 11.92 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1413, allocations: 0 / 448.9 MB, free: 14.93 MB / 334.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 (2): * Single equations (assignments): 2 * 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.0001745/0.1415, allocations: 213.7 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.1416, allocations: 43.44 kB / 449.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.1418, allocations: 108.6 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1418, allocations: 0 / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1418, allocations: 4.031 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1418, allocations: 0 / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.1421, allocations: 289.4 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1421, allocations: 4 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.1421, allocations: 4 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1421, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1421, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1421, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1421, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.1423, allocations: 195 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.1424, allocations: 112.5 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1424, allocations: 0 / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.1425, allocations: 4 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.1426, allocations: 3.984 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1426, allocations: 0 / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005702/0.1431, allocations: 0.6472 MB / 450.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1431, allocations: 0 / 450.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1434, allocations: 24.03 kB / 450.6 MB, free: 13.2 MB / 334.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): 2 * 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.0007862/0.1442, allocations: 352.5 kB / 450.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1443, allocations: 27.98 kB / 450.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1443, allocations: 0 / 450.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/0.1444, allocations: 11.98 kB / 450.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1448, allocations: 29.95 kB / 451 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/0.1457, allocations: 0.7518 MB / 451.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.1461, allocations: 0.822 MB / 452.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.1462, allocations: 11.97 kB / 452.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.1462, allocations: 15.44 kB / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1462, allocations: 3.938 kB / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of Templates: time 0.004346/0.1506, allocations: 1.279 MB / 453.9 MB, free: 9.93 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches