Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, allocations: 201.9 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008154/0.0008155, allocations: 107.3 kB / 299.9 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.3011/0.3011, allocations: 45.01 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002449/0.000245, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.258, allocations: 63.1 MB / 0.5214 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.001516/0.2596, allocations: 1.397 MB / 0.5227 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008016/0.2604, allocations: 0.7865 MB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.2604, allocations: 4 kB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.2606, allocations: 30.75 kB / 0.5235 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.2608, allocations: 60.53 kB / 0.5236 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.2611, allocations: 172.7 kB / 0.5238 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.2613, allocations: 91.75 kB / 0.5238 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.2614, allocations: 18.7 kB / 0.5239 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.2614, allocations: 37.56 kB / 0.5239 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.2615, allocations: 39.81 kB / 0.5239 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2615, allocations: 0 / 0.5239 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2616, allocations: 94.33 kB / 0.524 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.2617, allocations: 15.95 kB / 0.524 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.2617, allocations: 65.25 kB / 0.5241 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2619, allocations: 154.5 kB / 0.5243 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.262, allocations: 0 / 0.5243 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.262, allocations: 0 / 0.5243 GB, free: 36.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.262, allocations: 0 / 0.5243 GB, free: 36.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004771/0.2625, allocations: 435.2 kB / 0.5247 GB, free: 36.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.2625, allocations: 8.75 kB / 0.5247 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.2625, allocations: 14.5 kB / 0.5247 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.2627, allocations: 207.3 kB / 0.5249 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.2627, allocations: 384 / 0.5249 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.2627, allocations: 6.875 kB / 0.5249 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.263, allocations: 101.7 kB / 0.525 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.263, allocations: 3.031 kB / 0.525 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.263, allocations: 0 / 0.525 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.263, allocations: 0 / 0.525 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.2633, allocations: 96.94 kB / 0.5251 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.2638, allocations: 361.2 kB / 0.5254 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.264, allocations: 88.31 kB / 0.5255 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2641, allocations: 61.98 kB / 0.5256 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2641, allocations: 3.938 kB / 0.5256 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.2642, allocations: 34.5 kB / 0.5256 GB, free: 35.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2642, allocations: 0 / 0.5256 GB, free: 35.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001448/0.2656, allocations: 0.4943 MB / 0.5261 GB, free: 35.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.2657, allocations: 85.05 kB / 0.5262 GB, free: 35.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2658, allocations: 164.9 kB / 0.5263 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2658, allocations: 29.7 kB / 0.5264 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.2658, allocations: 93.64 kB / 0.5264 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.2659, allocations: 29.75 kB / 0.5265 GB, free: 34.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.2659, allocations: 96 / 0.5265 GB, free: 34.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.289e-05/0.2659, allocations: 330 kB / 0.5268 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.2662, allocations: 99.75 kB / 0.5269 GB, free: 34.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.2665, allocations: 121.2 kB / 0.527 GB, free: 34.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.267, allocations: 209.9 kB / 0.5272 GB, free: 34.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.267, allocations: 4 kB / 0.5272 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005526/0.2675, allocations: 253.7 kB / 0.5274 GB, free: 34.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2676, allocations: 5.656 kB / 0.5275 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2676, allocations: 0 / 0.5275 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2676, allocations: 0 / 0.5275 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.2678, allocations: 52.55 kB / 0.5275 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2678, allocations: 6.219 kB / 0.5275 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.268, allocations: 41.39 kB / 0.5275 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.268, allocations: 6.062 kB / 0.5276 GB, free: 34.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.177e-05/0.268, allocations: 119.5 kB / 0.5277 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.2681, allocations: 9.812 kB / 0.5277 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005923/0.2687, allocations: 268.5 kB / 0.5279 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2687, allocations: 6.938 kB / 0.5279 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2687, allocations: 2.625 kB / 0.5279 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2687, allocations: 3.938 kB / 0.5279 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007611/0.2695, allocations: 0.5609 MB / 0.5285 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2695, allocations: 0 / 0.5285 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.2697, allocations: 51.28 kB / 0.5285 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2697, allocations: 0 / 0.5285 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.2697, allocations: 3.094 kB / 0.5285 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2697, allocations: 0 / 0.5285 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2697, allocations: 0 / 0.5285 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/0.2703, allocations: 353.3 kB / 0.5289 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.2703, allocations: 87.3 kB / 0.529 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.2703, allocations: 6.812 kB / 0.529 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.2705, allocations: 36.84 kB / 0.529 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.2706, allocations: 10.02 kB / 0.529 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.2706, allocations: 6.875 kB / 0.529 GB, free: 33.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.772e-05/0.2707, allocations: 121.8 kB / 0.5291 GB, free: 33.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2707, allocations: 4 kB / 0.5291 GB, free: 33.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.2709, allocations: 53.2 kB / 0.5292 GB, free: 33.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0009111/0.2718, allocations: 0.5486 MB / 0.5297 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.2724, allocations: 221.5 kB / 0.5299 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2724, allocations: 0 / 0.5299 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.2727, allocations: 109.3 kB / 0.53 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.273, allocations: 28.17 kB / 0.5301 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.2734, allocations: 278.4 kB / 0.5303 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.2735, allocations: 0.7016 MB / 0.531 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.772e-05/0.2736, allocations: 31.81 kB / 0.5311 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.2736, allocations: 16.12 kB / 0.5311 GB, free: 31.99 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2736, allocations: 0 / 0.5311 GB, free: 31.99 MB / 378.7 MB Notification: Performance of Templates: time 0.004211/0.2779, allocations: 2.376 MB / 0.5334 GB, free: 31.73 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches