Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 105.9 kB / 17.21 MB, free: 6.27 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.002075/0.002075, allocations: 194 kB / 18.12 MB, free: 5.363 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.435/1.435, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.211/0.211, allocations: 44.17 MB / 336.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 64.73 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1345, allocations: 60.82 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003265/0.1378, allocations: 1.633 MB / 470.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007983/0.1386, allocations: 419.2 kB / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.1387, allocations: 0 / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.1392, allocations: 443.2 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.1396, allocations: 247.6 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.1399, allocations: 118.6 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1401, allocations: 151.7 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.1402, allocations: 11.98 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1403, allocations: 107.8 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1405, allocations: 199.6 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1405, allocations: 4 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.1406, allocations: 23.98 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1407, allocations: 79.69 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.1408, allocations: 98.98 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.141, allocations: 235 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1411, allocations: 4 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1411, allocations: 0 / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1411, allocations: 0 / 472.2 MB, free: 11.13 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.0007145/0.1418, allocations: 0.6222 MB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1418, allocations: 16.02 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.1419, allocations: 40.38 kB / 472.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1422, allocations: 288.2 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1422, allocations: 4.375 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1422, allocations: 4.375 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1424, allocations: 61.73 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1424, allocations: 0 / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1424, allocations: 0 / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.1424, allocations: 4 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1426, allocations: 27.97 kB / 473.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.143, allocations: 376.7 kB / 473.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1432, allocations: 46.48 kB / 473.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.1432, allocations: 20.89 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1433, allocations: 3.984 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1433, allocations: 38.56 kB / 473.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1433, allocations: 0 / 473.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003228/0.1436, allocations: 117.2 kB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1437, allocations: 51.41 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.1445, allocations: 0.8496 MB / 474.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1445, allocations: 25.7 kB / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.1447, allocations: 216 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.1447, allocations: 7.906 kB / 475 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1447, allocations: 17.66 kB / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1449, allocations: 362.7 kB / 475.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.32e-05/0.145, allocations: 15.98 kB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.145, allocations: 15.98 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1451, allocations: 37.11 kB / 475.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1451, allocations: 0 / 475.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001792/0.1453, allocations: 105.2 kB / 475.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1454, allocations: 4 kB / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1454, allocations: 0 / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1454, allocations: 0 / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.1455, allocations: 15.92 kB / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1455, allocations: 3.984 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.1455, allocations: 11.91 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1456, allocations: 3.984 kB / 475.6 MB, free: 7.527 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 (3): * Single equations (assignments): 3 * 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.0001732/0.1457, allocations: 209.7 kB / 475.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.1458, allocations: 43.53 kB / 475.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.146, allocations: 116.9 kB / 476 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1461, allocations: 0 / 476 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1461, allocations: 0 / 476 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1461, allocations: 7.922 kB / 476 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.1463, allocations: 285.5 kB / 476.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1464, allocations: 0 / 476.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.1464, allocations: 11.98 kB / 476.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1464, allocations: 4 kB / 476.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1464, allocations: 3.938 kB / 476.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1464, allocations: 0 / 476.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1464, allocations: 3.938 kB / 476.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1467, allocations: 202.9 kB / 476.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.1468, allocations: 104.6 kB / 476.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1468, allocations: 4 kB / 476.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.1469, allocations: 4 kB / 476.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1469, allocations: 7.984 kB / 476.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1469, allocations: 0 / 476.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000614/0.1475, allocations: 0.6472 MB / 477.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1475, allocations: 0 / 477.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1478, allocations: 12 kB / 477.3 MB, free: 5.773 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 (3): * Single equations (assignments): 3 * 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.0008206/0.1486, allocations: 355.2 kB / 477.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1488, allocations: 43.83 kB / 477.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1488, allocations: 0 / 477.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.561e-05/0.1489, allocations: 19.98 kB / 477.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.1493, allocations: 25.95 kB / 477.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1504, allocations: 0.8437 MB / 478.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.1509, allocations: 0.8145 MB / 479.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.345e-05/0.151, allocations: 7.984 kB / 479.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.151, allocations: 15.42 kB / 479.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.151, allocations: 4 kB / 479.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of Templates: time 0.004772/0.1558, allocations: 1.262 MB / 480.6 MB, free: 2.473 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches