Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008909/0.0008909, allocations: 201.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.229/1.229, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008191/0.0008192, allocations: 100.7 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2822/0.2822, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002775, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.257, allocations: 63.1 MB / 0.5214 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.001439/0.2585, allocations: 1.428 MB / 0.5228 GB, free: 37.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2597, allocations: 1.352 MB / 0.5241 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.2597, allocations: 0 / 0.5241 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.26, allocations: 55.5 kB / 0.5241 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.2602, allocations: 77.58 kB / 0.5242 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.2604, allocations: 108.5 kB / 0.5243 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.2605, allocations: 100.7 kB / 0.5244 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.606e-05/0.2606, allocations: 13.83 kB / 0.5244 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.2607, allocations: 43.53 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.2608, allocations: 42.56 kB / 0.5245 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2608, allocations: 3.031 kB / 0.5245 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.2609, allocations: 31.31 kB / 0.5245 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.2609, allocations: 32.44 kB / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.261, allocations: 72.41 kB / 0.5246 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.2611, allocations: 129.1 kB / 0.5248 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2611, allocations: 0 / 0.5248 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2611, allocations: 0 / 0.5248 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.676e-06/0.2611, allocations: 0 / 0.5248 GB, free: 35.91 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.0003507/0.2615, allocations: 430.5 kB / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.2615, allocations: 10.56 kB / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.2616, allocations: 14.56 kB / 0.5252 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.2617, allocations: 226.7 kB / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2618, allocations: 6.969 kB / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.2618, allocations: 10.45 kB / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.2619, allocations: 51.47 kB / 0.5255 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2619, allocations: 0 / 0.5255 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.2619, allocations: 0 / 0.5255 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.2619, allocations: 0 / 0.5255 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-05/0.262, allocations: 23.39 kB / 0.5255 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.2623, allocations: 302.7 kB / 0.5258 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.2624, allocations: 58.16 kB / 0.5259 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.2625, allocations: 20.67 kB / 0.5259 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.2625, allocations: 0 / 0.5259 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.2626, allocations: 79.33 kB / 0.5259 GB, free: 34.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2626, allocations: 0 / 0.5259 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004131/0.263, allocations: 184 kB / 0.5261 GB, free: 34.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.2631, allocations: 54.41 kB / 0.5262 GB, free: 34.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.2633, allocations: 283.2 kB / 0.5264 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.2633, allocations: 28.61 kB / 0.5265 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.2633, allocations: 116.6 kB / 0.5266 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.2633, allocations: 21.66 kB / 0.5266 GB, free: 34.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.2634, allocations: 4 kB / 0.5266 GB, free: 34.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.2634, allocations: 335.2 kB / 0.5269 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.2635, allocations: 20.16 kB / 0.5269 GB, free: 33.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.351e-05/0.2635, allocations: 39.09 kB / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.2636, allocations: 58.47 kB / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2636, allocations: 0 / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001416/0.2638, allocations: 105.2 kB / 0.5271 GB, free: 33.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.2638, allocations: 5.562 kB / 0.5271 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2638, allocations: 3.016 kB / 0.5272 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2638, allocations: 0 / 0.5272 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.2639, allocations: 18.84 kB / 0.5272 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2639, allocations: 6.703 kB / 0.5272 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.264, allocations: 6.719 kB / 0.5272 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.264, allocations: 6.906 kB / 0.5272 GB, free: 33.85 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.043e-05/0.264, allocations: 135.8 kB / 0.5273 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.2641, allocations: 24.19 kB / 0.5273 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.2641, allocations: 22.31 kB / 0.5274 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2641, allocations: 0 / 0.5274 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2641, allocations: 3.188 kB / 0.5274 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2641, allocations: 3.938 kB / 0.5274 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.2645, allocations: 409.3 kB / 0.5278 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2645, allocations: 0 / 0.5278 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.2645, allocations: 19.28 kB / 0.5278 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2645, allocations: 0 / 0.5278 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.2645, allocations: 6.438 kB / 0.5278 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2645, allocations: 0 / 0.5278 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2645, allocations: 0 / 0.5278 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.2647, allocations: 217.4 kB / 0.528 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.2647, allocations: 87.89 kB / 0.5281 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.2648, allocations: 13.73 kB / 0.5281 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.2648, allocations: 6.531 kB / 0.5281 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.2649, allocations: 5.734 kB / 0.5281 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.2649, allocations: 5.562 kB / 0.5281 GB, free: 33.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.265, allocations: 212.8 kB / 0.5283 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.265, allocations: 0 / 0.5283 GB, free: 32.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.2652, allocations: 28.73 kB / 0.5283 GB, free: 32.92 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.0008251/0.2661, allocations: 0.5209 MB / 0.5288 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.2662, allocations: 54.81 kB / 0.5289 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2662, allocations: 0 / 0.5289 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.702e-05/0.2663, allocations: 33.12 kB / 0.5289 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2666, allocations: 37.28 kB / 0.529 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.267, allocations: 335.9 kB / 0.5293 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2671, allocations: 0.7229 MB / 0.53 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.63e-05/0.2671, allocations: 13.83 kB / 0.53 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.2672, allocations: 20.17 kB / 0.53 GB, free: 31.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2672, allocations: 0 / 0.53 GB, free: 31.62 MB / 378.7 MB Notification: Performance of Templates: time 0.003366/0.2705, allocations: 1.668 MB / 0.5317 GB, free: 31.44 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches