Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, 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.001575/0.001575, 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.334/1.334, allocations: 222.9 MB / 243 MB, free: 15.09 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.2089/0.2089, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.47 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1211, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003628/0.1248, allocations: 1.702 MB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1263, allocations: 0.8847 MB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1265, allocations: 3.938 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1268, allocations: 35.83 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.1271, allocations: 55.69 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.1275, allocations: 107.1 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1277, allocations: 103.7 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1278, allocations: 4.234 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1279, allocations: 47.78 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.128, allocations: 35.78 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1281, allocations: 4 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1282, allocations: 39.98 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.1283, allocations: 19.92 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.1283, allocations: 35.73 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1286, allocations: 115.6 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1286, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1286, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1286, allocations: 0 / 473.9 MB, free: 10.45 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006161/0.1292, allocations: 413.9 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1293, allocations: 12.03 kB / 474.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.1294, allocations: 8.844 kB / 474.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1297, allocations: 215.9 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1297, allocations: 384 / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1298, allocations: 12.12 kB / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1299, allocations: 53.67 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1299, allocations: 0 / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.13, allocations: 0 / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.13, allocations: 4 kB / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.021e-05/0.1301, allocations: 27.91 kB / 474.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.1305, allocations: 284.9 kB / 474.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1306, allocations: 58.67 kB / 474.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1307, allocations: 20.8 kB / 475 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1307, allocations: 4 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.1309, allocations: 75.31 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1309, allocations: 0 / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000565/0.1315, allocations: 169.2 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.1316, allocations: 51.41 kB / 475.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1318, allocations: 186.2 kB / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1318, allocations: 33.7 kB / 475.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.1318, allocations: 100.1 kB / 475.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1319, allocations: 23.66 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.1319, allocations: 25.7 kB / 475.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1321, allocations: 330.8 kB / 475.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.419e-05/0.1321, allocations: 12 kB / 476 MB, free: 8.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.1322, allocations: 37.7 kB / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1323, allocations: 65.64 kB / 476.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1323, allocations: 0 / 476.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.1325, allocations: 109.4 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1326, allocations: 4 kB / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1326, allocations: 0 / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1326, allocations: 4 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.1327, allocations: 12 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1327, allocations: 0 / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.781e-05/0.1327, allocations: 19.95 kB / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1328, allocations: 0 / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.96e-05/0.1329, allocations: 121.8 kB / 476.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.1329, allocations: 7.906 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.1329, allocations: 21.27 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1329, allocations: 0 / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.133, allocations: 3.938 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.133, allocations: 7.938 kB / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.1334, allocations: 391.3 kB / 476.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1334, allocations: 0 / 476.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.1334, allocations: 15.92 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1334, allocations: 0 / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1335, allocations: 11.94 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1335, allocations: 3.938 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1335, allocations: 0 / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.1337, allocations: 200.2 kB / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.1338, allocations: 85.02 kB / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1338, allocations: 7.938 kB / 477.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.1339, allocations: 7.984 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1339, allocations: 4 kB / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1339, allocations: 7.938 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.134, allocations: 147.2 kB / 477.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1341, allocations: 0 / 477.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1343, allocations: 28 kB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001048/0.1354, allocations: 460.2 kB / 477.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1356, allocations: 59.92 kB / 477.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1356, allocations: 7.938 kB / 477.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.1357, allocations: 23.98 kB / 477.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.136, allocations: 28.64 kB / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.1365, allocations: 235 kB / 478.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1368, allocations: 0.7042 MB / 478.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.736e-05/0.1368, allocations: 13.19 kB / 478.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.1369, allocations: 19.44 kB / 478.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1369, allocations: 0 / 478.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004311/0.1412, allocations: 1.717 MB / 480.5 MB, free: 3.621 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches