Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001783/0.001783, allocations: 192 kB / 18.56 MB, free: 4.562 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.404/1.404, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2164/0.2164, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 69.31 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1294, allocations: 60.82 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003562/0.133, allocations: 1.703 MB / 471 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1352, allocations: 1.475 MB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.1353, allocations: 3.938 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1357, allocations: 35.83 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.136, allocations: 59.7 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.1363, allocations: 118.7 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1365, allocations: 95.7 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1366, allocations: 8.234 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1367, allocations: 47.77 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.1369, allocations: 31.86 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1369, allocations: 4 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1371, allocations: 67.95 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.1372, allocations: 15.92 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.1372, allocations: 35.75 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1375, allocations: 131.9 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1375, allocations: 0 / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1375, allocations: 0 / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1375, allocations: 3.938 kB / 473.1 MB, free: 10.54 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.0005484/0.1381, allocations: 394.1 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1381, allocations: 8.031 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1382, allocations: 12.84 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1384, allocations: 208.1 kB / 473.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1384, allocations: 4.375 kB / 473.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.1385, allocations: 8.062 kB / 473.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.1387, allocations: 75.38 kB / 473.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1387, allocations: 0 / 473.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1387, allocations: 0 / 473.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1388, allocations: 4 kB / 473.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.1388, allocations: 19.98 kB / 473.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.1392, allocations: 280.9 kB / 474.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1394, allocations: 54.62 kB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.1395, allocations: 20.84 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1395, allocations: 4 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.1397, allocations: 67.39 kB / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1397, allocations: 3.938 kB / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005427/0.1403, allocations: 181.1 kB / 474.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1404, allocations: 77.11 kB / 474.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1405, allocations: 149.8 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1405, allocations: 29.7 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.1406, allocations: 96.14 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.1406, allocations: 23.7 kB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.1407, allocations: 25.66 kB / 474.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1408, allocations: 322.8 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.1409, allocations: 23.98 kB / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.1409, allocations: 42.56 kB / 475.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1411, allocations: 54.2 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1411, allocations: 0 / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/0.1413, allocations: 109.5 kB / 475.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1413, allocations: 8 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1413, allocations: 4 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1413, allocations: 192 / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.1414, allocations: 19.98 kB / 475.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1414, allocations: 7.875 kB / 475.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.1415, allocations: 11.91 kB / 475.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1415, allocations: 8 kB / 475.4 MB, free: 7.984 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.915e-05/0.1416, allocations: 117.8 kB / 475.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.1416, allocations: 7.906 kB / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.1417, allocations: 16.7 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1417, allocations: 0 / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1417, allocations: 0 / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1417, allocations: 3.938 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.1422, allocations: 387.3 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1422, allocations: 0 / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.1423, allocations: 11.98 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1423, allocations: 0 / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1423, allocations: 7.938 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1423, allocations: 0 / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1423, allocations: 0 / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.1426, allocations: 212.2 kB / 476.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.1426, allocations: 85.02 kB / 476.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1426, allocations: 11.86 kB / 476.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1427, allocations: 8 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1428, allocations: 7.984 kB / 476.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1428, allocations: 7.984 kB / 476.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.1429, allocations: 113.8 kB / 476.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1429, allocations: 0 / 476.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1432, allocations: 35.98 kB / 476.4 MB, free: 6.863 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.001139/0.1443, allocations: 497.6 kB / 476.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1445, allocations: 59.91 kB / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1445, allocations: 0 / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.1446, allocations: 43.84 kB / 477 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.145, allocations: 27.92 kB / 477 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.1454, allocations: 195 kB / 477.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.1458, allocations: 0.6973 MB / 477.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.406e-05/0.1459, allocations: 16.89 kB / 477.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.1459, allocations: 23.42 kB / 477.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1459, allocations: 0 / 477.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of Templates: time 0.00455/0.1505, allocations: 1.956 MB / 479.9 MB, free: 3.516 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches