Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001226, allocations: 113.3 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.001032/0.001033, allocations: 185.1 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.295/1.295, allocations: 222.9 MB / 243.1 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.2118/0.2118, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 59.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3785, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003019/0.3815, allocations: 1.714 MB / 0.5213 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3829, allocations: 0.8753 MB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.729e-05/0.383, allocations: 5.219 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.3833, allocations: 33.19 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.3835, allocations: 58.94 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.3838, allocations: 109.1 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.384, allocations: 95.45 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3841, allocations: 12.92 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.3842, allocations: 45.44 kB / 0.5225 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.3842, allocations: 25.64 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3843, allocations: 3.281 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3844, allocations: 47.48 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.3844, allocations: 20.7 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.3845, allocations: 30.03 kB / 0.5226 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.3847, allocations: 109 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3847, allocations: 5.062 kB / 0.5227 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3847, allocations: 0 / 0.5227 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3847, allocations: 0 / 0.5227 GB, free: 1.551 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.0004788/0.3852, allocations: 407 kB / 0.5231 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3853, allocations: 10.36 kB / 0.5231 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.3853, allocations: 9.469 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.3856, allocations: 209.1 kB / 0.5233 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3856, allocations: 3.266 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3856, allocations: 6.438 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3858, allocations: 54.17 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3858, allocations: 7.875 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3858, allocations: 1.922 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3858, allocations: 0 / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.3859, allocations: 18.31 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.3862, allocations: 289.3 kB / 0.5237 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.3864, allocations: 56.08 kB / 0.5238 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.3865, allocations: 23.84 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3865, allocations: 1 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.3866, allocations: 74.86 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3866, allocations: 0 / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000548/0.3872, allocations: 171.7 kB / 0.524 GB, free: 388 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.3872, allocations: 57.2 kB / 0.5241 GB, free: 320 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3874, allocations: 172 kB / 0.5242 GB, free: 196 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.3874, allocations: 29.7 kB / 0.5243 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.3875, allocations: 94.72 kB / 0.5244 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3875, allocations: 30.89 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.3875, allocations: 26.58 kB / 0.5244 GB, free: 20 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3877, allocations: 325.1 kB / 0.5247 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.108e-05/0.3878, allocations: 25.42 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.3878, allocations: 35.59 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.388, allocations: 61.11 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.388, allocations: 5.562 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.3882, allocations: 103.4 kB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3882, allocations: 5.766 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3882, allocations: 1.188 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3882, allocations: 1.094 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.3883, allocations: 16.03 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3883, allocations: 1.125 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.3884, allocations: 7.047 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3884, allocations: 2.859 kB / 0.525 GB, free: 15.55 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.0001024/0.3885, allocations: 127.2 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.3886, allocations: 10.66 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.3886, allocations: 17.78 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3886, allocations: 1.25 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.3886, allocations: 1.906 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3886, allocations: 4.5 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.3891, allocations: 388.1 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3892, allocations: 4.688 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.3892, allocations: 13.53 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3892, allocations: 1.25 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3892, allocations: 6.484 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3892, allocations: 0 / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.3892, allocations: 1.734 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.3895, allocations: 203.9 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.3895, allocations: 88.78 kB / 0.5258 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3896, allocations: 7.625 kB / 0.5258 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.3897, allocations: 6.875 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.3897, allocations: 12.19 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3897, allocations: 5.25 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.3898, allocations: 130.8 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.345e-06/0.3899, allocations: 0 / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.3901, allocations: 25.94 kB / 0.526 GB, free: 14.67 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.001076/0.3912, allocations: 469.6 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.3914, allocations: 57.27 kB / 0.5265 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3914, allocations: 0 / 0.5265 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.3915, allocations: 37.44 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3918, allocations: 20.08 kB / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.3923, allocations: 240.6 kB / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3927, allocations: 0.6989 MB / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.3927, allocations: 17.02 kB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3927, allocations: 7.938 kB / 0.5275 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Templates: time 0.004201/0.3969, allocations: 1.884 MB / 0.5293 GB, free: 12.87 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches