Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009776/0.0009776, allocations: 199.7 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.212/1.212, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007797/0.0007798, allocations: 95.27 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2998/0.2998, allocations: 45 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002496/0.0002496, allocations: 11.98 kB / 470.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2791, allocations: 63.1 MB / 0.5214 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.001522/0.2807, allocations: 1.451 MB / 0.5228 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2819, allocations: 1.343 MB / 0.5241 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.282, allocations: 0 / 0.5241 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.2823, allocations: 103.6 kB / 0.5242 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.2825, allocations: 97.92 kB / 0.5243 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.2827, allocations: 95.16 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.2829, allocations: 125.3 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.283, allocations: 9.938 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.2831, allocations: 48.41 kB / 0.5246 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.2832, allocations: 65.78 kB / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.2832, allocations: 2.875 kB / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.2833, allocations: 47.16 kB / 0.5247 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.2833, allocations: 28.31 kB / 0.5247 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.2834, allocations: 65.02 kB / 0.5248 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.2836, allocations: 134.5 kB / 0.5249 GB, free: 35.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2836, allocations: 0 / 0.5249 GB, free: 35.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2836, allocations: 0 / 0.5249 GB, free: 35.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.2836, allocations: 0 / 0.5249 GB, free: 35.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003955/0.284, allocations: 431.8 kB / 0.5253 GB, free: 35.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.284, allocations: 8.906 kB / 0.5253 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.2841, allocations: 14.66 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2843, allocations: 220.3 kB / 0.5255 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2843, allocations: 384 / 0.5255 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.2843, allocations: 6.969 kB / 0.5255 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.2845, allocations: 62.19 kB / 0.5256 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2845, allocations: 2.812 kB / 0.5256 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.2845, allocations: 0 / 0.5256 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2845, allocations: 4 kB / 0.5256 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.62e-05/0.2846, allocations: 22.88 kB / 0.5256 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.2849, allocations: 307.9 kB / 0.5259 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.2851, allocations: 66.88 kB / 0.526 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.2851, allocations: 17.95 kB / 0.526 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2852, allocations: 7.234 kB / 0.526 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.2853, allocations: 65.14 kB / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2853, allocations: 0 / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006023/0.2859, allocations: 252.6 kB / 0.5263 GB, free: 34.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.2859, allocations: 55.34 kB / 0.5264 GB, free: 34.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.2861, allocations: 239.6 kB / 0.5266 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.2861, allocations: 25.7 kB / 0.5266 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.2862, allocations: 111.3 kB / 0.5267 GB, free: 34.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.2862, allocations: 36.05 kB / 0.5268 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.2862, allocations: 0 / 0.5268 GB, free: 34.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.2863, allocations: 330.8 kB / 0.5271 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.2863, allocations: 24.75 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.496e-05/0.2864, allocations: 48.44 kB / 0.5271 GB, free: 33.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.2865, allocations: 85.92 kB / 0.5272 GB, free: 33.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2865, allocations: 0 / 0.5272 GB, free: 33.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001695/0.2867, allocations: 125 kB / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.2867, allocations: 9.125 kB / 0.5274 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2867, allocations: 0 / 0.5274 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2867, allocations: 2.531 kB / 0.5274 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.2868, allocations: 24.91 kB / 0.5274 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2868, allocations: 3.938 kB / 0.5274 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.2869, allocations: 14.05 kB / 0.5274 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2869, allocations: 2.812 kB / 0.5274 GB, free: 33.78 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 (13): * Single equations (assignments): 13 * 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 7.097e-05/0.287, allocations: 130.9 kB / 0.5275 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.287, allocations: 13.56 kB / 0.5275 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.287, allocations: 21.33 kB / 0.5276 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.287, allocations: 0 / 0.5276 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2871, allocations: 3.938 kB / 0.5276 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2871, allocations: 6.75 kB / 0.5276 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.2874, allocations: 467.4 kB / 0.528 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2875, allocations: 0 / 0.528 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.2875, allocations: 15.84 kB / 0.528 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2875, allocations: 2.844 kB / 0.528 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2875, allocations: 4 kB / 0.528 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2875, allocations: 6.156 kB / 0.528 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2875, allocations: 64 / 0.528 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.2877, allocations: 234.7 kB / 0.5283 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.2878, allocations: 90.55 kB / 0.5284 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.2878, allocations: 14.2 kB / 0.5284 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.2879, allocations: 2.719 kB / 0.5284 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.2879, allocations: 10.34 kB / 0.5284 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2879, allocations: 10.06 kB / 0.5284 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.855e-05/0.288, allocations: 170 kB / 0.5286 GB, free: 32.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.288, allocations: 0 / 0.5286 GB, free: 32.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.2883, allocations: 28.09 kB / 0.5286 GB, free: 32.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.0009989/0.2893, allocations: 0.5861 MB / 0.5292 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.2895, allocations: 80.83 kB / 0.5292 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2895, allocations: 3.938 kB / 0.5292 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.796e-05/0.2895, allocations: 39.53 kB / 0.5293 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.2898, allocations: 34.34 kB / 0.5293 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.2902, allocations: 321.8 kB / 0.5296 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.2904, allocations: 0.7182 MB / 0.5303 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.2904, allocations: 22.5 kB / 0.5303 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.2905, allocations: 15.91 kB / 0.5303 GB, free: 31.49 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2905, allocations: 0 / 0.5303 GB, free: 31.49 MB / 378.7 MB Notification: Performance of Templates: time 0.003727/0.2942, allocations: 1.913 MB / 0.5322 GB, free: 31.27 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches