Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009553, allocations: 97.38 kB / 15.69 MB, free: 480 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.0009204/0.0009205, allocations: 175.3 kB / 16.57 MB, free: 6.852 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.387/1.387, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3098/0.3098, allocations: 43.54 MB / 314.5 MB, free: 8.793 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.0004524/0.0004524, allocations: 15.98 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 58.85 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002232/0.1383, allocations: 1.52 MB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1396, allocations: 0.8046 MB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.872e-05/0.1398, allocations: 4 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.1401, allocations: 147.6 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.1404, allocations: 119.7 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1408, allocations: 131.7 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.141, allocations: 139.7 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1411, allocations: 21.53 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1413, allocations: 87.67 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1414, allocations: 99.64 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1414, allocations: 4 kB / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.528e-05/0.1415, allocations: 31.92 kB / 445.9 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.1416, allocations: 39.83 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.1417, allocations: 61.56 kB / 445.9 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1418, allocations: 140 kB / 446.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.1419, allocations: 0 / 446.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1419, allocations: 3.938 kB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1419, allocations: 4 kB / 446.1 MB, free: 9.695 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006492/0.1425, allocations: 498.2 kB / 446.6 MB, free: 9.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1426, allocations: 12.02 kB / 446.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1426, allocations: 27.62 kB / 446.6 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1429, allocations: 254.5 kB / 446.9 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.143, allocations: 4 kB / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.143, allocations: 8 kB / 446.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.1432, allocations: 99.3 kB / 447 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1432, allocations: 4 kB / 447 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1433, allocations: 3.953 kB / 447 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1433, allocations: 4 kB / 447 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1434, allocations: 39.91 kB / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.1439, allocations: 440.9 kB / 447.5 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.1441, allocations: 113.4 kB / 447.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1442, allocations: 11.92 kB / 447.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.1444, allocations: 117.1 kB / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.1445, allocations: 0 / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000826/0.1453, allocations: 352 kB / 448 MB, free: 7.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.1454, allocations: 81.11 kB / 448.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1457, allocations: 355 kB / 448.5 MB, free: 7.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1457, allocations: 25.7 kB / 448.5 MB, free: 7.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1458, allocations: 144.4 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.1459, allocations: 51.33 kB / 448.7 MB, free: 6.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.1459, allocations: 4 kB / 448.7 MB, free: 6.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1461, allocations: 338.8 kB / 449 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1462, allocations: 35.98 kB / 449.1 MB, free: 6.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1463, allocations: 75.36 kB / 449.1 MB, free: 6.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1464, allocations: 52.14 kB / 449.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1464, allocations: 0 / 449.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002844/0.1467, allocations: 177.2 kB / 449.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1467, allocations: 8 kB / 449.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1467, allocations: 0 / 449.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1468, allocations: 0 / 449.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1469, allocations: 31.98 kB / 449.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1469, allocations: 11.98 kB / 449.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.147, allocations: 12 kB / 449.4 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.147, allocations: 4 kB / 449.4 MB, free: 6.113 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.1472, allocations: 153.8 kB / 449.6 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.1472, allocations: 23.72 kB / 449.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.943e-05/0.1473, allocations: 33.73 kB / 449.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1473, allocations: 0 / 449.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1474, allocations: 7.938 kB / 449.6 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1474, allocations: 4.75 kB / 449.6 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.1481, allocations: 0.6123 MB / 450.2 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1481, allocations: 0 / 450.2 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.1482, allocations: 27.91 kB / 450.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1482, allocations: 4 kB / 450.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1482, allocations: 4 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1483, allocations: 8.062 kB / 450.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1483, allocations: 0 / 450.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.1487, allocations: 397.3 kB / 450.7 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.1488, allocations: 112.7 kB / 450.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.1488, allocations: 3.938 kB / 450.8 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.1489, allocations: 15.98 kB / 450.8 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.149, allocations: 7.984 kB / 450.8 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.149, allocations: 12 kB / 450.8 MB, free: 4.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.1493, allocations: 257.9 kB / 451.1 MB, free: 4.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1493, allocations: 4 kB / 451.1 MB, free: 4.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.1496, allocations: 47.98 kB / 451.1 MB, free: 4.266 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.1506, allocations: 465.3 kB / 451.6 MB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.1509, allocations: 119.8 kB / 451.7 MB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1509, allocations: 0 / 451.7 MB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.151, allocations: 63.91 kB / 451.8 MB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.1514, allocations: 44.81 kB / 451.8 MB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.1522, allocations: 465.7 kB / 452.3 MB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1525, allocations: 0.7595 MB / 453 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.811e-05/0.1526, allocations: 34.55 kB / 453.1 MB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.1527, allocations: 27.44 kB / 453.1 MB, free: 2.285 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1527, allocations: 0 / 453.1 MB, free: 2.285 MB / 382.1 MB Notification: Performance of Templates: time 0.2038/0.3565, allocations: 2.465 MB / 455.5 MB, free: 45.71 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches