Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007666/0.0007666, allocations: 95.19 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3144/0.3144, allocations: 45 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002598, allocations: 8 kB / 470.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2821, allocations: 63.11 MB / 0.5214 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.001553/0.2837, allocations: 1.423 MB / 0.5228 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2849, allocations: 1.347 MB / 0.5241 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.2849, allocations: 0 / 0.5241 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.2852, allocations: 57.56 kB / 0.5241 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.2854, allocations: 87.52 kB / 0.5242 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.2857, allocations: 91.98 kB / 0.5243 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.2858, allocations: 105.2 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.2859, allocations: 9.5 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.286, allocations: 43.33 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.938e-05/0.2861, allocations: 33.5 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2861, allocations: 3.094 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.2862, allocations: 37.28 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.2862, allocations: 27.48 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.2863, allocations: 59.52 kB / 0.5246 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.2864, allocations: 118.3 kB / 0.5247 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2864, allocations: 2.625 kB / 0.5247 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2864, allocations: 4 kB / 0.5247 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.2864, allocations: 0 / 0.5247 GB, free: 35.95 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.0003766/0.2868, allocations: 414.5 kB / 0.5251 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.2869, allocations: 11 kB / 0.5251 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.2869, allocations: 18.41 kB / 0.5252 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.2871, allocations: 211.2 kB / 0.5254 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2871, allocations: 2.938 kB / 0.5254 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.2871, allocations: 6.75 kB / 0.5254 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.2872, allocations: 63.12 kB / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2873, allocations: 3.906 kB / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2873, allocations: 2.469 kB / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.2873, allocations: 0 / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/0.2874, allocations: 25.94 kB / 0.5255 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.2876, allocations: 291.9 kB / 0.5257 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.2878, allocations: 61.83 kB / 0.5258 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.2878, allocations: 19.86 kB / 0.5258 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.2879, allocations: 2.844 kB / 0.5258 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.288, allocations: 68.75 kB / 0.5259 GB, free: 34.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.288, allocations: 0 / 0.5259 GB, free: 34.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004663/0.2885, allocations: 181.1 kB / 0.5261 GB, free: 34.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.2885, allocations: 57.78 kB / 0.5261 GB, free: 34.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2887, allocations: 231.7 kB / 0.5263 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.2887, allocations: 29.7 kB / 0.5264 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.2887, allocations: 108.8 kB / 0.5265 GB, free: 34.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.2888, allocations: 26.75 kB / 0.5265 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.2888, allocations: 2.969 kB / 0.5265 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.2888, allocations: 332.1 kB / 0.5268 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.2889, allocations: 23.27 kB / 0.5268 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.2889, allocations: 33.03 kB / 0.5269 GB, free: 34.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/0.2891, allocations: 53.91 kB / 0.5269 GB, free: 33.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2891, allocations: 7.062 kB / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001417/0.2892, allocations: 104.6 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.2893, allocations: 5.875 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2893, allocations: 0 / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2893, allocations: 4.031 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.2894, allocations: 21.91 kB / 0.5271 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2894, allocations: 0 / 0.5271 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.2894, allocations: 6.906 kB / 0.5271 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.2894, allocations: 6.234 kB / 0.5271 GB, free: 33.91 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.469e-05/0.2895, allocations: 125.5 kB / 0.5272 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.2895, allocations: 19.81 kB / 0.5272 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.2896, allocations: 15.56 kB / 0.5272 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2896, allocations: 4 kB / 0.5272 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2896, allocations: 0 / 0.5272 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2896, allocations: 7.406 kB / 0.5272 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.2899, allocations: 400.5 kB / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2899, allocations: 0 / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.29, allocations: 9.062 kB / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.29, allocations: 0 / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.29, allocations: 6.5 kB / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.29, allocations: 7.688 kB / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.29, allocations: 0 / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.2902, allocations: 207.7 kB / 0.5278 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.2902, allocations: 90.33 kB / 0.5279 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.2902, allocations: 7.938 kB / 0.5279 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.2903, allocations: 7.031 kB / 0.5279 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.2903, allocations: 10.91 kB / 0.5279 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.2904, allocations: 2.969 kB / 0.5279 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2905, allocations: 175.4 kB / 0.5281 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2905, allocations: 0 / 0.5281 GB, free: 33.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.2907, allocations: 30.22 kB / 0.5281 GB, free: 33.01 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.0008718/0.2916, allocations: 0.524 MB / 0.5287 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.2917, allocations: 57.98 kB / 0.5287 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2917, allocations: 0 / 0.5287 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.2918, allocations: 28.77 kB / 0.5287 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.2921, allocations: 30.16 kB / 0.5288 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.2925, allocations: 296 kB / 0.5291 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.2926, allocations: 0.7113 MB / 0.5297 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.801e-05/0.2926, allocations: 16.78 kB / 0.5298 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.2927, allocations: 15.97 kB / 0.5298 GB, free: 31.73 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2927, allocations: 0 / 0.5298 GB, free: 31.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003575/0.2963, allocations: 1.656 MB / 0.5314 GB, free: 31.55 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches