Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 182.1 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.403/1.403, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009307/0.0009308, allocations: 86.59 kB / 267 MB, free: 9.285 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.3777/0.3777, allocations: 43.46 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.431e-05, allocations: 11.98 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.5062, allocations: 87.59 MB / 0.5583 GB, free: 1.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5065, allocations: 77.27 kB / 0.5584 GB, free: 1.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01358/0.5201, allocations: 5.259 MB / 0.5636 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5202, allocations: 0.5469 kB / 0.5636 GB, free: 12.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.5202, allocations: 0 / 0.5636 GB, free: 12.16 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.0004575/0.5206, allocations: 403.9 kB / 0.5639 GB, free: 11.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.5207, allocations: 8.031 kB / 0.5639 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.5208, allocations: 15.34 kB / 0.564 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.5211, allocations: 219.6 kB / 0.5642 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5211, allocations: 0 / 0.5642 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.5211, allocations: 4 kB / 0.5642 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.5213, allocations: 53.62 kB / 0.5642 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5213, allocations: 7.984 kB / 0.5642 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5213, allocations: 1.375 kB / 0.5642 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5213, allocations: 0 / 0.5642 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.5214, allocations: 16 kB / 0.5643 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.5218, allocations: 292.9 kB / 0.5645 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.5219, allocations: 54.62 kB / 0.5646 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.522, allocations: 24.98 kB / 0.5646 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.522, allocations: 4 kB / 0.5646 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.5221, allocations: 59.39 kB / 0.5647 GB, free: 10.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.5221, allocations: 3.938 kB / 0.5647 GB, free: 10.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004468/0.5226, allocations: 173.1 kB / 0.5648 GB, free: 10.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.5226, allocations: 55.41 kB / 0.5649 GB, free: 10.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.5228, allocations: 169.3 kB / 0.5651 GB, free: 10.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.5228, allocations: 33.7 kB / 0.5651 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.5229, allocations: 100.1 kB / 0.5652 GB, free: 10.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.5229, allocations: 24.64 kB / 0.5652 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.523, allocations: 0 / 0.5652 GB, free: 10.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5231, allocations: 322.8 kB / 0.5655 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.5231, allocations: 16 kB / 0.5655 GB, free: 9.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.5232, allocations: 38.59 kB / 0.5656 GB, free: 9.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.806e-05/0.5232, allocations: 28.69 kB / 0.5656 GB, free: 9.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5232, allocations: 0 / 0.5656 GB, free: 9.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001518/0.5234, allocations: 97.5 kB / 0.5657 GB, free: 9.777 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5234, allocations: 11.92 kB / 0.5657 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5234, allocations: 160 / 0.5657 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.5235, allocations: 0 / 0.5657 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.5235, allocations: 19.98 kB / 0.5657 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.5236, allocations: 7.938 kB / 0.5657 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.5236, allocations: 0 / 0.5657 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.5236, allocations: 16.2 kB / 0.5657 GB, free: 9.723 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 6.876e-05/0.5237, allocations: 106.2 kB / 0.5658 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.5237, allocations: 11.84 kB / 0.5658 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.524, allocations: 122.2 kB / 0.566 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.524, allocations: 0 / 0.566 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.524, allocations: 4 kB / 0.566 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.524, allocations: 3.953 kB / 0.566 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.5244, allocations: 407.2 kB / 0.5664 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5244, allocations: 4 kB / 0.5664 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.5245, allocations: 11.94 kB / 0.5664 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5245, allocations: 0 / 0.5664 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.5245, allocations: 7.984 kB / 0.5664 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5245, allocations: 3.953 kB / 0.5664 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5245, allocations: 0 / 0.5664 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.5247, allocations: 218 kB / 0.5666 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.5248, allocations: 89.02 kB / 0.5667 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.5249, allocations: 11.89 kB / 0.5667 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.5249, allocations: 3.984 kB / 0.5667 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.525, allocations: 8 kB / 0.5667 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.525, allocations: 7.984 kB / 0.5667 GB, free: 8.613 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.5251, allocations: 140.1 kB / 0.5668 GB, free: 8.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5251, allocations: 0 / 0.5668 GB, free: 8.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.5253, allocations: 35.98 kB / 0.5669 GB, free: 8.441 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.0009515/0.5263, allocations: 413.8 kB / 0.5673 GB, free: 8.102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.5265, allocations: 63.94 kB / 0.5673 GB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5265, allocations: 0 / 0.5673 GB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.5265, allocations: 39.91 kB / 0.5674 GB, free: 8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.5268, allocations: 19.98 kB / 0.5674 GB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.5271, allocations: 164.6 kB / 0.5675 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.5274, allocations: 0.7162 MB / 0.5682 GB, free: 7.051 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.5275, allocations: 16.84 kB / 0.5683 GB, free: 7.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.5275, allocations: 15.44 kB / 0.5683 GB, free: 7.02 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5275, allocations: 0 / 0.5683 GB, free: 7.02 MB / 394.7 MB Notification: Performance of Templates: time 0.004066/0.5316, allocations: 1.695 MB / 0.5699 GB, free: 5.336 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches