Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_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.001039/0.00104, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 177.5 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3421/0.3421, allocations: 43.55 MB / 314.5 MB, free: 8.805 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000547/0.0005471, allocations: 20 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1097, allocations: 58.86 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.001917/0.1117, allocations: 1.31 MB / 444.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005773/0.1123, allocations: 283.9 kB / 444.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.1124, allocations: 0 / 444.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1127, allocations: 47.88 kB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1128, allocations: 47.81 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.1132, allocations: 127.8 kB / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1134, allocations: 55.8 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.1135, allocations: 19.98 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.1135, allocations: 23.91 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.1136, allocations: 31.84 kB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1136, allocations: 0 / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.1137, allocations: 23.94 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.1138, allocations: 11.98 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.1138, allocations: 33.64 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1139, allocations: 80.09 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.1139, allocations: 0 / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1139, allocations: 0 / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.114, allocations: 0 / 444.8 MB, free: 10.98 MB / 382.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.000441/0.1144, allocations: 402.9 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1144, allocations: 12.02 kB / 445.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.1145, allocations: 11.86 kB / 445.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1147, allocations: 191.5 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1147, allocations: 8 kB / 445.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1147, allocations: 4 kB / 445.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1149, allocations: 61.67 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1149, allocations: 0 / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1149, allocations: 0 / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1149, allocations: 0 / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1151, allocations: 59.84 kB / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.1155, allocations: 308.8 kB / 445.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1157, allocations: 54.56 kB / 445.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1157, allocations: 0 / 445.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1157, allocations: 34.55 kB / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.154e-06/0.1157, allocations: 0 / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008295/0.1166, allocations: 277.1 kB / 446.2 MB, free: 9.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.1166, allocations: 55.34 kB / 446.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1168, allocations: 174.5 kB / 446.4 MB, free: 9.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1168, allocations: 25.7 kB / 446.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.1168, allocations: 100.1 kB / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.1169, allocations: 27.72 kB / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.1169, allocations: 4 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.117, allocations: 322.8 kB / 446.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1171, allocations: 43.97 kB / 447 MB, free: 8.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1172, allocations: 47.97 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1174, allocations: 47.97 kB / 447.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1174, allocations: 0 / 447.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002904/0.1177, allocations: 141.4 kB / 447.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1177, allocations: 7.953 kB / 447.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1177, allocations: 3.938 kB / 447.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1177, allocations: 0 / 447.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1179, allocations: 31.92 kB / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1179, allocations: 0 / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.1179, allocations: 23.92 kB / 447.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.118, allocations: 0 / 447.3 MB, free: 8.332 MB / 382.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.877e-05/0.1181, allocations: 121.8 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.1181, allocations: 11.91 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.1185, allocations: 158.3 kB / 447.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1185, allocations: 4 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1185, allocations: 4 kB / 447.6 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1185, allocations: 3.938 kB / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.1191, allocations: 426.5 kB / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1191, allocations: 0 / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.865e-05/0.1192, allocations: 27.92 kB / 448 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1192, allocations: 0 / 448 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1192, allocations: 4 kB / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1192, allocations: 0 / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1192, allocations: 0 / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1196, allocations: 243.8 kB / 448.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1196, allocations: 88.92 kB / 448.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1196, allocations: 11.95 kB / 448.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.1197, allocations: 11.98 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.1198, allocations: 7.984 kB / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1198, allocations: 0 / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1199, allocations: 136.1 kB / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1199, allocations: 0 / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1202, allocations: 19.98 kB / 448.5 MB, free: 6.977 MB / 382.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009422/0.1211, allocations: 405.4 kB / 448.9 MB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.1215, allocations: 115.8 kB / 449 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1215, allocations: 0 / 449 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1216, allocations: 47.97 kB / 449.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1219, allocations: 15.98 kB / 449.1 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.1224, allocations: 249.1 kB / 449.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1227, allocations: 0.7082 MB / 450 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.208e-05/0.1228, allocations: 24.64 kB / 450.1 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.1229, allocations: 15.44 kB / 450.1 MB, free: 5.387 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1229, allocations: 0 / 450.1 MB, free: 5.387 MB / 382.1 MB Notification: Performance of Templates: time 0.004688/0.1276, allocations: 1.199 MB / 451.3 MB, free: 4.188 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches