Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 106.4 kB / 17.33 MB, free: 5.996 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.001112/0.001112, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.412/1.412, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2436/0.2436, allocations: 44.17 MB / 336.2 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.12 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 60.82 MB / 468.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003525/0.1355, allocations: 1.672 MB / 470.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1372, allocations: 1.039 MB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.1373, allocations: 0 / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.1376, allocations: 23.86 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1378, allocations: 39.84 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.1383, allocations: 161.7 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1384, allocations: 67.83 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1386, allocations: 27.92 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.386e-05/0.1386, allocations: 23.92 kB / 471.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.1388, allocations: 31.84 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1388, allocations: 0 / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.139, allocations: 51.98 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.139, allocations: 27.91 kB / 471.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.1391, allocations: 23.86 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1393, allocations: 103.9 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1393, allocations: 0 / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1393, allocations: 4 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1393, allocations: 0 / 472 MB, free: 11.46 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.0005306/0.1399, allocations: 391.2 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1399, allocations: 8.031 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.14, allocations: 12.84 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1402, allocations: 184.3 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.1402, allocations: 384 / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1402, allocations: 4.375 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.1404, allocations: 83.45 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1405, allocations: 0 / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1405, allocations: 4 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1405, allocations: 0 / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1406, allocations: 43.94 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.1411, allocations: 304.7 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1413, allocations: 50.48 kB / 473.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.081e-05/0.1413, allocations: 24.94 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1414, allocations: 0 / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1414, allocations: 38.55 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1414, allocations: 4 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007693/0.1422, allocations: 221.1 kB / 473.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.1423, allocations: 81.05 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1424, allocations: 137.8 kB / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1424, allocations: 29.7 kB / 473.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.1425, allocations: 96.12 kB / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1425, allocations: 23.66 kB / 473.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.1425, allocations: 21.7 kB / 473.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1427, allocations: 322.8 kB / 474 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1428, allocations: 31.97 kB / 474.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1429, allocations: 61.67 kB / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.1431, allocations: 92.73 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1431, allocations: 0 / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003862/0.1435, allocations: 125.6 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1436, allocations: 4 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1436, allocations: 0 / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1436, allocations: 0 / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1437, allocations: 23.98 kB / 474.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1437, allocations: 0 / 474.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.1438, allocations: 15.92 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1438, allocations: 0 / 474.4 MB, free: 8.828 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 9.863e-05/0.1439, allocations: 126.3 kB / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.144, allocations: 7.906 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.1443, allocations: 130 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1443, allocations: 4 kB / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1443, allocations: 0 / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1443, allocations: 3.938 kB / 474.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006978/0.145, allocations: 410.8 kB / 475.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1451, allocations: 0 / 475.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.1451, allocations: 19.98 kB / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1451, allocations: 0 / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1452, allocations: 3.938 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1452, allocations: 4 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1452, allocations: 0 / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.1455, allocations: 235.4 kB / 475.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.1456, allocations: 81.02 kB / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1456, allocations: 7.938 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.1457, allocations: 15.92 kB / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1457, allocations: 7.984 kB / 475.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1458, allocations: 4 kB / 475.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.485e-05/0.1458, allocations: 106.5 kB / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1458, allocations: 0 / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1461, allocations: 24 kB / 475.5 MB, free: 7.559 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.0009746/0.1471, allocations: 449.2 kB / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.1474, allocations: 95.84 kB / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1474, allocations: 4 kB / 476.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1475, allocations: 43.97 kB / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1479, allocations: 11.98 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.1484, allocations: 230.3 kB / 476.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.149, allocations: 0.7002 MB / 477.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.29e-05/0.1491, allocations: 36.11 kB / 477.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.1491, allocations: 15.42 kB / 477.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1491, allocations: 4 kB / 477.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of Templates: time 0.005098/0.1542, allocations: 1.477 MB / 478.6 MB, free: 4.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches