Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 107.2 kB / 17.03 MB, free: 5.664 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.001041/0.001041, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2272/0.2272, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 73.03 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.146, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003221/0.1493, allocations: 1.696 MB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1506, allocations: 0.8 MB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-05/0.1507, allocations: 4 kB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.151, allocations: 43.75 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1512, allocations: 55.77 kB / 444.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1514, allocations: 83.7 kB / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1516, allocations: 99.69 kB / 444.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.1517, allocations: 12.23 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.1518, allocations: 39.78 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.1519, allocations: 31.84 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1519, allocations: 4 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.152, allocations: 43.98 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.152, allocations: 19.92 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.1521, allocations: 35.73 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1522, allocations: 111.6 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1523, allocations: 0 / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1523, allocations: 7.938 kB / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1523, allocations: 0 / 445 MB, free: 3.047 MB / 318.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.0004809/0.1528, allocations: 418.9 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1528, allocations: 11.89 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.1529, allocations: 12.84 kB / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.1531, allocations: 212.7 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1531, allocations: 384 / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1531, allocations: 4.125 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1533, allocations: 57.67 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1533, allocations: 3.984 kB / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1533, allocations: 11.92 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1533, allocations: 0 / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.1534, allocations: 19.98 kB / 445.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.1537, allocations: 280.9 kB / 446.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.1539, allocations: 54.69 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.154, allocations: 28.78 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.154, allocations: 0 / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.1542, allocations: 75.31 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1542, allocations: 0 / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005689/0.1547, allocations: 173.1 kB / 446.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1548, allocations: 51.41 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1549, allocations: 207.3 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.155, allocations: 25.7 kB / 446.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.155, allocations: 108 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.155, allocations: 19.75 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.1551, allocations: 25.7 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.1552, allocations: 330.8 kB / 447.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.1552, allocations: 16 kB / 447.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.478e-05/0.1553, allocations: 37.7 kB / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.289e-05/0.1554, allocations: 62.02 kB / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1554, allocations: 4 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001488/0.1555, allocations: 109.5 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1556, allocations: 5.25 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1556, allocations: 8 kB / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1556, allocations: 0 / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.809e-05/0.1557, allocations: 15.94 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1557, allocations: 4.031 kB / 447.4 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.1558, allocations: 15.92 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1558, allocations: 4 kB / 447.4 MB, free: 460 kB / 318.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 8.316e-05/0.1559, allocations: 121.8 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1559, allocations: 15.81 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.156, allocations: 21.39 kB / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.156, allocations: 3.938 kB / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.156, allocations: 0 / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.156, allocations: 7.938 kB / 447.6 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.1564, allocations: 387.4 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1564, allocations: 3.938 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.1564, allocations: 11.98 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1564, allocations: 0 / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1565, allocations: 7.938 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1565, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1565, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1567, allocations: 200.3 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.1567, allocations: 89.11 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1568, allocations: 7.922 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.1569, allocations: 7.938 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.1569, allocations: 11.94 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.1569, allocations: 7.984 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1571, allocations: 144.9 kB / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1571, allocations: 0 / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1573, allocations: 31.98 kB / 448.5 MB, free: 15.28 MB / 334.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.001073/0.1584, allocations: 467.8 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1586, allocations: 59.91 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1586, allocations: 0 / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.1587, allocations: 24 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1591, allocations: 40.27 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.1596, allocations: 231.2 kB / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1599, allocations: 0.7081 MB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.651e-05/0.1599, allocations: 12.88 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.16, allocations: 19.44 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.16, allocations: 0 / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of Templates: time 0.004549/0.1645, allocations: 1.704 MB / 451.7 MB, free: 12.07 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches