Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 110.3 kB / 17.98 MB, free: 5.238 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.0009856/0.0009856, allocations: 193.3 kB / 18.9 MB, free: 4.32 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.336/1.336, allocations: 222.9 MB / 242.6 MB, free: 13.56 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.2/0.2, allocations: 44.17 MB / 336.9 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.39 kB / 408.5 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1197, allocations: 60.83 MB / 469.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003579/0.1233, allocations: 1.637 MB / 471 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008289/0.1241, allocations: 399.3 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.1242, allocations: 0 / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.1246, allocations: 71.78 kB / 471.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1248, allocations: 63.75 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1252, allocations: 83.58 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1253, allocations: 63.91 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1255, allocations: 20.16 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.26e-05/0.1255, allocations: 31.8 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1256, allocations: 51.88 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1257, allocations: 4 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1258, allocations: 43.98 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.1258, allocations: 15.94 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.1259, allocations: 35.72 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1261, allocations: 68.19 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1261, allocations: 4 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1261, allocations: 0 / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1261, allocations: 0 / 472 MB, free: 12.09 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.0004931/0.1266, allocations: 395 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1266, allocations: 15.91 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.1267, allocations: 12.84 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1269, allocations: 199.8 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1269, allocations: 4.375 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1269, allocations: 4.375 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1271, allocations: 49.62 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1271, allocations: 0 / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1271, allocations: 4 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1271, allocations: 7.984 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/0.1272, allocations: 23.98 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.1277, allocations: 296.7 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1278, allocations: 38.56 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.1279, allocations: 20.94 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1279, allocations: 4 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1279, allocations: 34.5 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1279, allocations: 0 / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009062/0.1288, allocations: 225.4 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1289, allocations: 55.41 kB / 473.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1291, allocations: 190.2 kB / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1291, allocations: 25.7 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.1292, allocations: 100.1 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.1293, allocations: 27.64 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.1293, allocations: 17.72 kB / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1295, allocations: 322.8 kB / 474 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.1296, allocations: 31.98 kB / 474 MB, free: 9.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.1296, allocations: 23.98 kB / 474 MB, free: 9.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1298, allocations: 64.77 kB / 474.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1298, allocations: 0 / 474.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002015/0.13, allocations: 109.6 kB / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.13, allocations: 8 kB / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.13, allocations: 4.078 kB / 474.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1301, allocations: 3.938 kB / 474.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.1302, allocations: 15.98 kB / 474.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1302, allocations: 11.92 kB / 474.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.1302, allocations: 0 / 474.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1302, allocations: 4 kB / 474.3 MB, free: 9.562 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.0001131/0.1304, allocations: 126.4 kB / 474.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.1304, allocations: 7.906 kB / 474.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.1307, allocations: 118.3 kB / 474.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1307, allocations: 4 kB / 474.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1307, allocations: 3.938 kB / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1307, allocations: 0 / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.1313, allocations: 399.2 kB / 474.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1313, allocations: 0 / 474.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.397e-05/0.1314, allocations: 23.92 kB / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.1314, allocations: 0 / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1314, allocations: 4 kB / 474.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1314, allocations: 4 kB / 474.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1314, allocations: 0 / 474.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1317, allocations: 204.2 kB / 475.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.1317, allocations: 84.95 kB / 475.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1318, allocations: 7.984 kB / 475.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1318, allocations: 4 kB / 475.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.1319, allocations: 7.984 kB / 475.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1319, allocations: 4 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.132, allocations: 144.9 kB / 475.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1321, allocations: 0 / 475.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1323, allocations: 27.98 kB / 475.4 MB, free: 8.301 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.001067/0.1334, allocations: 465.1 kB / 475.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1336, allocations: 63.97 kB / 475.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1336, allocations: 0 / 475.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.1337, allocations: 40.06 kB / 476 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1342, allocations: 24.08 kB / 476 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.1347, allocations: 300.5 kB / 476.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1351, allocations: 0.7002 MB / 477 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.1351, allocations: 11.44 kB / 477 MB, free: 6.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1351, allocations: 0 / 477 MB, free: 6.828 MB / 350.1 MB Notification: Performance of Templates: time 0.003807/0.1389, allocations: 1.679 MB / 478.7 MB, free: 5.152 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches