Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008441/0.0008441, allocations: 98.94 kB / 18.01 MB, free: 5.738 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.001084/0.001084, allocations: 178.5 kB / 18.91 MB, free: 4.871 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.464/1.464, allocations: 223.3 MB / 243 MB, free: 14.47 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.2038/0.2038, allocations: 44.24 MB / 338.3 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003305, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002044/0.115, allocations: 1.274 MB / 474.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1166, allocations: 1.004 MB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.1167, allocations: 0 / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.1169, allocations: 15.92 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.1171, allocations: 35.84 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1174, allocations: 94.58 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1176, allocations: 59.78 kB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1177, allocations: 15.98 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.1178, allocations: 19.92 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.1179, allocations: 23.86 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1179, allocations: 0 / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1181, allocations: 55.89 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.1181, allocations: 7.938 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.1182, allocations: 41.58 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1183, allocations: 71.88 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1184, allocations: 0 / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1184, allocations: 0 / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1184, allocations: 0 / 475.6 MB, free: 10.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004785/0.1189, allocations: 371.6 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1189, allocations: 8.031 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.1189, allocations: 4.938 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1192, allocations: 188.2 kB / 476.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1192, allocations: 8.312 kB / 476.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1192, allocations: 384 / 476.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1194, allocations: 71.53 kB / 476.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1194, allocations: 3.984 kB / 476.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1194, allocations: 4 kB / 476.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1194, allocations: 4 kB / 476.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1195, allocations: 23.98 kB / 476.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.12, allocations: 288.8 kB / 476.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1202, allocations: 46.55 kB / 476.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1203, allocations: 16.86 kB / 476.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1203, allocations: 0 / 476.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.1203, allocations: 38.56 kB / 476.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1203, allocations: 0 / 476.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005887/0.1209, allocations: 161.5 kB / 476.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.121, allocations: 81.11 kB / 476.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1211, allocations: 136.7 kB / 477 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1212, allocations: 25.7 kB / 477.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.1212, allocations: 92.12 kB / 477.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.1213, allocations: 23.64 kB / 477.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.1213, allocations: 13.72 kB / 477.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1214, allocations: 322.8 kB / 477.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.1215, allocations: 27.98 kB / 477.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/0.1216, allocations: 41.64 kB / 477.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1218, allocations: 60.86 kB / 477.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1218, allocations: 3.938 kB / 477.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002064/0.122, allocations: 89.66 kB / 477.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.122, allocations: 11.94 kB / 477.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.122, allocations: 0 / 477.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.122, allocations: 0 / 477.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.1221, allocations: 19.98 kB / 477.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1221, allocations: 3.938 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.1222, allocations: 4 kB / 477.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1222, allocations: 4 kB / 477.8 MB, free: 8.199 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 (5): * Single equations (assignments): 5 * 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.4e-05/0.1223, allocations: 122.3 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.1223, allocations: 3.906 kB / 477.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.1226, allocations: 105.6 kB / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1226, allocations: 288 / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1226, allocations: 320 / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1226, allocations: 0 / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.1231, allocations: 374.3 kB / 478.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1231, allocations: 3.984 kB / 478.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.1231, allocations: 15.98 kB / 478.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1231, allocations: 0 / 478.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1232, allocations: 4 kB / 478.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1232, allocations: 3.938 kB / 478.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1232, allocations: 0 / 478.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1234, allocations: 191.5 kB / 478.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.1235, allocations: 85 kB / 478.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1235, allocations: 8 kB / 478.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.1236, allocations: 11.94 kB / 478.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1236, allocations: 7.984 kB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1236, allocations: 0 / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.601e-05/0.1237, allocations: 107.3 kB / 478.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1237, allocations: 0 / 478.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.124, allocations: 16 kB / 478.8 MB, free: 7.055 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 (5): * Single equations (assignments): 5 * 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.001011/0.125, allocations: 451 kB / 479.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1252, allocations: 63.89 kB / 479.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1252, allocations: 0 / 479.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.1253, allocations: 35.92 kB / 479.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1257, allocations: 15.98 kB / 479.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.1261, allocations: 202.3 kB / 479.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1264, allocations: 0.6926 MB / 480.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.1264, allocations: 19.42 kB / 480.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1264, allocations: 0 / 480.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of Templates: time 0.003679/0.1301, allocations: 1.574 MB / 481.8 MB, free: 4.129 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches