Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 199.8 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.259/1.259, allocations: 229.5 MB / 247.7 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000733/0.0007329, allocations: 100 kB / 299.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2749/0.2749, allocations: 45.01 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002289/0.0002289, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2728, allocations: 63.1 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001848/0.2747, allocations: 1.453 MB / 0.5228 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.276, allocations: 1.343 MB / 0.5241 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.2761, allocations: 0 / 0.5241 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.2764, allocations: 99.75 kB / 0.5242 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.2766, allocations: 94.38 kB / 0.5243 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.2769, allocations: 93.53 kB / 0.5244 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.2771, allocations: 115.2 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2772, allocations: 11.34 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.2773, allocations: 53.47 kB / 0.5246 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.2774, allocations: 55.69 kB / 0.5246 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2774, allocations: 3.094 kB / 0.5246 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.532e-05/0.2775, allocations: 55.02 kB / 0.5247 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.2775, allocations: 19.75 kB / 0.5247 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.2776, allocations: 73.34 kB / 0.5248 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2777, allocations: 135.2 kB / 0.5249 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2778, allocations: 0 / 0.5249 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2778, allocations: 0 / 0.5249 GB, free: 35.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2778, allocations: 0 / 0.5249 GB, free: 35.92 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.0003999/0.2782, allocations: 421.2 kB / 0.5253 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.2782, allocations: 8.938 kB / 0.5253 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.2782, allocations: 10.56 kB / 0.5253 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.2784, allocations: 217 kB / 0.5255 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2784, allocations: 7.188 kB / 0.5255 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.2785, allocations: 11 kB / 0.5255 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.2786, allocations: 58.25 kB / 0.5256 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2786, allocations: 0 / 0.5256 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2786, allocations: 0 / 0.5256 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2786, allocations: 6.906 kB / 0.5256 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.839e-05/0.2787, allocations: 22.59 kB / 0.5256 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.279, allocations: 301.9 kB / 0.5259 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.2792, allocations: 62.47 kB / 0.526 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.2793, allocations: 23.66 kB / 0.526 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.2793, allocations: 4 kB / 0.526 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.2795, allocations: 74.42 kB / 0.5261 GB, free: 34.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.2795, allocations: 0 / 0.5261 GB, free: 34.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005987/0.2801, allocations: 240.3 kB / 0.5263 GB, free: 34.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.2801, allocations: 62.34 kB / 0.5263 GB, free: 34.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2803, allocations: 218.7 kB / 0.5266 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.2803, allocations: 28.27 kB / 0.5266 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.2803, allocations: 112.4 kB / 0.5267 GB, free: 34.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.2803, allocations: 31.91 kB / 0.5267 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.2804, allocations: 2.688 kB / 0.5267 GB, free: 34.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.2804, allocations: 325.4 kB / 0.527 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.2805, allocations: 26.2 kB / 0.5271 GB, free: 34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.2805, allocations: 46.25 kB / 0.5271 GB, free: 33.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.2807, allocations: 87.56 kB / 0.5272 GB, free: 33.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2807, allocations: 7.875 kB / 0.5272 GB, free: 33.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001658/0.2808, allocations: 123.7 kB / 0.5273 GB, free: 33.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2809, allocations: 6.156 kB / 0.5273 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2809, allocations: 0 / 0.5273 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2809, allocations: 0 / 0.5273 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.281, allocations: 26.77 kB / 0.5273 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.281, allocations: 3.938 kB / 0.5273 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.281, allocations: 10.59 kB / 0.5274 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.281, allocations: 2.5 kB / 0.5274 GB, free: 33.83 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 6.59e-05/0.2811, allocations: 131.4 kB / 0.5275 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.2811, allocations: 9.938 kB / 0.5275 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.2812, allocations: 17.97 kB / 0.5275 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2812, allocations: 2.812 kB / 0.5275 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2812, allocations: 3.938 kB / 0.5275 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2812, allocations: 0 / 0.5275 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.2816, allocations: 461 kB / 0.528 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2816, allocations: 0 / 0.528 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.2816, allocations: 19.12 kB / 0.528 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2816, allocations: 2.875 kB / 0.528 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.2816, allocations: 3.938 kB / 0.528 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2816, allocations: 7.016 kB / 0.528 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2817, allocations: 64 / 0.528 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.2818, allocations: 236.9 kB / 0.5282 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.2819, allocations: 93.66 kB / 0.5283 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.2819, allocations: 6.812 kB / 0.5283 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.282, allocations: 2.594 kB / 0.5283 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.282, allocations: 17.75 kB / 0.5283 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.282, allocations: 13.09 kB / 0.5283 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.327e-05/0.2821, allocations: 167.6 kB / 0.5285 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2821, allocations: 0 / 0.5285 GB, free: 32.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.2824, allocations: 29.41 kB / 0.5285 GB, free: 32.88 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.000969/0.2833, allocations: 0.5829 MB / 0.5291 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.2835, allocations: 85.39 kB / 0.5292 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2835, allocations: 0 / 0.5292 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.898e-05/0.2836, allocations: 46.11 kB / 0.5292 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.2839, allocations: 29.89 kB / 0.5292 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.2843, allocations: 318.3 kB / 0.5296 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.2844, allocations: 0.7137 MB / 0.5302 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.2845, allocations: 24.78 kB / 0.5303 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.2845, allocations: 26.11 kB / 0.5303 GB, free: 31.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2845, allocations: 0 / 0.5303 GB, free: 31.52 MB / 378.7 MB Notification: Performance of Templates: time 0.003647/0.2882, allocations: 1.893 MB / 0.5321 GB, free: 31.32 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches