Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 241 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008943/0.0008942, allocations: 93.58 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4412/0.4412, allocations: 44.21 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 8 kB / 459.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3424, allocations: 61.9 MB / 0.5096 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.4598, allocations: 89.3 MB / 0.5968 GB, free: 5.801 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4601, allocations: 83.92 kB / 0.5968 GB, free: 5.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.4749, allocations: 5.577 MB / 0.6023 GB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.148e-06/0.475, allocations: 4 kB / 0.6023 GB, free: 148 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.475, allocations: 7.938 kB / 0.6023 GB, free: 140 kB / 410.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.0005614/0.4756, allocations: 414.8 kB / 0.6027 GB, free: 15.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4756, allocations: 8.031 kB / 0.6027 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.4757, allocations: 11.91 kB / 0.6027 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.476, allocations: 215.8 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.476, allocations: 7.953 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.4761, allocations: 8 kB / 0.6029 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.4762, allocations: 57.66 kB / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4762, allocations: 0 / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4762, allocations: 0 / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.4763, allocations: 4 kB / 0.603 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.4764, allocations: 23.92 kB / 0.603 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.4768, allocations: 288.9 kB / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.477, allocations: 62.67 kB / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.4771, allocations: 0 / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.4773, allocations: 67.45 kB / 0.6034 GB, free: 14.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.4773, allocations: 4 kB / 0.6034 GB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007116/0.478, allocations: 177.2 kB / 0.6036 GB, free: 14.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4781, allocations: 59.39 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.4783, allocations: 167.1 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.4783, allocations: 29.7 kB / 0.6038 GB, free: 14.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.4784, allocations: 100.1 kB / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.4785, allocations: 23.66 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.4785, allocations: 4 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4787, allocations: 323 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.4788, allocations: 23.98 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.4789, allocations: 41.7 kB / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.84e-05/0.479, allocations: 24 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.479, allocations: 0 / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.4792, allocations: 101.4 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4792, allocations: 8.188 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4792, allocations: 0 / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.4792, allocations: 3.938 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.4794, allocations: 19.98 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4794, allocations: 7.969 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.4794, allocations: 4 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.4795, allocations: 4 kB / 0.6045 GB, free: 13.67 MB / 426.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 (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 0.0001226/0.4796, allocations: 126.3 kB / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.4796, allocations: 11.91 kB / 0.6046 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.4799, allocations: 122.2 kB / 0.6047 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.48, allocations: 3.984 kB / 0.6047 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.48, allocations: 4 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.48, allocations: 0 / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.4805, allocations: 415.4 kB / 0.6051 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4806, allocations: 0 / 0.6051 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.4806, allocations: 12 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4806, allocations: 0 / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4806, allocations: 4 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4806, allocations: 464 / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4806, allocations: 7.984 kB / 0.6052 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.4809, allocations: 233.8 kB / 0.6054 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.481, allocations: 89.02 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.481, allocations: 8 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.4811, allocations: 3.984 kB / 0.6055 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.4812, allocations: 8 kB / 0.6055 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.4812, allocations: 11.95 kB / 0.6055 GB, free: 12.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.4813, allocations: 148 kB / 0.6057 GB, free: 12.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4813, allocations: 0 / 0.6057 GB, free: 12.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000315/0.4817, allocations: 35.92 kB / 0.6057 GB, free: 12.33 MB / 426.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 (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.001331/0.483, allocations: 476.6 kB / 0.6061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.4832, allocations: 63.91 kB / 0.6062 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4832, allocations: 0 / 0.6062 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.4833, allocations: 35.97 kB / 0.6062 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.4836, allocations: 30.27 kB / 0.6063 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.4843, allocations: 246.4 kB / 0.6065 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.4846, allocations: 0.7121 MB / 0.6072 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.908e-05/0.4847, allocations: 16.86 kB / 0.6072 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.4848, allocations: 15.44 kB / 0.6072 GB, free: 10.87 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4848, allocations: 0 / 0.6072 GB, free: 10.87 MB / 426.7 MB Notification: Performance of Templates: time 0.004209/0.489, allocations: 1.685 MB / 0.6089 GB, free: 9.199 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches