Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 183 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.336/1.336, 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.0008019/0.0008022, allocations: 92.45 kB / 267.1 MB, free: 9.281 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.3477/0.3477, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.23e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.484, allocations: 87.61 MB / 0.5584 GB, free: 16.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.4842, allocations: 73.91 kB / 0.5584 GB, free: 16.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01281/0.497, allocations: 5.436 MB / 0.5638 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.497, allocations: 0.5469 kB / 0.5638 GB, free: 13.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.4971, allocations: 4 kB / 0.5638 GB, free: 13.3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003448/0.4974, allocations: 404 kB / 0.5641 GB, free: 12.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4975, allocations: 12.03 kB / 0.5642 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.4975, allocations: 12.98 kB / 0.5642 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.4978, allocations: 217.2 kB / 0.5644 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4978, allocations: 8 kB / 0.5644 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.4978, allocations: 0 / 0.5644 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.4979, allocations: 55.11 kB / 0.5644 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.498, allocations: 1.125 kB / 0.5644 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.498, allocations: 8.188 kB / 0.5644 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.498, allocations: 0 / 0.5644 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.151e-05/0.498, allocations: 23.14 kB / 0.5645 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.4984, allocations: 288.3 kB / 0.5647 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.4985, allocations: 58.14 kB / 0.5648 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.4985, allocations: 16.17 kB / 0.5648 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.4985, allocations: 4 kB / 0.5648 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.4986, allocations: 67.53 kB / 0.5649 GB, free: 12.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4987, allocations: 3.938 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004167/0.4991, allocations: 160.9 kB / 0.565 GB, free: 12.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.4991, allocations: 55.41 kB / 0.5651 GB, free: 11.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.4993, allocations: 183.3 kB / 0.5653 GB, free: 11.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.4993, allocations: 25.7 kB / 0.5653 GB, free: 11.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.4993, allocations: 106.4 kB / 0.5654 GB, free: 11.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.4994, allocations: 28.97 kB / 0.5654 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.4994, allocations: 0 / 0.5654 GB, free: 11.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.4994, allocations: 327 kB / 0.5657 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.364e-05/0.4995, allocations: 17.53 kB / 0.5657 GB, free: 11.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-05/0.4995, allocations: 42.47 kB / 0.5658 GB, free: 11.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.03e-05/0.4996, allocations: 19.08 kB / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4996, allocations: 0 / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001219/0.4997, allocations: 98.88 kB / 0.5659 GB, free: 11.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.4997, allocations: 8 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4997, allocations: 0 / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4998, allocations: 0 / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.4999, allocations: 23.03 kB / 0.5659 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4999, allocations: 3.953 kB / 0.5659 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.4999, allocations: 0 / 0.5659 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4999, allocations: 7.422 kB / 0.5659 GB, free: 11.16 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 (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 4.62e-05/0.5, allocations: 108.3 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.5, allocations: 15.81 kB / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.5002, allocations: 118.4 kB / 0.5662 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5002, allocations: 4 kB / 0.5662 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5002, allocations: 0 / 0.5662 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5002, allocations: 5.125 kB / 0.5662 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.5005, allocations: 406.1 kB / 0.5666 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5005, allocations: 192 / 0.5666 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.5006, allocations: 24.02 kB / 0.5666 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5006, allocations: 0 / 0.5666 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.5006, allocations: 3.938 kB / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5006, allocations: 7.953 kB / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5006, allocations: 0 / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.5008, allocations: 217.7 kB / 0.5668 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.5008, allocations: 96.81 kB / 0.5669 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.5008, allocations: 11.89 kB / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.5009, allocations: 4.359 kB / 0.5669 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.501, allocations: 11.92 kB / 0.5669 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.501, allocations: 4 kB / 0.5669 GB, free: 10.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.776e-05/0.5011, allocations: 152.3 kB / 0.5671 GB, free: 10.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5011, allocations: 3.938 kB / 0.5671 GB, free: 10.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.5013, allocations: 31.81 kB / 0.5671 GB, free: 9.98 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 (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.0008227/0.5021, allocations: 425.7 kB / 0.5675 GB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.5023, allocations: 58.8 kB / 0.5676 GB, free: 9.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5023, allocations: 0 / 0.5676 GB, free: 9.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.5023, allocations: 35.69 kB / 0.5676 GB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.5026, allocations: 23.78 kB / 0.5676 GB, free: 9.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.5029, allocations: 171.7 kB / 0.5678 GB, free: 9.379 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.503, allocations: 0.7082 MB / 0.5685 GB, free: 8.645 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.134e-05/0.5031, allocations: 20.62 kB / 0.5685 GB, free: 8.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.5031, allocations: 23.05 kB / 0.5685 GB, free: 8.605 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5031, allocations: 0 / 0.5685 GB, free: 8.605 MB / 394.7 MB Notification: Performance of Templates: time 0.003396/0.5065, allocations: 1.717 MB / 0.5702 GB, free: 6.906 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches