Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008422/0.0008422, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 229.5 MB / 247.7 MB, free: 6.309 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008058/0.0008058, allocations: 95.02 kB / 299.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2882/0.2882, allocations: 45 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002359, allocations: 11.98 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2578, allocations: 63.09 MB / 0.5214 GB, free: 38.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001388/0.2592, allocations: 1.297 MB / 0.5226 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2604, allocations: 1.411 MB / 0.524 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.2604, allocations: 6.531 kB / 0.524 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.2606, allocations: 22.95 kB / 0.524 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.2608, allocations: 71.89 kB / 0.5241 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.261, allocations: 94.33 kB / 0.5242 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2611, allocations: 54.66 kB / 0.5243 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.429e-05/0.2612, allocations: 20.33 kB / 0.5243 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.2613, allocations: 27.75 kB / 0.5243 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2614, allocations: 30.48 kB / 0.5243 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2614, allocations: 2.781 kB / 0.5243 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.2615, allocations: 80.62 kB / 0.5244 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.2616, allocations: 10.31 kB / 0.5244 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.2616, allocations: 47.05 kB / 0.5245 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.2618, allocations: 131.8 kB / 0.5246 GB, free: 35.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2618, allocations: 0 / 0.5246 GB, free: 35.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2618, allocations: 0 / 0.5246 GB, free: 35.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.2618, allocations: 4 kB / 0.5246 GB, free: 35.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003419/0.2622, allocations: 395 kB / 0.525 GB, free: 35.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2622, allocations: 11.25 kB / 0.525 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.2622, allocations: 7.5 kB / 0.525 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2624, allocations: 191 kB / 0.5252 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2624, allocations: 7.219 kB / 0.5252 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.2624, allocations: 384 / 0.5252 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.2626, allocations: 68.36 kB / 0.5252 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2626, allocations: 6.484 kB / 0.5252 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2626, allocations: 4 kB / 0.5252 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.2626, allocations: 0 / 0.5252 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.2627, allocations: 27.91 kB / 0.5253 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.263, allocations: 288.8 kB / 0.5256 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.2631, allocations: 46.64 kB / 0.5256 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.2632, allocations: 18.58 kB / 0.5256 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.2632, allocations: 0 / 0.5256 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.2632, allocations: 37.7 kB / 0.5256 GB, free: 34.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2633, allocations: 2.906 kB / 0.5257 GB, free: 34.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004558/0.2637, allocations: 166.8 kB / 0.5258 GB, free: 34.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.2637, allocations: 79.95 kB / 0.5259 GB, free: 34.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.2638, allocations: 141.1 kB / 0.526 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.2639, allocations: 36.52 kB / 0.5261 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.2639, allocations: 90.23 kB / 0.5261 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.2639, allocations: 19.66 kB / 0.5262 GB, free: 34.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.2639, allocations: 2.844 kB / 0.5262 GB, free: 34.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.264, allocations: 329.9 kB / 0.5265 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.264, allocations: 23.17 kB / 0.5265 GB, free: 33.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.2641, allocations: 44.25 kB / 0.5265 GB, free: 33.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.2642, allocations: 62.91 kB / 0.5266 GB, free: 33.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.2643, allocations: 0 / 0.5266 GB, free: 33.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001569/0.2644, allocations: 93.31 kB / 0.5267 GB, free: 33.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.2644, allocations: 5.188 kB / 0.5267 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2644, allocations: 0 / 0.5267 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2645, allocations: 7.938 kB / 0.5267 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.2645, allocations: 12.31 kB / 0.5267 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2645, allocations: 3.469 kB / 0.5267 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.2646, allocations: 5.188 kB / 0.5267 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.2646, allocations: 7 kB / 0.5267 GB, free: 33.89 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 (5): * Single equations (assignments): 5 * 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 4.995e-05/0.2646, allocations: 113 kB / 0.5268 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.2647, allocations: 6.031 kB / 0.5268 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.2649, allocations: 109.8 kB / 0.5269 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2649, allocations: 0 / 0.5269 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2649, allocations: 0 / 0.5269 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2649, allocations: 3.938 kB / 0.527 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.2652, allocations: 372.5 kB / 0.5273 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2652, allocations: 2.781 kB / 0.5273 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.2653, allocations: 15.66 kB / 0.5273 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2653, allocations: 0 / 0.5273 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.2653, allocations: 4 kB / 0.5273 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2653, allocations: 3.938 kB / 0.5273 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2653, allocations: 4 kB / 0.5273 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.2655, allocations: 193.1 kB / 0.5275 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.2655, allocations: 87.39 kB / 0.5276 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.2655, allocations: 0 / 0.5276 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.2656, allocations: 21.44 kB / 0.5276 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.2657, allocations: 2.812 kB / 0.5276 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2657, allocations: 0 / 0.5276 GB, free: 33.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.872e-05/0.2657, allocations: 114.1 kB / 0.5277 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2657, allocations: 0 / 0.5277 GB, free: 33.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.266, allocations: 38.53 kB / 0.5278 GB, free: 33 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 (5): * Single equations (assignments): 5 * 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.000878/0.2668, allocations: 0.5551 MB / 0.5283 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.267, allocations: 67.89 kB / 0.5284 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.267, allocations: 0 / 0.5284 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.2671, allocations: 32.72 kB / 0.5284 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.2674, allocations: 19.95 kB / 0.5284 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.2677, allocations: 194.5 kB / 0.5286 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.2678, allocations: 0.6875 MB / 0.5293 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.993e-05/0.2678, allocations: 18.92 kB / 0.5293 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.2679, allocations: 28.7 kB / 0.5293 GB, free: 31.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2679, allocations: 0 / 0.5293 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Templates: time 0.003393/0.2713, allocations: 1.72 MB / 0.531 GB, free: 31.56 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches