Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 198.7 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.238/1.238, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008049/0.000805, allocations: 96.33 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2813/0.2813, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002524, allocations: 8 kB / 470.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.252, allocations: 63.09 MB / 0.5214 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.001435/0.2535, allocations: 1.301 MB / 0.5226 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.2548, allocations: 1.407 MB / 0.524 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.2549, allocations: 0 / 0.524 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.2551, allocations: 23.8 kB / 0.524 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.2553, allocations: 76.75 kB / 0.5241 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2556, allocations: 97.81 kB / 0.5242 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2557, allocations: 56.41 kB / 0.5243 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.2558, allocations: 11.77 kB / 0.5243 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.2559, allocations: 26.81 kB / 0.5243 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.256, allocations: 32.81 kB / 0.5243 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.256, allocations: 2.594 kB / 0.5243 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.2562, allocations: 88.61 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.2562, allocations: 9.781 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.2563, allocations: 47.81 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.2565, allocations: 132.2 kB / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2565, allocations: 0 / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2565, allocations: 0 / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.2565, allocations: 0 / 0.5246 GB, free: 36.02 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.0003198/0.2568, allocations: 391.1 kB / 0.525 GB, free: 35.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2569, allocations: 9.375 kB / 0.525 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.2569, allocations: 11.91 kB / 0.525 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.257, allocations: 198.2 kB / 0.5252 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2571, allocations: 384 / 0.5252 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.2571, allocations: 3.312 kB / 0.5252 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.2572, allocations: 65.72 kB / 0.5252 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2572, allocations: 3.422 kB / 0.5252 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2572, allocations: 0 / 0.5252 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2572, allocations: 7.219 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/0.2573, allocations: 23.2 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.2576, allocations: 293.6 kB / 0.5256 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.2578, allocations: 50.38 kB / 0.5256 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.2579, allocations: 13.39 kB / 0.5256 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.2579, allocations: 4 kB / 0.5256 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.2579, allocations: 36.89 kB / 0.5257 GB, free: 34.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.2579, allocations: 0 / 0.5257 GB, free: 34.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005245/0.2584, allocations: 164.2 kB / 0.5258 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.2585, allocations: 81.11 kB / 0.5259 GB, free: 34.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.2586, allocations: 146 kB / 0.526 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.2586, allocations: 32.48 kB / 0.5261 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.2586, allocations: 94.38 kB / 0.5261 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.2586, allocations: 15.66 kB / 0.5262 GB, free: 34.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.2587, allocations: 3.094 kB / 0.5262 GB, free: 34.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.63e-05/0.2587, allocations: 326 kB / 0.5265 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.2588, allocations: 24.91 kB / 0.5265 GB, free: 34.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.2588, allocations: 45.56 kB / 0.5265 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.259, allocations: 54.88 kB / 0.5266 GB, free: 34.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.259, allocations: 3.938 kB / 0.5266 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000156/0.2591, allocations: 97.8 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2592, allocations: 5.062 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.2592, allocations: 3.938 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2592, allocations: 0 / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.2592, allocations: 14.08 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2593, allocations: 2.656 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.2593, allocations: 13.34 kB / 0.5267 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2593, allocations: 7.266 kB / 0.5267 GB, free: 34.1 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 5.058e-05/0.2594, allocations: 115.5 kB / 0.5268 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.2594, allocations: 2.688 kB / 0.5268 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.2596, allocations: 112.8 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2596, allocations: 0 / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2596, allocations: 3.938 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2596, allocations: 2.688 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.2599, allocations: 361.1 kB / 0.5273 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.26, allocations: 7.031 kB / 0.5273 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.26, allocations: 9.906 kB / 0.5273 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.26, allocations: 3.75 kB / 0.5273 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.26, allocations: 2.781 kB / 0.5273 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.26, allocations: 7.938 kB / 0.5273 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.26, allocations: 0 / 0.5273 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.2602, allocations: 196.4 kB / 0.5275 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.2602, allocations: 88.62 kB / 0.5276 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2603, allocations: 2.938 kB / 0.5276 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.2603, allocations: 12.61 kB / 0.5276 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.2604, allocations: 6.891 kB / 0.5276 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2604, allocations: 0 / 0.5276 GB, free: 33.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.016e-05/0.2604, allocations: 118 kB / 0.5277 GB, free: 33.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2604, allocations: 0 / 0.5277 GB, free: 33.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.2607, allocations: 38.48 kB / 0.5278 GB, free: 33.21 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.0008746/0.2616, allocations: 0.5601 MB / 0.5283 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.2617, allocations: 60.09 kB / 0.5284 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2618, allocations: 4 kB / 0.5284 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.2618, allocations: 31.98 kB / 0.5284 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2621, allocations: 9.531 kB / 0.5284 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.2624, allocations: 201.2 kB / 0.5286 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.199e-05/0.2625, allocations: 0.6909 MB / 0.5293 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.2626, allocations: 19.27 kB / 0.5293 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.2626, allocations: 20.08 kB / 0.5293 GB, free: 31.99 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2626, allocations: 0 / 0.5293 GB, free: 31.99 MB / 378.7 MB Notification: Performance of Templates: time 0.00329/0.2659, allocations: 1.726 MB / 0.531 GB, free: 31.77 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches