Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.0008472, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0008559/0.000856, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.487/1.487, allocations: 223.2 MB / 242.3 MB, free: 216 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.2099/0.2099, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003608, allocations: 11.98 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002204/0.1377, allocations: 1.341 MB / 473.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007659/0.1385, allocations: 419.2 kB / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.03e-05/0.1386, allocations: 0 / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.1391, allocations: 443.2 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.1394, allocations: 247.5 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1397, allocations: 118.7 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.1399, allocations: 167.6 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.14, allocations: 12 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1402, allocations: 103.8 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.1404, allocations: 199.6 kB / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1404, allocations: 4 kB / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1405, allocations: 43.98 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1406, allocations: 79.69 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.262e-05/0.1407, allocations: 132.7 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.141, allocations: 250.9 kB / 475.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.141, allocations: 0 / 475.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.141, allocations: 0 / 475.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.141, allocations: 0 / 475.8 MB, free: 9.824 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006354/0.1417, allocations: 0.5954 MB / 476.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1417, allocations: 8.031 kB / 476.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.1418, allocations: 44.38 kB / 476.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.142, allocations: 296.1 kB / 476.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1421, allocations: 8.375 kB / 476.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1421, allocations: 384 / 476.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1422, allocations: 69.73 kB / 476.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1423, allocations: 0 / 476.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1423, allocations: 0 / 476.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1423, allocations: 4 kB / 476.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1424, allocations: 31.98 kB / 476.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.143, allocations: 396.6 kB / 477.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1431, allocations: 50.56 kB / 477.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.1432, allocations: 20.94 kB / 477.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1432, allocations: 4 kB / 477.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1432, allocations: 30.56 kB / 477.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1432, allocations: 0 / 477.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009432/0.1442, allocations: 340.2 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1443, allocations: 55.34 kB / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008073/0.1451, allocations: 0.8535 MB / 478.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1451, allocations: 25.7 kB / 478.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1453, allocations: 224.1 kB / 478.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1453, allocations: 23.56 kB / 478.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.1453, allocations: 17.72 kB / 478.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1455, allocations: 366.8 kB / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.1456, allocations: 23.98 kB / 479.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.1457, allocations: 27.98 kB / 479.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1458, allocations: 77.05 kB / 479.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1458, allocations: 0 / 479.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002216/0.1461, allocations: 145.1 kB / 479.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1461, allocations: 4 kB / 479.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1461, allocations: 0 / 479.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1461, allocations: 4 kB / 479.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1462, allocations: 19.98 kB / 479.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.1462, allocations: 7.938 kB / 479.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.1463, allocations: 8 kB / 479.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1463, allocations: 0 / 479.5 MB, free: 5.863 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.1465, allocations: 214.3 kB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.1466, allocations: 47.42 kB / 479.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.1469, allocations: 177.3 kB / 479.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1469, allocations: 0 / 479.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1469, allocations: 3.938 kB / 479.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1469, allocations: 0 / 479.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.1475, allocations: 0.5031 MB / 480.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1475, allocations: 7.938 kB / 480.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.1476, allocations: 19.98 kB / 480.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1476, allocations: 4.031 kB / 480.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1476, allocations: 4 kB / 480.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1476, allocations: 0 / 480.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1477, allocations: 4 kB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.1479, allocations: 243.8 kB / 480.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.148, allocations: 112.5 kB / 480.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.148, allocations: 11.98 kB / 480.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.1481, allocations: 4 kB / 480.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.1482, allocations: 7.984 kB / 480.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1482, allocations: 4 kB / 480.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005824/0.1488, allocations: 0.6433 MB / 481.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1488, allocations: 8 kB / 481.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1491, allocations: 28 kB / 481.5 MB, free: 3.719 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 (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.0009888/0.15, allocations: 458.4 kB / 482 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1503, allocations: 83.86 kB / 482.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1503, allocations: 0 / 482.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.1504, allocations: 43.92 kB / 482.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.1508, allocations: 36.55 kB / 482.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1518, allocations: 0.8892 MB / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1522, allocations: 0.8301 MB / 483.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.346e-05/0.1523, allocations: 16.66 kB / 483.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.1523, allocations: 11.44 kB / 483.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1524, allocations: 0 / 483.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Templates: time 0.006912/0.1593, allocations: 1.581 MB / 485.5 MB, free: 15.92 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches