Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.0009973, allocations: 102.7 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 185.4 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4783/0.4783, allocations: 43.58 MB / 315 MB, free: 8.91 MB / 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.000534/0.000534, allocations: 22.95 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1445, allocations: 58.85 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002442/0.147, allocations: 1.421 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1489, allocations: 0.773 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.851e-05/0.149, allocations: 0 / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.1494, allocations: 35.89 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.1497, allocations: 51.83 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.15, allocations: 75.86 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1502, allocations: 95.69 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1503, allocations: 16.19 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.1504, allocations: 39.73 kB / 446 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.1504, allocations: 31.84 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1505, allocations: 3.938 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.1506, allocations: 39.98 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.1506, allocations: 19.92 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/0.1507, allocations: 57.44 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.151, allocations: 115.8 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.151, allocations: 0 / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.151, allocations: 0 / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.151, allocations: 0 / 446.2 MB, free: 10.12 MB / 382.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.000695/0.1517, allocations: 407 kB / 446.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1517, allocations: 8.031 kB / 446.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.1518, allocations: 12.84 kB / 446.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.1521, allocations: 216.7 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1521, allocations: 384 / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1521, allocations: 8.125 kB / 446.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1523, allocations: 61.61 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1523, allocations: 0 / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1524, allocations: 0 / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1524, allocations: 0 / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.1524, allocations: 19.98 kB / 446.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.1529, allocations: 288.9 kB / 447.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1531, allocations: 58.61 kB / 447.3 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.1531, allocations: 20.86 kB / 447.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.1532, allocations: 0 / 447.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.1534, allocations: 71.38 kB / 447.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.1534, allocations: 0 / 447.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005673/0.154, allocations: 177.1 kB / 447.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.1541, allocations: 55.41 kB / 447.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.1543, allocations: 191.3 kB / 447.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1543, allocations: 25.7 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.1544, allocations: 108.1 kB / 447.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.1544, allocations: 27.7 kB / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.1545, allocations: 13.72 kB / 447.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1547, allocations: 326.8 kB / 448.3 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.1547, allocations: 23.98 kB / 448.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.1548, allocations: 37.64 kB / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1549, allocations: 53.72 kB / 448.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1549, allocations: 4.188 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.1551, allocations: 109.4 kB / 448.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1552, allocations: 15.88 kB / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1552, allocations: 0 / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1552, allocations: 0 / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.1553, allocations: 15.98 kB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1553, allocations: 4 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.1554, allocations: 3.938 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1554, allocations: 4 kB / 448.5 MB, free: 7.566 MB / 382.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 0.0001461/0.1555, allocations: 141.4 kB / 448.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.1556, allocations: 11.91 kB / 448.7 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.1556, allocations: 13.41 kB / 448.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1556, allocations: 0 / 448.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.1557, allocations: 4 kB / 448.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.1557, allocations: 3.938 kB / 448.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.1562, allocations: 395.4 kB / 449.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1562, allocations: 8.031 kB / 449.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.1562, allocations: 4 kB / 449.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1563, allocations: 8.359 kB / 449.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1563, allocations: 3.938 kB / 449.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1563, allocations: 4 kB / 449.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1563, allocations: 4 kB / 449.1 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1565, allocations: 204.3 kB / 449.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.1566, allocations: 92.92 kB / 449.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1566, allocations: 11.88 kB / 449.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.1567, allocations: 4 kB / 449.4 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.1567, allocations: 3.984 kB / 449.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1568, allocations: 4 kB / 449.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.1569, allocations: 156.9 kB / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1569, allocations: 0 / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1572, allocations: 24 kB / 449.6 MB, free: 6.383 MB / 382.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.001143/0.1583, allocations: 472.8 kB / 450.1 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1585, allocations: 55.92 kB / 450.1 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1585, allocations: 4.062 kB / 450.1 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.733e-05/0.1586, allocations: 31.98 kB / 450.2 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1589, allocations: 19.98 kB / 450.2 MB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.1594, allocations: 262.4 kB / 450.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1597, allocations: 0.7043 MB / 451.1 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.819e-05/0.1598, allocations: 17.17 kB / 451.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.1598, allocations: 15.44 kB / 451.2 MB, free: 4.785 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1598, allocations: 0 / 451.2 MB, free: 4.785 MB / 382.1 MB Notification: Performance of Templates: time 0.004418/0.1643, allocations: 1.62 MB / 452.8 MB, free: 3.168 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches