Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.CombiTable1Dv.Test30,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.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 111 kB / 17.33 MB, free: 6.02 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.001357/0.001357, allocations: 197.3 kB / 18.25 MB, free: 5.113 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.442/1.442, allocations: 222.9 MB / 241.9 MB, free: 13.72 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.2135/0.2135, allocations: 44.18 MB / 336.2 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.78 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1141, allocations: 60.84 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002844/0.117, allocations: 1.633 MB / 470.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.1178, allocations: 411.3 kB / 470.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.1178, allocations: 0 / 470.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.1181, allocations: 71.83 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.1183, allocations: 63.75 kB / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1186, allocations: 106.5 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1187, allocations: 71.88 kB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.1188, allocations: 20.16 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.202e-05/0.1189, allocations: 43.78 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.119, allocations: 47.89 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.119, allocations: 11.98 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.101e-05/0.1191, allocations: 43.98 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.1191, allocations: 19.92 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.1192, allocations: 23.75 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1193, allocations: 99.98 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1193, allocations: 0 / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1193, allocations: 0 / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1193, allocations: 0 / 471.4 MB, free: 12.05 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.0004442/0.1198, allocations: 414.9 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.1198, allocations: 8.031 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.1199, allocations: 12.84 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.12, allocations: 200.1 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-06/0.12, allocations: 384 / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1201, allocations: 4.375 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1202, allocations: 57.56 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1202, allocations: 3.906 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1202, allocations: 4 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1203, allocations: 0 / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.276e-05/0.1204, allocations: 35.91 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.1207, allocations: 292.8 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.829e-05/0.1208, allocations: 46.55 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.1209, allocations: 16.86 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1209, allocations: 8.016 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.1209, allocations: 34.56 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1209, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008313/0.1218, allocations: 233.1 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.1218, allocations: 55.41 kB / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1221, allocations: 218.1 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1221, allocations: 25.7 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.1221, allocations: 104 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1222, allocations: 23.64 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1222, allocations: 21.72 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1223, allocations: 326.8 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.1224, allocations: 31.97 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.1225, allocations: 27.98 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.1227, allocations: 76.75 kB / 473.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1227, allocations: 0 / 473.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000207/0.1229, allocations: 117.5 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1229, allocations: 4 kB / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1229, allocations: 3.938 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1229, allocations: 8 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.123, allocations: 15.98 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1231, allocations: 4.25 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.1231, allocations: 4 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1231, allocations: 4 kB / 473.8 MB, free: 9.434 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 8.386e-05/0.1232, allocations: 130.3 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.1232, allocations: 11.91 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.1235, allocations: 134.8 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1235, allocations: 0 / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1236, allocations: 7.938 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1236, allocations: 0 / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.1241, allocations: 415.2 kB / 474.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1241, allocations: 7.984 kB / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.1242, allocations: 19.97 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1242, allocations: 0 / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1242, allocations: 11.98 kB / 474.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1242, allocations: 7.875 kB / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1242, allocations: 0 / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1245, allocations: 208.3 kB / 474.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.1245, allocations: 88.95 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1245, allocations: 0 / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.1246, allocations: 7.984 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.1247, allocations: 4 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1247, allocations: 4 kB / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1248, allocations: 151.2 kB / 474.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1248, allocations: 0 / 474.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1251, allocations: 23.98 kB / 475 MB, free: 8.113 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.001065/0.1261, allocations: 463.3 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1264, allocations: 75.95 kB / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1264, allocations: 0 / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.484e-05/0.1265, allocations: 43.91 kB / 475.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1269, allocations: 19.88 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.1274, allocations: 287.5 kB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1276, allocations: 0.7041 MB / 476.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.819e-05/0.1277, allocations: 16.64 kB / 476.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.1277, allocations: 23.36 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1278, allocations: 4 kB / 476.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of Templates: time 0.003703/0.1315, allocations: 1.337 MB / 477.9 MB, free: 5.289 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches