Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009892/0.0009896, allocations: 197.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008225/0.0008226, allocations: 91.75 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3022/0.3022, allocations: 45.01 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002581/0.0002581, allocations: 12 kB / 470.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.283, allocations: 63.1 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001795/0.2849, allocations: 1.434 MB / 0.5228 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2862, allocations: 1.336 MB / 0.5241 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.2863, allocations: 4 kB / 0.5241 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.2865, allocations: 42.17 kB / 0.5241 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.2868, allocations: 70.16 kB / 0.5242 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.287, allocations: 97.94 kB / 0.5243 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.2872, allocations: 99.58 kB / 0.5244 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.463e-05/0.2873, allocations: 9.562 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.371e-05/0.2873, allocations: 39.3 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.2874, allocations: 38.58 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2874, allocations: 3.984 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.918e-05/0.2875, allocations: 39.23 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.2876, allocations: 10.12 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.2876, allocations: 57.92 kB / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.2878, allocations: 109.2 kB / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2878, allocations: 0 / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2878, allocations: 0 / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.2878, allocations: 0 / 0.5247 GB, free: 35.98 MB / 378.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.0003741/0.2882, allocations: 394.8 kB / 0.5251 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2882, allocations: 12.75 kB / 0.5251 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.2883, allocations: 10.66 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.2884, allocations: 217.5 kB / 0.5253 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2884, allocations: 384 / 0.5253 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.2885, allocations: 7 kB / 0.5253 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.2886, allocations: 52.66 kB / 0.5253 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2886, allocations: 0 / 0.5253 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2886, allocations: 3.984 kB / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2886, allocations: 3.062 kB / 0.5254 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.034e-05/0.2887, allocations: 19.75 kB / 0.5254 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.289, allocations: 286.3 kB / 0.5256 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.2891, allocations: 57.44 kB / 0.5257 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.2892, allocations: 18.58 kB / 0.5257 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2892, allocations: 6.875 kB / 0.5257 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.2893, allocations: 77.16 kB / 0.5258 GB, free: 34.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.2894, allocations: 0 / 0.5258 GB, free: 34.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00043/0.2898, allocations: 171.2 kB / 0.526 GB, free: 34.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.2898, allocations: 51.41 kB / 0.526 GB, free: 34.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.29, allocations: 170.7 kB / 0.5262 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.29, allocations: 29.7 kB / 0.5262 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.29, allocations: 110.3 kB / 0.5263 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.2901, allocations: 20.83 kB / 0.5263 GB, free: 34.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.2901, allocations: 0 / 0.5263 GB, free: 34.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.2901, allocations: 324.9 kB / 0.5266 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.2902, allocations: 23.06 kB / 0.5267 GB, free: 34.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.2902, allocations: 32.58 kB / 0.5267 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.309e-05/0.2903, allocations: 62.89 kB / 0.5267 GB, free: 34.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2903, allocations: 0 / 0.5267 GB, free: 34.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001475/0.2905, allocations: 96.58 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2905, allocations: 8.844 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2905, allocations: 384 / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2905, allocations: 2.719 kB / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.2906, allocations: 15.56 kB / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.2906, allocations: 2.906 kB / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.2907, allocations: 14.11 kB / 0.5269 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.2907, allocations: 11.09 kB / 0.5269 GB, free: 34 MB / 378.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 () * 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 6.676e-05/0.2908, allocations: 119.3 kB / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.2908, allocations: 16.83 kB / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.2908, allocations: 18.3 kB / 0.527 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2908, allocations: 0 / 0.527 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2909, allocations: 0 / 0.527 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2909, allocations: 3.938 kB / 0.527 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.2912, allocations: 397.4 kB / 0.5274 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2912, allocations: 0 / 0.5274 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.2912, allocations: 11.27 kB / 0.5274 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2912, allocations: 0 / 0.5274 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2912, allocations: 6.812 kB / 0.5274 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2913, allocations: 3.938 kB / 0.5274 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2913, allocations: 2.969 kB / 0.5274 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2914, allocations: 203.7 kB / 0.5276 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.2915, allocations: 87.31 kB / 0.5277 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.2915, allocations: 10.72 kB / 0.5277 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.2916, allocations: 2.969 kB / 0.5277 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.2916, allocations: 6.328 kB / 0.5277 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2916, allocations: 3 kB / 0.5277 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.2917, allocations: 127.5 kB / 0.5279 GB, free: 33.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2917, allocations: 192 / 0.5279 GB, free: 33.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.2919, allocations: 33.45 kB / 0.5279 GB, free: 33.12 MB / 378.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) * 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.0009012/0.2928, allocations: 0.5173 MB / 0.5284 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.293, allocations: 59.66 kB / 0.5285 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.293, allocations: 2.531 kB / 0.5285 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.2931, allocations: 32.06 kB / 0.5285 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.2934, allocations: 32.03 kB / 0.5285 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.2937, allocations: 231.3 kB / 0.5287 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.2938, allocations: 0.7047 MB / 0.5294 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.116e-05/0.2939, allocations: 15.5 kB / 0.5294 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.2939, allocations: 15.03 kB / 0.5295 GB, free: 31.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2939, allocations: 4 kB / 0.5295 GB, free: 31.86 MB / 378.7 MB Notification: Performance of Templates: time 0.003551/0.2975, allocations: 1.637 MB / 0.5311 GB, free: 31.68 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches