Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001152/0.001152, allocations: 191 kB / 19.34 MB, free: 3.766 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.347/1.347, allocations: 222.9 MB / 243 MB, free: 15.13 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.191/0.191, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 68.48 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003037/0.1208, allocations: 1.556 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.1215, allocations: 407.2 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.1216, allocations: 4 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.1218, allocations: 19.86 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.122, allocations: 43.77 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1223, allocations: 114.7 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.1224, allocations: 51.91 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.1225, allocations: 15.98 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.1226, allocations: 27.84 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.1227, allocations: 15.94 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1227, allocations: 0 / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.1228, allocations: 39.92 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.1228, allocations: 15.92 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.1229, allocations: 23.8 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.123, allocations: 75.8 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.123, allocations: 0 / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.123, allocations: 4 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.123, allocations: 0 / 473.1 MB, free: 11.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004472/0.1235, allocations: 387.1 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1235, allocations: 8.031 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.1236, allocations: 12.84 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.1238, allocations: 204.1 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1238, allocations: 384 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1238, allocations: 384 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.124, allocations: 49.81 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.124, allocations: 0 / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.124, allocations: 0 / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.124, allocations: 0 / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.1241, allocations: 27.97 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.1245, allocations: 292.8 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1247, allocations: 38.56 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1248, allocations: 20.94 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1248, allocations: 0 / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/0.1249, allocations: 38.56 kB / 474.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1249, allocations: 4 kB / 474.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005256/0.1254, allocations: 145.3 kB / 474.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1254, allocations: 55.41 kB / 474.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1256, allocations: 164.4 kB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1256, allocations: 25.7 kB / 474.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1257, allocations: 100.1 kB / 474.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.1257, allocations: 19.66 kB / 474.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1257, allocations: 17.72 kB / 474.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1259, allocations: 326.8 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.1259, allocations: 19.98 kB / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.126, allocations: 23.92 kB / 475 MB, free: 9.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1262, allocations: 56.83 kB / 475.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1262, allocations: 7.875 kB / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000169/0.1264, allocations: 81.56 kB / 475.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1264, allocations: 8 kB / 475.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1264, allocations: 0 / 475.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1264, allocations: 0 / 475.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.1265, allocations: 11.98 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1265, allocations: 0 / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.1265, allocations: 11.94 kB / 475.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1265, allocations: 4 kB / 475.2 MB, free: 8.891 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 (5): * Single equations (assignments): 5 * 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.399e-05/0.1266, allocations: 125.8 kB / 475.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.1267, allocations: 7.906 kB / 475.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.1269, allocations: 97.95 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1269, allocations: 0 / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1269, allocations: 0 / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1269, allocations: 0 / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.1273, allocations: 362.8 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1274, allocations: 3.984 kB / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.044e-05/0.1274, allocations: 8 kB / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1274, allocations: 0 / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1274, allocations: 4 kB / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1274, allocations: 3.938 kB / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1274, allocations: 0 / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.1277, allocations: 187.4 kB / 476 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1277, allocations: 85.02 kB / 476.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1278, allocations: 4.266 kB / 476.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.1278, allocations: 7.938 kB / 476.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1279, allocations: 4 kB / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1279, allocations: 0 / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.751e-05/0.128, allocations: 135.2 kB / 476.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.128, allocations: 4 kB / 476.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1282, allocations: 8 kB / 476.2 MB, free: 7.758 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 (5): * Single equations (assignments): 5 * 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.0009384/0.1292, allocations: 417.3 kB / 476.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1294, allocations: 51.97 kB / 476.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1294, allocations: 0 / 476.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.1295, allocations: 27.92 kB / 476.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1298, allocations: 23.64 kB / 476.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.1302, allocations: 194.1 kB / 476.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1306, allocations: 0.6963 MB / 477.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.1306, allocations: 15.97 kB / 477.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.1306, allocations: 11.44 kB / 477.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1307, allocations: 4 kB / 477.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of Templates: time 0.003818/0.1345, allocations: 1.104 MB / 478.8 MB, free: 5.332 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches