Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.201/0.201, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3404, allocations: 60.82 MB / 0.519 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002703/0.3432, allocations: 1.707 MB / 0.5207 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3443, allocations: 0.8716 MB / 0.5215 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.3444, allocations: 5.156 kB / 0.5215 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.3447, allocations: 41.66 kB / 0.5215 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.3449, allocations: 52.7 kB / 0.5216 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3452, allocations: 117.4 kB / 0.5217 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3453, allocations: 103.5 kB / 0.5218 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.3454, allocations: 11.97 kB / 0.5218 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.3455, allocations: 40.62 kB / 0.5219 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.3456, allocations: 27.25 kB / 0.5219 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.3456, allocations: 7.203 kB / 0.5219 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.3457, allocations: 43.16 kB / 0.5219 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.3458, allocations: 18.16 kB / 0.5219 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.3458, allocations: 37.52 kB / 0.522 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.3461, allocations: 117.8 kB / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3461, allocations: 1.062 kB / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3461, allocations: 0 / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.3461, allocations: 4 kB / 0.5221 GB, free: 1.785 MB / 382.1 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.0004599/0.3466, allocations: 416.6 kB / 0.5225 GB, free: 1.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3466, allocations: 9.031 kB / 0.5225 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.3466, allocations: 11.28 kB / 0.5225 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.3469, allocations: 219.1 kB / 0.5227 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3469, allocations: 2.469 kB / 0.5227 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.3469, allocations: 6.875 kB / 0.5227 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3471, allocations: 57.94 kB / 0.5228 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3471, allocations: 8.75 kB / 0.5228 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3471, allocations: 0 / 0.5228 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3471, allocations: 0.9375 kB / 0.5228 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/0.3472, allocations: 22.75 kB / 0.5228 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.3475, allocations: 282.7 kB / 0.5231 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3477, allocations: 57.41 kB / 0.5231 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.3477, allocations: 23.12 kB / 0.5232 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3478, allocations: 5.859 kB / 0.5232 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.3479, allocations: 62.3 kB / 0.5232 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3479, allocations: 0 / 0.5232 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004947/0.3484, allocations: 185.1 kB / 0.5234 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.3484, allocations: 57.45 kB / 0.5235 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3486, allocations: 197.2 kB / 0.5237 GB, free: 404 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.3486, allocations: 29.7 kB / 0.5237 GB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.3487, allocations: 100.3 kB / 0.5238 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3487, allocations: 21.92 kB / 0.5238 GB, free: 256 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.3488, allocations: 26.73 kB / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.3489, allocations: 326 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/0.3489, allocations: 21.22 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.349, allocations: 47.89 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3491, allocations: 57.98 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3491, allocations: 0 / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001976/0.3493, allocations: 109.8 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3494, allocations: 5.25 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3494, allocations: 1.219 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3494, allocations: 1.156 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.5e-05/0.3495, allocations: 19.39 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3495, allocations: 1.5 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.3496, allocations: 6.688 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3496, allocations: 6.484 kB / 0.5244 GB, free: 15.75 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.3497, allocations: 134.8 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.3497, allocations: 13.31 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.3498, allocations: 16.92 kB / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3498, allocations: 1.125 kB / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3498, allocations: 0 / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3498, allocations: 9.953 kB / 0.5246 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.3503, allocations: 394.3 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3503, allocations: 1.828 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.3503, allocations: 12.03 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3503, allocations: 2.5 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3503, allocations: 6.125 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-06/0.3504, allocations: 0 / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3504, allocations: 2.281 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.3506, allocations: 212.1 kB / 0.5252 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.3507, allocations: 85.83 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.3507, allocations: 6.328 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.3508, allocations: 6.906 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.3508, allocations: 5.469 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3508, allocations: 4.125 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.351, allocations: 155.8 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.351, allocations: 0 / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.3512, allocations: 22.66 kB / 0.5254 GB, free: 14.85 MB / 398.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.3523, allocations: 468.5 kB / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.3525, allocations: 65.14 kB / 0.526 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3525, allocations: 0 / 0.526 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.3526, allocations: 28.58 kB / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.3529, allocations: 25.98 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.3534, allocations: 231.7 kB / 0.5262 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3537, allocations: 0.7105 MB / 0.5269 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.247e-05/0.3538, allocations: 12.25 kB / 0.5269 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.3539, allocations: 16.55 kB / 0.5269 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3539, allocations: 0 / 0.5269 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.004472/0.3583, allocations: 1.709 MB / 0.5286 GB, free: 13.11 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches