Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001188/0.001189, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.384/1.384, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000797/0.0007969, allocations: 85.84 kB / 267 MB, free: 9.273 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.3366/0.3366, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.766e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 58.83 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.4715, allocations: 87.61 MB / 0.5584 GB, free: 16.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4717, allocations: 76.05 kB / 0.5584 GB, free: 16.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01383/0.4856, allocations: 5.812 MB / 0.5641 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4856, allocations: 0 / 0.5641 GB, free: 13.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.4856, allocations: 0 / 0.5641 GB, free: 13.09 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.0003417/0.486, allocations: 403 kB / 0.5645 GB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.486, allocations: 11.97 kB / 0.5645 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.4861, allocations: 15.88 kB / 0.5645 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.4863, allocations: 219.8 kB / 0.5647 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4863, allocations: 4 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.4864, allocations: 4 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.4865, allocations: 74.7 kB / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4865, allocations: 0 / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4865, allocations: 1.375 kB / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4865, allocations: 8 kB / 0.5648 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.23e-05/0.4866, allocations: 45.03 kB / 0.5649 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.487, allocations: 327.8 kB / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.4871, allocations: 88.47 kB / 0.5653 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.4872, allocations: 30.17 kB / 0.5653 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.4872, allocations: 0 / 0.5653 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.4873, allocations: 83.75 kB / 0.5654 GB, free: 11.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.4873, allocations: 0 / 0.5654 GB, free: 11.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004438/0.4878, allocations: 210.3 kB / 0.5656 GB, free: 11.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.4878, allocations: 55.41 kB / 0.5656 GB, free: 11.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.488, allocations: 176.7 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.488, allocations: 33.08 kB / 0.5658 GB, free: 11.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.488, allocations: 97.94 kB / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.488, allocations: 35.09 kB / 0.566 GB, free: 11.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.4881, allocations: 3.125 kB / 0.566 GB, free: 11.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.4881, allocations: 325 kB / 0.5663 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.4882, allocations: 33.92 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.4882, allocations: 49.91 kB / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.223e-05/0.4883, allocations: 36.67 kB / 0.5664 GB, free: 10.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4883, allocations: 3.984 kB / 0.5664 GB, free: 10.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001504/0.4884, allocations: 128.9 kB / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.4885, allocations: 4 kB / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4885, allocations: 4 kB / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4885, allocations: 0 / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.4886, allocations: 19.98 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4886, allocations: 3.953 kB / 0.5665 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.4887, allocations: 12.34 kB / 0.5666 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4887, allocations: 4 kB / 0.5666 GB, free: 10.62 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 () * 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 5.063e-05/0.4887, allocations: 109.3 kB / 0.5667 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.4887, allocations: 11.91 kB / 0.5667 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.489, allocations: 161.9 kB / 0.5668 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.489, allocations: 0 / 0.5668 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.489, allocations: 0 / 0.5668 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.489, allocations: 7.953 kB / 0.5668 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.4894, allocations: 472.9 kB / 0.5673 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4894, allocations: 0 / 0.5673 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.4895, allocations: 19.94 kB / 0.5673 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4895, allocations: 0 / 0.5673 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4895, allocations: 7.984 kB / 0.5673 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4895, allocations: 3.953 kB / 0.5673 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4895, allocations: 1.312 kB / 0.5673 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.4897, allocations: 253.7 kB / 0.5676 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.4897, allocations: 91.5 kB / 0.5676 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.4898, allocations: 11.39 kB / 0.5677 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.4898, allocations: 0 / 0.5677 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.4899, allocations: 15.48 kB / 0.5677 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.4899, allocations: 4 kB / 0.5677 GB, free: 9.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.49, allocations: 154.1 kB / 0.5678 GB, free: 9.367 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.49, allocations: 0 / 0.5678 GB, free: 9.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.4902, allocations: 35.19 kB / 0.5679 GB, free: 9.336 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) * 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.0008089/0.491, allocations: 440.9 kB / 0.5683 GB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.4912, allocations: 82.61 kB / 0.5684 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4912, allocations: 4 kB / 0.5684 GB, free: 8.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.4913, allocations: 42.19 kB / 0.5684 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.4915, allocations: 26.66 kB / 0.5684 GB, free: 8.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.4918, allocations: 187.9 kB / 0.5686 GB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.4919, allocations: 0.7121 MB / 0.5693 GB, free: 7.949 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.919e-05/0.492, allocations: 24.75 kB / 0.5693 GB, free: 7.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.4921, allocations: 26.92 kB / 0.5693 GB, free: 7.902 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4921, allocations: 0 / 0.5693 GB, free: 7.902 MB / 394.7 MB Notification: Performance of Templates: time 0.003613/0.4957, allocations: 1.92 MB / 0.5712 GB, free: 6.008 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/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_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches