Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, 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.001686/0.001686, allocations: 175.1 kB / 16.56 MB, free: 6.379 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.391/1.391, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3505/0.3505, allocations: 43.54 MB / 314.5 MB, free: 8.773 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.0004872/0.0004873, allocations: 27.97 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1172, allocations: 58.85 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.001832/0.119, allocations: 1.318 MB / 444.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1203, allocations: 0.8713 MB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.1203, allocations: 4 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.1205, allocations: 11.92 kB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1207, allocations: 47.83 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.1211, allocations: 135.8 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1212, allocations: 43.88 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/0.1213, allocations: 15.98 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.1213, allocations: 27.84 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1215, allocations: 19.92 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.1215, allocations: 0 / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1216, allocations: 31.92 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.1216, allocations: 15.92 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.1217, allocations: 37.64 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1218, allocations: 76.09 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.1218, allocations: 4 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1218, allocations: 4 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1218, allocations: 0 / 445.4 MB, free: 10.41 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.0004068/0.1223, allocations: 387 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1223, allocations: 16.02 kB / 445.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.1223, allocations: 15.8 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.1225, allocations: 187 kB / 446 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-06/0.1225, allocations: 0 / 446 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.1226, allocations: 11.98 kB / 446 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1227, allocations: 87.31 kB / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1228, allocations: 0 / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1228, allocations: 0 / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1228, allocations: 0 / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1229, allocations: 55.92 kB / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.1233, allocations: 312.7 kB / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1235, allocations: 50.56 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1235, allocations: 0 / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1235, allocations: 34.56 kB / 446.5 MB, free: 9.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1235, allocations: 0 / 446.5 MB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007516/0.1243, allocations: 265.3 kB / 446.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1243, allocations: 77.11 kB / 446.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1245, allocations: 146 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1245, allocations: 25.7 kB / 447 MB, free: 8.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.1245, allocations: 96.08 kB / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1246, allocations: 19.61 kB / 447.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.1246, allocations: 8 kB / 447.2 MB, free: 8.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.1247, allocations: 318.8 kB / 447.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1248, allocations: 43.95 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1249, allocations: 61.69 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1251, allocations: 56.14 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1251, allocations: 0 / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002866/0.1254, allocations: 137.6 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1254, allocations: 7.953 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1254, allocations: 0 / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1254, allocations: 4 kB / 447.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1256, allocations: 23.98 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1256, allocations: 0 / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-05/0.1257, allocations: 19.89 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1257, allocations: 4 kB / 447.8 MB, free: 7.754 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 0.000107/0.1258, allocations: 129.7 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.1258, allocations: 15.83 kB / 448 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.1262, allocations: 154.3 kB / 448.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1262, allocations: 0 / 448.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1263, allocations: 0 / 448.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1263, allocations: 7.984 kB / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.1269, allocations: 426.4 kB / 448.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1269, allocations: 0 / 448.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.302e-05/0.127, allocations: 27.94 kB / 448.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.127, allocations: 0 / 448.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.127, allocations: 0 / 448.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.127, allocations: 0 / 448.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.127, allocations: 0 / 448.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.1274, allocations: 243.3 kB / 448.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.1275, allocations: 89 kB / 448.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1275, allocations: 7.953 kB / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.1276, allocations: 11.98 kB / 448.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.1277, allocations: 12.27 kB / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1277, allocations: 4 kB / 448.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.248e-05/0.1278, allocations: 106.9 kB / 449 MB, free: 6.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1278, allocations: 0 / 449 MB, free: 6.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1281, allocations: 31.98 kB / 449.1 MB, free: 6.414 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.001014/0.1291, allocations: 437.8 kB / 449.5 MB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.1295, allocations: 107.9 kB / 449.6 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.1295, allocations: 0 / 449.6 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1296, allocations: 67.89 kB / 449.7 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.1299, allocations: 8 kB / 449.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.1304, allocations: 209.1 kB / 449.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1306, allocations: 0.7051 MB / 450.6 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.828e-05/0.1307, allocations: 24.64 kB / 450.6 MB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.1308, allocations: 15.44 kB / 450.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1308, allocations: 0 / 450.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of Templates: time 0.003766/0.1345, allocations: 1.466 MB / 452.1 MB, free: 3.363 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches