Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 109.8 kB / 17.03 MB, free: 5.707 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.00234/0.00234, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.793/1.793, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2329/0.2329, allocations: 43.53 MB / 314.7 MB, free: 472 kB / 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.001454/0.001454, allocations: 71.2 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1119, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003045/0.115, allocations: 1.604 MB / 443.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1162, allocations: 0.9612 MB / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.1163, allocations: 0 / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.1166, allocations: 27.84 kB / 444.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1168, allocations: 43.78 kB / 444.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.1172, allocations: 147.6 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1173, allocations: 71.75 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1175, allocations: 23.94 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.1175, allocations: 23.92 kB / 444.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1177, allocations: 35.83 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1177, allocations: 4 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1178, allocations: 51.92 kB / 445 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.1179, allocations: 23.91 kB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.1179, allocations: 19.88 kB / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1181, allocations: 95.7 kB / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1181, allocations: 4 kB / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1181, allocations: 4 kB / 445.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1182, allocations: 0 / 445.1 MB, free: 2.988 MB / 318.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.0004319/0.1186, allocations: 399.1 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1186, allocations: 11.89 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1187, allocations: 8.844 kB / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1188, allocations: 180.3 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1189, allocations: 4.375 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1189, allocations: 384 / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1191, allocations: 87.5 kB / 445.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1191, allocations: 0 / 445.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1191, allocations: 0 / 445.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1191, allocations: 4 kB / 445.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1192, allocations: 35.91 kB / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.1196, allocations: 312.7 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1197, allocations: 42.55 kB / 446.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.1197, allocations: 32.88 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1198, allocations: 4.062 kB / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1198, allocations: 38.5 kB / 446.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1198, allocations: 4 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006382/0.1204, allocations: 213.2 kB / 446.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1205, allocations: 85.11 kB / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.1206, allocations: 137.2 kB / 446.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.1206, allocations: 29.7 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.1206, allocations: 92.08 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1207, allocations: 23.7 kB / 446.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1207, allocations: 17.72 kB / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.1208, allocations: 326.8 kB / 447.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.84e-05/0.1209, allocations: 35.97 kB / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.68e-05/0.121, allocations: 57.67 kB / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.1212, allocations: 89.02 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1212, allocations: 0 / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002177/0.1214, allocations: 129.5 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1214, allocations: 8 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1214, allocations: 0 / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1214, allocations: 288 / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1215, allocations: 19.97 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1216, allocations: 4 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.1216, allocations: 7.938 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1216, allocations: 7.984 kB / 447.5 MB, free: 360 kB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.1217, allocations: 121.8 kB / 447.6 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.1217, allocations: 15.89 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.122, allocations: 137.9 kB / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.122, allocations: 0 / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.122, allocations: 0 / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.122, allocations: 3.938 kB / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.1226, allocations: 406.5 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1226, allocations: 0 / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.1226, allocations: 19.92 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1227, allocations: 4 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1227, allocations: 11.88 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1227, allocations: 3.984 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1227, allocations: 0 / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.123, allocations: 215.4 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.123, allocations: 85 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1231, allocations: 7.938 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.1232, allocations: 7.984 kB / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.1232, allocations: 8 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.1232, allocations: 4 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.402e-05/0.1233, allocations: 111.2 kB / 448.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1233, allocations: 0 / 448.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1236, allocations: 28 kB / 448.7 MB, free: 15.07 MB / 334.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 (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.0009551/0.1245, allocations: 449.6 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.1249, allocations: 91.92 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1249, allocations: 0 / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.125, allocations: 47.91 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.1254, allocations: 19.92 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.1258, allocations: 206.5 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1261, allocations: 0.6937 MB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.669e-05/0.1262, allocations: 23.95 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.1262, allocations: 19.44 kB / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1262, allocations: 4 kB / 450.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of Templates: time 0.00383/0.13, allocations: 1.528 MB / 451.7 MB, free: 12.04 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches