Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000782/0.0007821, allocations: 89.89 kB / 18 MB, free: 5.613 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.0009325/0.0009325, allocations: 169.1 kB / 18.9 MB, free: 4.746 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.362/1.362, allocations: 223.3 MB / 243 MB, free: 14.19 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.1916/0.1916, allocations: 44.25 MB / 338.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.001963/0.1144, allocations: 1.348 MB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008318/0.1152, allocations: 435.2 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.1153, allocations: 4 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1156, allocations: 71.84 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.1158, allocations: 51.88 kB / 474.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1162, allocations: 158.3 kB / 475 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1164, allocations: 79.81 kB / 475.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1165, allocations: 19.98 kB / 475.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.783e-05/0.1166, allocations: 39.78 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.1167, allocations: 47.77 kB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1167, allocations: 4 kB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1168, allocations: 43.98 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.1169, allocations: 23.91 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.117, allocations: 61.44 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1171, allocations: 72.17 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1171, allocations: 0 / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1172, allocations: 0 / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1172, allocations: 0 / 475.4 MB, free: 10.86 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.0004825/0.1177, allocations: 415 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1177, allocations: 8.031 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1177, allocations: 16.75 kB / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.118, allocations: 200 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.118, allocations: 8.375 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.118, allocations: 384 / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1182, allocations: 73.78 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1182, allocations: 0 / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1182, allocations: 7.938 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1182, allocations: 4 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1184, allocations: 47.97 kB / 476.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.1189, allocations: 328.7 kB / 476.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1191, allocations: 62.58 kB / 476.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.981e-05/0.1192, allocations: 28.97 kB / 476.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1193, allocations: 8 kB / 476.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1193, allocations: 34.56 kB / 476.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.1193, allocations: 0 / 476.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00182/0.1211, allocations: 0.4894 MB / 477.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1212, allocations: 71.2 kB / 477.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1214, allocations: 199.3 kB / 477.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1214, allocations: 33.7 kB / 477.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.1215, allocations: 100.1 kB / 477.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.1215, allocations: 31.47 kB / 477.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.1216, allocations: 21.7 kB / 477.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1217, allocations: 326.8 kB / 477.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1219, allocations: 59.97 kB / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.122, allocations: 63.95 kB / 478 MB, free: 8.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.1223, allocations: 145 kB / 478.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1223, allocations: 4 kB / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003741/0.1227, allocations: 181.5 kB / 478.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1228, allocations: 4 kB / 478.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1228, allocations: 7.938 kB / 478.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.1228, allocations: 0 / 478.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1229, allocations: 31.92 kB / 478.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1229, allocations: 4 kB / 478.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.123, allocations: 11.98 kB / 478.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.123, allocations: 4 kB / 478.3 MB, free: 7.641 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.000111/0.1232, allocations: 138.4 kB / 478.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.1232, allocations: 15.8 kB / 478.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.1237, allocations: 206.9 kB / 478.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1237, allocations: 3.938 kB / 478.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1237, allocations: 4 kB / 478.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1237, allocations: 3.984 kB / 478.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007657/0.1245, allocations: 0.5155 MB / 479.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1245, allocations: 0 / 479.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.1246, allocations: 32.05 kB / 479.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1246, allocations: 0 / 479.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1246, allocations: 4 kB / 479.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1247, allocations: 0 / 479.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1247, allocations: 192 / 479.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.1251, allocations: 297 kB / 479.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.1252, allocations: 92.92 kB / 479.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1252, allocations: 7.922 kB / 479.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1253, allocations: 20 kB / 479.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.1254, allocations: 7.984 kB / 479.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.1254, allocations: 4 kB / 479.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1255, allocations: 155.9 kB / 479.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1255, allocations: 0 / 479.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.1258, allocations: 31.98 kB / 479.9 MB, free: 6.008 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.001076/0.1269, allocations: 461.7 kB / 480.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.1273, allocations: 143.9 kB / 480.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1273, allocations: 3.938 kB / 480.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.1275, allocations: 84.02 kB / 480.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1279, allocations: 31.91 kB / 480.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.1285, allocations: 361.1 kB / 480.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1288, allocations: 0.716 MB / 481.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.1289, allocations: 15.44 kB / 481.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1289, allocations: 0 / 481.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of Templates: time 0.004053/0.1329, allocations: 2.029 MB / 483.7 MB, free: 2.309 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches