Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 183.4 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.436/1.436, 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.0008378/0.0008377, allocations: 91.81 kB / 267.1 MB, free: 9.27 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.3398/0.3398, allocations: 43.48 MB / 358.6 MB, free: 51.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.461e-05, allocations: 4 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.4951, allocations: 87.58 MB / 0.5583 GB, free: 16.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4954, allocations: 76.58 kB / 0.5584 GB, free: 16.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0129/0.5083, allocations: 5.315 MB / 0.5636 GB, free: 13.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5083, allocations: 0.5469 kB / 0.5636 GB, free: 13.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.5084, allocations: 4 kB / 0.5636 GB, free: 13.46 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.0003536/0.5087, allocations: 400.8 kB / 0.564 GB, free: 13.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.5088, allocations: 12.03 kB / 0.564 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.5088, allocations: 15.34 kB / 0.564 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.5091, allocations: 215.3 kB / 0.5642 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.5091, allocations: 0 / 0.5642 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.5091, allocations: 7.688 kB / 0.5642 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.5092, allocations: 52.39 kB / 0.5643 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5093, allocations: 0 / 0.5643 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5093, allocations: 1.375 kB / 0.5643 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5093, allocations: 7.984 kB / 0.5643 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.5094, allocations: 18.36 kB / 0.5643 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.5097, allocations: 297.5 kB / 0.5646 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.5098, allocations: 53.52 kB / 0.5646 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.5098, allocations: 16.67 kB / 0.5647 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.5098, allocations: 2.375 kB / 0.5647 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.51, allocations: 74.22 kB / 0.5647 GB, free: 12.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.51, allocations: 3.938 kB / 0.5647 GB, free: 12.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003936/0.5104, allocations: 156.5 kB / 0.5649 GB, free: 12.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.5104, allocations: 54.78 kB / 0.5649 GB, free: 12.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.5106, allocations: 184.5 kB / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.5106, allocations: 27.39 kB / 0.5651 GB, free: 11.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.5106, allocations: 106.7 kB / 0.5652 GB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.5106, allocations: 28.52 kB / 0.5653 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5107, allocations: 4 kB / 0.5653 GB, free: 11.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.5107, allocations: 325.4 kB / 0.5656 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.5108, allocations: 17.62 kB / 0.5656 GB, free: 11.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/0.5108, allocations: 36.11 kB / 0.5656 GB, free: 11.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/0.5108, allocations: 21.8 kB / 0.5656 GB, free: 11.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5109, allocations: 0 / 0.5656 GB, free: 11.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001269/0.511, allocations: 96.98 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.511, allocations: 12.03 kB / 0.5658 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.511, allocations: 1.078 kB / 0.5658 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.511, allocations: 1.969 kB / 0.5658 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.5111, allocations: 14.3 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.5111, allocations: 11.89 kB / 0.5658 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.5112, allocations: 1.172 kB / 0.5658 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.5112, allocations: 7.438 kB / 0.5658 GB, free: 11.32 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 5.746e-05/0.5113, allocations: 112.5 kB / 0.5659 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.5113, allocations: 19.81 kB / 0.5659 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.5115, allocations: 119.3 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5115, allocations: 0 / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5115, allocations: 0 / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5115, allocations: 7.953 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.5119, allocations: 406.1 kB / 0.5664 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5119, allocations: 0 / 0.5664 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.5119, allocations: 15.11 kB / 0.5664 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5119, allocations: 8.031 kB / 0.5664 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5119, allocations: 1.219 kB / 0.5664 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5119, allocations: 3.953 kB / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.512, allocations: 0 / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.5121, allocations: 218 kB / 0.5667 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.5122, allocations: 93 kB / 0.5667 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.5122, allocations: 18.7 kB / 0.5668 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.5123, allocations: 0 / 0.5668 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.5123, allocations: 11.55 kB / 0.5668 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.5123, allocations: 4 kB / 0.5668 GB, free: 10.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.851e-05/0.5124, allocations: 154.1 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5124, allocations: 3.938 kB / 0.5669 GB, free: 10.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.5127, allocations: 35.31 kB / 0.567 GB, free: 10.14 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.0008731/0.5135, allocations: 424.2 kB / 0.5674 GB, free: 9.801 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.5137, allocations: 57.92 kB / 0.5674 GB, free: 9.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5137, allocations: 0 / 0.5674 GB, free: 9.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.003e-05/0.5137, allocations: 31 kB / 0.5675 GB, free: 9.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.514, allocations: 31.95 kB / 0.5675 GB, free: 9.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.5143, allocations: 168.6 kB / 0.5676 GB, free: 9.547 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.5144, allocations: 0.7082 MB / 0.5683 GB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.925e-05/0.5145, allocations: 20.84 kB / 0.5684 GB, free: 8.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.5145, allocations: 19.44 kB / 0.5684 GB, free: 8.773 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5145, allocations: 0 / 0.5684 GB, free: 8.773 MB / 394.7 MB Notification: Performance of Templates: time 0.003555/0.5181, allocations: 1.711 MB / 0.57 GB, free: 7.082 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches