Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001268, allocations: 95.91 kB / 17.35 MB, free: 6.375 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.001597/0.001597, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.46/1.46, allocations: 223.3 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.2681/0.2681, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003356, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 61.92 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002239/0.1215, allocations: 1.348 MB / 473.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008554/0.1223, allocations: 439.2 kB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.1224, allocations: 4 kB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1227, allocations: 51.88 kB / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1228, allocations: 43.83 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.1233, allocations: 155 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.1235, allocations: 75.77 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1236, allocations: 27.97 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.281e-05/0.1237, allocations: 15.92 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.1238, allocations: 39.78 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1238, allocations: 4 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1239, allocations: 51.97 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.124, allocations: 15.98 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.1241, allocations: 57.39 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1243, allocations: 95.97 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1243, allocations: 0 / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1243, allocations: 0 / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1243, allocations: 0 / 474.7 MB, free: 10.93 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.0005719/0.1249, allocations: 395.2 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1249, allocations: 12.03 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.125, allocations: 8.844 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1252, allocations: 194.4 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1252, allocations: 4.375 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1252, allocations: 16.25 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1254, allocations: 69.8 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1254, allocations: 7.906 kB / 475.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1254, allocations: 0 / 475.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1255, allocations: 4 kB / 475.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1256, allocations: 51.95 kB / 475.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.1261, allocations: 320.7 kB / 475.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1264, allocations: 66.55 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.1265, allocations: 28.97 kB / 475.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1265, allocations: 4 kB / 475.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1265, allocations: 34.59 kB / 475.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1265, allocations: 4 kB / 475.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001588/0.1281, allocations: 0.489 MB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1282, allocations: 59.34 kB / 476.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1284, allocations: 167.8 kB / 476.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1284, allocations: 29.7 kB / 476.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.1285, allocations: 100 kB / 476.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.1285, allocations: 43.39 kB / 476.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.1286, allocations: 13.72 kB / 476.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1288, allocations: 330.8 kB / 477.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1289, allocations: 59.95 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.1291, allocations: 59.97 kB / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.1294, allocations: 144.7 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1294, allocations: 7.938 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000418/0.1298, allocations: 173.5 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1299, allocations: 8 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.1299, allocations: 3.938 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1299, allocations: 0 / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.13, allocations: 27.98 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1301, allocations: 4 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.345e-05/0.1301, allocations: 11.98 kB / 477.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.1302, allocations: 8 kB / 477.6 MB, free: 7.797 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 (11): * Single equations (assignments): 11 * 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.0001677/0.1303, allocations: 130.3 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.1304, allocations: 11.91 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005035/0.1309, allocations: 210.7 kB / 477.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.1309, allocations: 0 / 477.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.1309, allocations: 7.938 kB / 477.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1309, allocations: 0 / 477.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.1318, allocations: 0.5078 MB / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1318, allocations: 0 / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.1319, allocations: 39.98 kB / 478.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1319, allocations: 0 / 478.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1319, allocations: 7.984 kB / 478.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1319, allocations: 0 / 478.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.132, allocations: 0 / 478.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.1324, allocations: 289 kB / 478.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.1325, allocations: 92.91 kB / 478.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1325, allocations: 4 kB / 478.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.1326, allocations: 23.92 kB / 478.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.1327, allocations: 7.984 kB / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.1327, allocations: 8 kB / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1329, allocations: 134.6 kB / 479 MB, free: 6.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1329, allocations: 4 kB / 479 MB, free: 6.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1331, allocations: 20 kB / 479 MB, free: 6.203 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001172/0.1343, allocations: 453.5 kB / 479.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003929/0.1347, allocations: 143.8 kB / 479.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1347, allocations: 3.938 kB / 479.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.1349, allocations: 84.02 kB / 479.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1353, allocations: 18.95 kB / 479.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.1359, allocations: 319.3 kB / 480 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1363, allocations: 0.7199 MB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1364, allocations: 36.38 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.1364, allocations: 11.44 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1364, allocations: 4 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of Templates: time 0.005137/0.1416, allocations: 1.478 MB / 482.3 MB, free: 3.078 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches