Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2877/0.2877, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.059e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1473, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5023/0.6497, allocations: 87.61 MB / 0.5584 GB, free: 24 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.65, allocations: 74.31 kB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02523/0.6753, allocations: 5.495 MB / 0.5638 GB, free: 11.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6753, allocations: 0 / 0.5638 GB, free: 11.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.6754, allocations: 4 kB / 0.5638 GB, free: 11.34 MB / 378.7 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.0005577/0.6759, allocations: 397.2 kB / 0.5642 GB, free: 10.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.676, allocations: 12.03 kB / 0.5642 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.6761, allocations: 19.17 kB / 0.5642 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.6765, allocations: 211.1 kB / 0.5644 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.6765, allocations: 3.938 kB / 0.5644 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.6766, allocations: 7.984 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.6767, allocations: 48.62 kB / 0.5645 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.6768, allocations: 0 / 0.5645 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.6768, allocations: 3.438 kB / 0.5645 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.6768, allocations: 4 kB / 0.5645 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.863e-05/0.6769, allocations: 19.11 kB / 0.5645 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.6774, allocations: 304.5 kB / 0.5648 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.6776, allocations: 53.12 kB / 0.5648 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.6777, allocations: 20.36 kB / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.6777, allocations: 0 / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.6779, allocations: 70.45 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.678, allocations: 3.938 kB / 0.5649 GB, free: 10.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006941/0.6787, allocations: 168.7 kB / 0.5651 GB, free: 9.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.6787, allocations: 51.41 kB / 0.5651 GB, free: 9.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.679, allocations: 193 kB / 0.5653 GB, free: 9.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.6791, allocations: 25.7 kB / 0.5653 GB, free: 9.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.6792, allocations: 167.8 kB / 0.5655 GB, free: 9.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.6792, allocations: 19.14 kB / 0.5655 GB, free: 9.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.6792, allocations: 8 kB / 0.5655 GB, free: 9.516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6794, allocations: 314.2 kB / 0.5658 GB, free: 9.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-05/0.6795, allocations: 19.88 kB / 0.5658 GB, free: 9.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/0.6796, allocations: 36.33 kB / 0.5659 GB, free: 9.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.6796, allocations: 19.25 kB / 0.5659 GB, free: 9.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6797, allocations: 0 / 0.5659 GB, free: 9.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002381/0.6799, allocations: 99.22 kB / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6799, allocations: 8.188 kB / 0.566 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.68, allocations: 4 kB / 0.566 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.68, allocations: 3.938 kB / 0.566 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.6802, allocations: 15.98 kB / 0.566 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6802, allocations: 3.953 kB / 0.566 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.6803, allocations: 11.38 kB / 0.566 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.6803, allocations: 4.156 kB / 0.566 GB, free: 9.008 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/0.6804, allocations: 111.8 kB / 0.5661 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.6805, allocations: 11.91 kB / 0.5662 GB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.6808, allocations: 121.9 kB / 0.5663 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6809, allocations: 0 / 0.5663 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6809, allocations: 4 kB / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6809, allocations: 3.953 kB / 0.5663 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.6815, allocations: 414.1 kB / 0.5667 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6816, allocations: 0 / 0.5667 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.6817, allocations: 11.94 kB / 0.5667 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.6817, allocations: 4.031 kB / 0.5667 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.6817, allocations: 4 kB / 0.5667 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6817, allocations: 3.953 kB / 0.5667 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6817, allocations: 0 / 0.5667 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.6821, allocations: 222 kB / 0.5669 GB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9e-05/0.6822, allocations: 92.92 kB / 0.567 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.6822, allocations: 15.39 kB / 0.567 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.6824, allocations: 7.984 kB / 0.567 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.6824, allocations: 7.984 kB / 0.567 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.6825, allocations: 7.688 kB / 0.567 GB, free: 7.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002157/0.6827, allocations: 163.2 kB / 0.5672 GB, free: 7.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6827, allocations: 0 / 0.5672 GB, free: 7.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.6831, allocations: 31.19 kB / 0.5672 GB, free: 7.801 MB / 378.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001241/0.6843, allocations: 436.4 kB / 0.5676 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.6846, allocations: 53.3 kB / 0.5677 GB, free: 7.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6846, allocations: 0 / 0.5677 GB, free: 7.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.6847, allocations: 30.62 kB / 0.5677 GB, free: 7.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.6851, allocations: 32.64 kB / 0.5677 GB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.6857, allocations: 212.7 kB / 0.568 GB, free: 7.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.686, allocations: 0.7115 MB / 0.5686 GB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.6861, allocations: 15.44 kB / 0.5687 GB, free: 6.379 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6861, allocations: 0 / 0.5687 GB, free: 6.379 MB / 378.7 MB Notification: Performance of Templates: time 0.005729/0.6919, allocations: 2.005 MB / 0.5706 GB, free: 4.383 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches