Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001149, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001099/0.001099, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.359/1.359, allocations: 222.9 MB / 243 MB, free: 15.15 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.2005/0.2005, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 68.67 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002961/0.1121, allocations: 1.631 MB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000784/0.1129, allocations: 427.1 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.1129, allocations: 0 / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1132, allocations: 71.77 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.1135, allocations: 63.8 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.1138, allocations: 134.8 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.114, allocations: 75.77 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1141, allocations: 23.98 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.1142, allocations: 35.89 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1143, allocations: 51.83 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1143, allocations: 4 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1144, allocations: 47.97 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.1145, allocations: 23.86 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.1146, allocations: 39.73 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1148, allocations: 111.6 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1148, allocations: 0 / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1148, allocations: 0 / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1148, allocations: 4 kB / 473.4 MB, free: 10.9 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004949/0.1153, allocations: 411 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1153, allocations: 8.031 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.1154, allocations: 16.75 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.1156, allocations: 200 kB / 474 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1156, allocations: 4.375 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1156, allocations: 12.36 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1158, allocations: 65.8 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1158, allocations: 4 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1158, allocations: 0 / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1158, allocations: 3.984 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.116, allocations: 43.91 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.1164, allocations: 300.8 kB / 474.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.1166, allocations: 58.59 kB / 474.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.1167, allocations: 24.97 kB / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1167, allocations: 3.984 kB / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1167, allocations: 34.56 kB / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1168, allocations: 0 / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001311/0.1181, allocations: 384.8 kB / 475 MB, free: 9.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1181, allocations: 55.34 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1183, allocations: 202.2 kB / 475.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1183, allocations: 29.7 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.1184, allocations: 104 kB / 475.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.1185, allocations: 43.44 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.1185, allocations: 25.72 kB / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1187, allocations: 322.8 kB / 475.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1188, allocations: 43.91 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1189, allocations: 43.97 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.1191, allocations: 108.7 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1192, allocations: 0 / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002887/0.1194, allocations: 137.8 kB / 476.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1195, allocations: 4 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1195, allocations: 0 / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1195, allocations: 4 kB / 476.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1196, allocations: 32.42 kB / 476.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1196, allocations: 0 / 476.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.1197, allocations: 11.98 kB / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1197, allocations: 8 kB / 476.1 MB, free: 7.98 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 (11): * Single equations (assignments): 11 * 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 0.0001091/0.1198, allocations: 125.8 kB / 476.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.1199, allocations: 19.81 kB / 476.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.1202, allocations: 166.1 kB / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1203, allocations: 7.938 kB / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1203, allocations: 4 kB / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1203, allocations: 0 / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.1209, allocations: 460.1 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1209, allocations: 4 kB / 476.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.121, allocations: 35.97 kB / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.121, allocations: 0 / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.121, allocations: 4 kB / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.121, allocations: 0 / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1211, allocations: 0 / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.1214, allocations: 264.8 kB / 477.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.1215, allocations: 81.02 kB / 477.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1215, allocations: 4 kB / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.1216, allocations: 7.984 kB / 477.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.1217, allocations: 15.98 kB / 477.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1217, allocations: 0 / 477.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1218, allocations: 159.2 kB / 477.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1218, allocations: 0 / 477.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1221, allocations: 28 kB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001318/0.1234, allocations: 464.9 kB / 477.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.1238, allocations: 111.8 kB / 478 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1238, allocations: 0 / 478 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.124, allocations: 63.89 kB / 478.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.1244, allocations: 19.94 kB / 478.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.125, allocations: 292.2 kB / 478.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.1254, allocations: 0.7119 MB / 479.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.483e-05/0.1255, allocations: 16.42 kB / 479.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.1255, allocations: 15.44 kB / 479.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1255, allocations: 0 / 479.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of Templates: time 0.004626/0.1302, allocations: 1.542 MB / 480.7 MB, free: 3.418 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches