Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 110 kB / 18.45 MB, free: 4.602 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.001053/0.001053, allocations: 182.3 kB / 19.38 MB, free: 3.684 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.315/1.315, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2083/0.2083, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3768, allocations: 60.82 MB / 0.5196 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002882/0.3798, allocations: 1.71 MB / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3811, allocations: 0.8799 MB / 0.5222 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.3812, allocations: 1.156 kB / 0.5222 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.3816, allocations: 51.06 kB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.3818, allocations: 59.72 kB / 0.5223 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.3821, allocations: 105.9 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.3823, allocations: 95.95 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3825, allocations: 11.95 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/0.3826, allocations: 40.81 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.3827, allocations: 34.86 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3827, allocations: 3.438 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3828, allocations: 42.45 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.3829, allocations: 31.69 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.383, allocations: 38.55 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.3832, allocations: 129.3 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3832, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3832, allocations: 1.25 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3833, allocations: 0 / 0.5228 GB, free: 1.547 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.0005311/0.3838, allocations: 438.3 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3838, allocations: 9.891 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.3839, allocations: 14.31 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.3842, allocations: 226.8 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3842, allocations: 1.5 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.3842, allocations: 7.391 kB / 0.5235 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3844, allocations: 53.98 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3844, allocations: 1.125 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3844, allocations: 0 / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3844, allocations: 5.188 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.3845, allocations: 18.97 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.3848, allocations: 293 kB / 0.5238 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.385, allocations: 59.58 kB / 0.5239 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.3851, allocations: 24.27 kB / 0.5239 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3851, allocations: 6.016 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3852, allocations: 69.25 kB / 0.524 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3852, allocations: 1.125 kB / 0.524 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005223/0.3858, allocations: 182.5 kB / 0.5241 GB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.3858, allocations: 56.53 kB / 0.5242 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.386, allocations: 262.4 kB / 0.5244 GB, free: 124 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3861, allocations: 30.95 kB / 0.5245 GB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.3861, allocations: 119.3 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.3862, allocations: 26.08 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.3862, allocations: 22.16 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3864, allocations: 331.9 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.137e-05/0.3864, allocations: 22.48 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.3865, allocations: 34.5 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3867, allocations: 62.7 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3867, allocations: 0 / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.3869, allocations: 110.5 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3869, allocations: 5.469 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3869, allocations: 1.438 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3869, allocations: 0.7031 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.387, allocations: 20.67 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.387, allocations: 0 / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.3871, allocations: 10.58 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/0.3871, allocations: 4.312 kB / 0.5252 GB, free: 15.46 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.0001141/0.3872, allocations: 133.1 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.3872, allocations: 14.33 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.3873, allocations: 27.38 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3873, allocations: 1.656 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3873, allocations: 0 / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3873, allocations: 4.688 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.3878, allocations: 399.2 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3878, allocations: 0.6562 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.3879, allocations: 8.312 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3879, allocations: 1.156 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3879, allocations: 7.359 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3879, allocations: 0 / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3879, allocations: 1.781 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.3882, allocations: 215 kB / 0.526 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.3882, allocations: 93.36 kB / 0.5261 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.3883, allocations: 10.59 kB / 0.5261 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.3883, allocations: 7.016 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.3884, allocations: 9.75 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3884, allocations: 4.203 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.3886, allocations: 204.2 kB / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3886, allocations: 4 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.3889, allocations: 27.55 kB / 0.5263 GB, free: 14.54 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.001049/0.3899, allocations: 454.2 kB / 0.5268 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.3901, allocations: 68.34 kB / 0.5268 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3901, allocations: 1.375 kB / 0.5268 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.3902, allocations: 31.25 kB / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3906, allocations: 31.5 kB / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.3911, allocations: 301.2 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3914, allocations: 0.7243 MB / 0.5279 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.3915, allocations: 17.8 kB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3915, allocations: 0 / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of Templates: time 0.004167/0.3957, allocations: 2.075 MB / 0.5299 GB, free: 12.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches