Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007217/0.0007216, allocations: 87.33 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3077/0.3077, allocations: 43.56 MB / 363.8 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 16 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 58.86 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2601/0.3627, allocations: 87.75 MB / 0.5656 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.363, allocations: 75.97 kB / 0.5657 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.3784, allocations: 5.823 MB / 0.5714 GB, free: 8.809 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3785, allocations: 0 / 0.5714 GB, free: 8.809 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3785, allocations: 4 kB / 0.5714 GB, free: 8.805 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004762/0.379, allocations: 429 kB / 0.5718 GB, free: 8.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.379, allocations: 8.031 kB / 0.5718 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.3791, allocations: 20.75 kB / 0.5718 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.3794, allocations: 227.7 kB / 0.572 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3794, allocations: 384 / 0.572 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3794, allocations: 4.375 kB / 0.5721 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3796, allocations: 78.14 kB / 0.5721 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3796, allocations: 192 / 0.5721 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3796, allocations: 3.938 kB / 0.5721 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3796, allocations: 4 kB / 0.5721 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3797, allocations: 47.95 kB / 0.5722 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.3801, allocations: 324.7 kB / 0.5725 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.3803, allocations: 90.55 kB / 0.5726 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.3804, allocations: 32.83 kB / 0.5726 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.3804, allocations: 7.938 kB / 0.5726 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.3806, allocations: 87.44 kB / 0.5727 GB, free: 7.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3806, allocations: 0 / 0.5727 GB, free: 7.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005866/0.3812, allocations: 233.2 kB / 0.5729 GB, free: 7.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.3812, allocations: 51.41 kB / 0.573 GB, free: 7.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3814, allocations: 193.7 kB / 0.5732 GB, free: 6.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3815, allocations: 25.7 kB / 0.5732 GB, free: 6.773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.3815, allocations: 104.1 kB / 0.5733 GB, free: 6.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3816, allocations: 43.48 kB / 0.5733 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.3816, allocations: 0 / 0.5733 GB, free: 6.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3817, allocations: 330.8 kB / 0.5736 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.3818, allocations: 27.98 kB / 0.5737 GB, free: 6.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.3819, allocations: 45.7 kB / 0.5737 GB, free: 6.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.3821, allocations: 82.72 kB / 0.5738 GB, free: 6.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3821, allocations: 7.938 kB / 0.5738 GB, free: 6.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002235/0.3823, allocations: 137.5 kB / 0.5739 GB, free: 5.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3823, allocations: 8 kB / 0.5739 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3823, allocations: 0 / 0.5739 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3823, allocations: 3.984 kB / 0.5739 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.3824, allocations: 16 kB / 0.5739 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3825, allocations: 0 / 0.5739 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.3825, allocations: 11.98 kB / 0.574 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3825, allocations: 4 kB / 0.574 GB, free: 5.938 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001002/0.3826, allocations: 138.3 kB / 0.5741 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.3827, allocations: 15.89 kB / 0.5741 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.383, allocations: 163 kB / 0.5743 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.383, allocations: 0 / 0.5743 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.383, allocations: 0 / 0.5743 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.383, allocations: 3.984 kB / 0.5743 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.3836, allocations: 484.2 kB / 0.5747 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3836, allocations: 0 / 0.5747 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.3836, allocations: 20 kB / 0.5748 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3836, allocations: 0 / 0.5748 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3837, allocations: 3.984 kB / 0.5748 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3837, allocations: 7.938 kB / 0.5748 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3837, allocations: 3.938 kB / 0.5748 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.384, allocations: 244.2 kB / 0.575 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.384, allocations: 97 kB / 0.5751 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.3841, allocations: 0 / 0.5751 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.3841, allocations: 8 kB / 0.5751 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.3842, allocations: 11.92 kB / 0.5751 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3842, allocations: 4 kB / 0.5751 GB, free: 4.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3843, allocations: 152.8 kB / 0.5753 GB, free: 4.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3843, allocations: 0 / 0.5753 GB, free: 4.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000252/0.3846, allocations: 43.98 kB / 0.5753 GB, free: 4.457 MB / 394.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.0009229/0.3855, allocations: 481.3 kB / 0.5758 GB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3858, allocations: 99.83 kB / 0.5759 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3858, allocations: 0 / 0.5759 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.908e-05/0.3859, allocations: 51.92 kB / 0.5759 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.3862, allocations: 19.98 kB / 0.5759 GB, free: 3.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.3867, allocations: 322.5 kB / 0.5762 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.387, allocations: 0.7082 MB / 0.5769 GB, free: 2.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.3871, allocations: 19.44 kB / 0.5769 GB, free: 2.828 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3871, allocations: 0 / 0.5769 GB, free: 2.828 MB / 394.7 MB Notification: Performance of Templates: time 0.003419/0.3905, allocations: 2.166 MB / 0.5791 GB, free: 0.6797 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches