Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009156/0.0009153, allocations: 199.9 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, 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.0007961/0.0007961, allocations: 107.6 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3036/0.3036, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002276, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.26, allocations: 63.1 MB / 0.5214 GB, free: 38.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.00137/0.2615, allocations: 1.314 MB / 0.5227 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007065/0.2622, allocations: 0.7282 MB / 0.5234 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.2622, allocations: 0 / 0.5234 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.2625, allocations: 117.9 kB / 0.5235 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.2627, allocations: 121.4 kB / 0.5236 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.2629, allocations: 72.86 kB / 0.5237 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.263, allocations: 93.97 kB / 0.5238 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.644e-05/0.2631, allocations: 12.62 kB / 0.5238 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.678e-05/0.2632, allocations: 40.06 kB / 0.5238 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.2633, allocations: 80.73 kB / 0.5239 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.2633, allocations: 3.938 kB / 0.5239 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.2633, allocations: 43 kB / 0.5239 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.2634, allocations: 28.61 kB / 0.524 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.2634, allocations: 62.92 kB / 0.524 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.2636, allocations: 115.6 kB / 0.5241 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2636, allocations: 0 / 0.5241 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2636, allocations: 2.5 kB / 0.5241 GB, free: 36.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.2636, allocations: 0 / 0.5241 GB, free: 36.49 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.0003149/0.2639, allocations: 418.8 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.264, allocations: 11.09 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.264, allocations: 13.94 kB / 0.5246 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2641, allocations: 208 kB / 0.5247 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.2641, allocations: 2.844 kB / 0.5248 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2642, allocations: 3.031 kB / 0.5248 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2643, allocations: 65.83 kB / 0.5248 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2643, allocations: 0 / 0.5248 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2643, allocations: 6.625 kB / 0.5248 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2643, allocations: 0 / 0.5248 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.2644, allocations: 29.83 kB / 0.5249 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.2647, allocations: 306.3 kB / 0.5251 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.2648, allocations: 54.03 kB / 0.5252 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.2648, allocations: 23.64 kB / 0.5252 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.2648, allocations: 0 / 0.5252 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.04e-05/0.2649, allocations: 30.56 kB / 0.5252 GB, free: 35.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2649, allocations: 3.938 kB / 0.5253 GB, free: 35.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000707/0.2656, allocations: 262.4 kB / 0.5255 GB, free: 35.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.495e-05/0.2656, allocations: 51.41 kB / 0.5256 GB, free: 35.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.2658, allocations: 281.1 kB / 0.5258 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.742e-06/0.2658, allocations: 25.7 kB / 0.5258 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.2658, allocations: 111.6 kB / 0.5259 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.2659, allocations: 29.91 kB / 0.526 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.2659, allocations: 7.938 kB / 0.526 GB, free: 34.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.2659, allocations: 327.9 kB / 0.5263 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.266, allocations: 24.7 kB / 0.5263 GB, free: 34.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.2661, allocations: 36.28 kB / 0.5264 GB, free: 34.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.2662, allocations: 70.3 kB / 0.5264 GB, free: 34.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2662, allocations: 0 / 0.5264 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001635/0.2664, allocations: 106.8 kB / 0.5265 GB, free: 34.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.2664, allocations: 2.906 kB / 0.5265 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.2664, allocations: 4 kB / 0.5265 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.2664, allocations: 2.781 kB / 0.5265 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.2665, allocations: 25.67 kB / 0.5266 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2665, allocations: 3.938 kB / 0.5266 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.2666, allocations: 13.17 kB / 0.5266 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2666, allocations: 2.844 kB / 0.5266 GB, free: 34.48 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 (8): * Single equations (assignments): 8 * 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.007e-05/0.2666, allocations: 131.3 kB / 0.5267 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.2667, allocations: 17.88 kB / 0.5267 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.2669, allocations: 136 kB / 0.5268 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2669, allocations: 0 / 0.5268 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2669, allocations: 3.938 kB / 0.5269 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2669, allocations: 3.938 kB / 0.5269 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.2673, allocations: 419.9 kB / 0.5273 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2673, allocations: 3.031 kB / 0.5273 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.2674, allocations: 18.31 kB / 0.5273 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2674, allocations: 11.3 kB / 0.5273 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.2674, allocations: 6.906 kB / 0.5273 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2674, allocations: 0 / 0.5273 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2674, allocations: 0 / 0.5273 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.2676, allocations: 219 kB / 0.5275 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.2676, allocations: 98.52 kB / 0.5276 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.2676, allocations: 3.281 kB / 0.5276 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.2677, allocations: 5.688 kB / 0.5276 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.2677, allocations: 5.531 kB / 0.5276 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.2677, allocations: 6.969 kB / 0.5276 GB, free: 33.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.2679, allocations: 209.6 kB / 0.5278 GB, free: 33.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2679, allocations: 0 / 0.5278 GB, free: 33.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.2681, allocations: 26.69 kB / 0.5278 GB, free: 33.51 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008542/0.2689, allocations: 0.4951 MB / 0.5283 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.2691, allocations: 79.84 kB / 0.5284 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2691, allocations: 0 / 0.5284 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.2692, allocations: 44.97 kB / 0.5284 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.2695, allocations: 16.5 kB / 0.5285 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.2699, allocations: 346.8 kB / 0.5288 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.27, allocations: 0.7216 MB / 0.5295 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.487e-05/0.2701, allocations: 6.391 kB / 0.5295 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.2701, allocations: 15.31 kB / 0.5295 GB, free: 32.22 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2701, allocations: 0 / 0.5295 GB, free: 32.22 MB / 378.7 MB Notification: Performance of Templates: time 0.002973/0.2731, allocations: 1.32 MB / 0.5308 GB, free: 32.05 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches