Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009902/0.0009902, allocations: 199.7 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007984/0.0007984, allocations: 98.8 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.3152/0.3152, allocations: 45 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002616, allocations: 12 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2752, allocations: 63.1 MB / 0.5214 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001501/0.2767, allocations: 1.428 MB / 0.5228 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2779, allocations: 1.351 MB / 0.5241 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.278, allocations: 0 / 0.5241 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.2782, allocations: 59.38 kB / 0.5241 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.2784, allocations: 79.64 kB / 0.5242 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.2786, allocations: 99.44 kB / 0.5243 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2787, allocations: 105.7 kB / 0.5244 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.2788, allocations: 9.156 kB / 0.5244 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.3e-05/0.2789, allocations: 45.53 kB / 0.5245 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.279, allocations: 38.23 kB / 0.5245 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.279, allocations: 2.844 kB / 0.5245 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.2791, allocations: 36.06 kB / 0.5245 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.2791, allocations: 28.03 kB / 0.5246 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.2792, allocations: 69.58 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.2793, allocations: 131.7 kB / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2793, allocations: 3.938 kB / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2793, allocations: 0 / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.2793, allocations: 0 / 0.5248 GB, free: 36 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.0003621/0.2797, allocations: 427.4 kB / 0.5252 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2798, allocations: 11.75 kB / 0.5252 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.2798, allocations: 17.98 kB / 0.5252 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.28, allocations: 221 kB / 0.5254 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.28, allocations: 384 / 0.5254 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.28, allocations: 7.125 kB / 0.5254 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2801, allocations: 55.14 kB / 0.5255 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2802, allocations: 2.5 kB / 0.5255 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.2802, allocations: 4 kB / 0.5255 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.2802, allocations: 0 / 0.5255 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.275e-05/0.2802, allocations: 21.3 kB / 0.5255 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.2805, allocations: 297.7 kB / 0.5258 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2806, allocations: 56.09 kB / 0.5258 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.2807, allocations: 28.72 kB / 0.5259 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.2807, allocations: 0 / 0.5259 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.2809, allocations: 71.78 kB / 0.5259 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2809, allocations: 0 / 0.5259 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004163/0.2813, allocations: 185.7 kB / 0.5261 GB, free: 34.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.2813, allocations: 55.34 kB / 0.5262 GB, free: 34.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.2815, allocations: 271.9 kB / 0.5264 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.2815, allocations: 32.98 kB / 0.5265 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.2816, allocations: 109 kB / 0.5266 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.2816, allocations: 28.59 kB / 0.5266 GB, free: 34.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.2816, allocations: 0 / 0.5266 GB, free: 34.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.2817, allocations: 332.1 kB / 0.5269 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.74e-05/0.2817, allocations: 19.69 kB / 0.5269 GB, free: 34.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/0.2818, allocations: 39.61 kB / 0.527 GB, free: 34.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.553e-05/0.2819, allocations: 63.16 kB / 0.527 GB, free: 34.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2819, allocations: 0 / 0.527 GB, free: 34.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001413/0.282, allocations: 102.7 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.282, allocations: 5.938 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.282, allocations: 0 / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2821, allocations: 0 / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.2821, allocations: 21.95 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2821, allocations: 4.031 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.2822, allocations: 6.5 kB / 0.5272 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2822, allocations: 2.625 kB / 0.5272 GB, free: 33.94 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 7.236e-05/0.2823, allocations: 135.2 kB / 0.5273 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.2823, allocations: 16.41 kB / 0.5273 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.2824, allocations: 22.31 kB / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2824, allocations: 2.938 kB / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2824, allocations: 0 / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2824, allocations: 3.938 kB / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.2827, allocations: 412.9 kB / 0.5277 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2827, allocations: 0 / 0.5277 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.2827, allocations: 12.44 kB / 0.5277 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2827, allocations: 0 / 0.5277 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2828, allocations: 10.72 kB / 0.5277 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2828, allocations: 3.234 kB / 0.5277 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2828, allocations: 0 / 0.5277 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.2829, allocations: 203.5 kB / 0.5279 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.283, allocations: 98.33 kB / 0.528 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.283, allocations: 11.11 kB / 0.528 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.2831, allocations: 0 / 0.528 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.2831, allocations: 17.06 kB / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2831, allocations: 6.906 kB / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.2832, allocations: 204.6 kB / 0.5283 GB, free: 33.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2833, allocations: 0 / 0.5283 GB, free: 33.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.2835, allocations: 26.12 kB / 0.5283 GB, free: 33.02 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.0008772/0.2844, allocations: 0.5263 MB / 0.5288 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.2845, allocations: 54.98 kB / 0.5289 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2845, allocations: 0 / 0.5289 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.688e-05/0.2846, allocations: 29.19 kB / 0.5289 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.2849, allocations: 29.28 kB / 0.5289 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.2853, allocations: 329.8 kB / 0.5292 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2854, allocations: 0.7229 MB / 0.5299 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.657e-05/0.2854, allocations: 15.19 kB / 0.5299 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.2855, allocations: 18.38 kB / 0.53 GB, free: 31.72 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2855, allocations: 0 / 0.53 GB, free: 31.72 MB / 378.7 MB Notification: Performance of Templates: time 0.003453/0.2889, allocations: 1.661 MB / 0.5316 GB, free: 31.55 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches