Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001432/0.001433, allocations: 192 kB / 18.55 MB, free: 4.566 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.302/1.302, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.205/0.205, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 62.5 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1104, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003066/0.1136, allocations: 1.619 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.115, allocations: 1.035 MB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.1151, allocations: 0 / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.1152, allocations: 23.86 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1155, allocations: 43.77 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1157, allocations: 130.9 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1159, allocations: 59.78 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.116, allocations: 16.12 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.116, allocations: 27.92 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1162, allocations: 31.84 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1162, allocations: 4 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-05/0.1163, allocations: 55.91 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.1163, allocations: 23.91 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.1164, allocations: 19.88 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1166, allocations: 95.75 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1166, allocations: 0 / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1166, allocations: 0 / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1166, allocations: 0 / 472.4 MB, free: 11.17 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.0004632/0.117, allocations: 383.6 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1171, allocations: 8.031 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.1172, allocations: 20.78 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1174, allocations: 192.1 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-06/0.1174, allocations: 384 / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1174, allocations: 4.375 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1176, allocations: 71.33 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1176, allocations: 0 / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1176, allocations: 4 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1176, allocations: 4 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1178, allocations: 35.97 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.1181, allocations: 292.7 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1182, allocations: 46.56 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.1183, allocations: 24.94 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1183, allocations: 0 / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1184, allocations: 30.56 kB / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.1184, allocations: 0 / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007032/0.1191, allocations: 205.2 kB / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1191, allocations: 77.11 kB / 473.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1193, allocations: 141.8 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1193, allocations: 25.7 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.1194, allocations: 88.05 kB / 474 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.1194, allocations: 27.64 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.1195, allocations: 25.72 kB / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1196, allocations: 318.8 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1197, allocations: 35.91 kB / 474.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1198, allocations: 45.69 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.1201, allocations: 80.91 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1201, allocations: 0 / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002447/0.1203, allocations: 105.5 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1203, allocations: 4 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1204, allocations: 3.938 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1204, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1205, allocations: 27.92 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1205, allocations: 0 / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.517e-05/0.1206, allocations: 15.92 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.1206, allocations: 4 kB / 474.7 MB, free: 8.625 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 (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 8.159e-05/0.1207, allocations: 113.8 kB / 474.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.1207, allocations: 11.84 kB / 474.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.121, allocations: 126.3 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.121, allocations: 4 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.121, allocations: 0 / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1211, allocations: 12.14 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.1215, allocations: 374.5 kB / 475.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1216, allocations: 8 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.1216, allocations: 15.98 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1216, allocations: 3.984 kB / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1217, allocations: 11.94 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1217, allocations: 0 / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1217, allocations: 4 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.122, allocations: 211.3 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.122, allocations: 85.02 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.122, allocations: 3.938 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.1221, allocations: 11.98 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.1222, allocations: 7.984 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1222, allocations: 4 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.946e-05/0.1222, allocations: 99.27 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1222, allocations: 0 / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1225, allocations: 35.98 kB / 475.8 MB, free: 7.398 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 (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.0008892/0.1234, allocations: 429.4 kB / 476.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000276/0.1237, allocations: 87.86 kB / 476.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1237, allocations: 0 / 476.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1238, allocations: 39.97 kB / 476.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1241, allocations: 27.47 kB / 476.4 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.1245, allocations: 194 kB / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.1247, allocations: 0.6885 MB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.1248, allocations: 20.23 kB / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.1248, allocations: 15.44 kB / 477.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1248, allocations: 0 / 477.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of Templates: time 0.00352/0.1283, allocations: 1.49 MB / 478.8 MB, free: 4.543 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches