Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test27") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000889/0.0008891, allocations: 191.9 kB / 17.42 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, 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.0007618/0.0007618, allocations: 96.25 kB / 299.8 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.2876/0.2876, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002258/0.000226, allocations: 11.98 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2501, allocations: 63.1 MB / 0.5214 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.001598/0.2517, allocations: 1.31 MB / 0.5227 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007874/0.2525, allocations: 0.7397 MB / 0.5234 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.2526, allocations: 4 kB / 0.5234 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.2528, allocations: 129 kB / 0.5235 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.253, allocations: 112.2 kB / 0.5236 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.2533, allocations: 93.81 kB / 0.5237 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2534, allocations: 88.19 kB / 0.5238 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.2535, allocations: 22.92 kB / 0.5238 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.2536, allocations: 40.06 kB / 0.5238 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.2537, allocations: 77.53 kB / 0.5239 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2537, allocations: 3.281 kB / 0.5239 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.2538, allocations: 39.23 kB / 0.524 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.2538, allocations: 26.23 kB / 0.524 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.2539, allocations: 67.42 kB / 0.524 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.254, allocations: 118.8 kB / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.254, allocations: 0 / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.254, allocations: 0 / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.254, allocations: 3.156 kB / 0.5242 GB, free: 36.34 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.0003665/0.2544, allocations: 415.5 kB / 0.5246 GB, free: 35.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2545, allocations: 8.594 kB / 0.5246 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.2545, allocations: 21.22 kB / 0.5246 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2546, allocations: 207 kB / 0.5248 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2547, allocations: 8.375 kB / 0.5248 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.2547, allocations: 3.094 kB / 0.5248 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.2548, allocations: 62.31 kB / 0.5249 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2548, allocations: 3.031 kB / 0.5249 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.2549, allocations: 0 / 0.5249 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2549, allocations: 0 / 0.5249 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.475e-05/0.255, allocations: 29.78 kB / 0.5249 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.2553, allocations: 317.7 kB / 0.5252 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.2554, allocations: 50.48 kB / 0.5252 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.2554, allocations: 28.02 kB / 0.5253 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2555, allocations: 0 / 0.5253 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.2555, allocations: 34.5 kB / 0.5253 GB, free: 35.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2555, allocations: 0 / 0.5253 GB, free: 35.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007379/0.2562, allocations: 277 kB / 0.5256 GB, free: 35.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.2563, allocations: 58.28 kB / 0.5256 GB, free: 35.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.2564, allocations: 279.7 kB / 0.5259 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.2565, allocations: 25.7 kB / 0.5259 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.2565, allocations: 112.2 kB / 0.526 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.2565, allocations: 29.69 kB / 0.526 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.2565, allocations: 0 / 0.526 GB, free: 34.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.2566, allocations: 328.1 kB / 0.5264 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-05/0.2567, allocations: 43.89 kB / 0.5264 GB, free: 34.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.2567, allocations: 27.02 kB / 0.5264 GB, free: 34.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.2569, allocations: 81.52 kB / 0.5265 GB, free: 34.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2569, allocations: 4 kB / 0.5265 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001752/0.2571, allocations: 127.7 kB / 0.5266 GB, free: 34.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2571, allocations: 5.719 kB / 0.5266 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2571, allocations: 0 / 0.5266 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2571, allocations: 3.469 kB / 0.5266 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.2572, allocations: 18.62 kB / 0.5267 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2572, allocations: 10.84 kB / 0.5267 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.2573, allocations: 6.875 kB / 0.5267 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.2573, allocations: 2.906 kB / 0.5267 GB, free: 34.32 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.182e-05/0.2573, allocations: 135 kB / 0.5268 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.2574, allocations: 13.59 kB / 0.5268 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.2576, allocations: 145.7 kB / 0.527 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2576, allocations: 2.875 kB / 0.527 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.2576, allocations: 0 / 0.527 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2576, allocations: 7.875 kB / 0.527 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.258, allocations: 442.6 kB / 0.5274 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.258, allocations: 0 / 0.5274 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.2581, allocations: 19.44 kB / 0.5274 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2581, allocations: 10.44 kB / 0.5274 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2581, allocations: 0 / 0.5274 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2581, allocations: 2.812 kB / 0.5274 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2581, allocations: 0 / 0.5274 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.2583, allocations: 225.2 kB / 0.5276 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.2583, allocations: 98.36 kB / 0.5277 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2584, allocations: 7.125 kB / 0.5277 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.2584, allocations: 9.688 kB / 0.5277 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.2585, allocations: 10.17 kB / 0.5278 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2585, allocations: 2.531 kB / 0.5278 GB, free: 33.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.2586, allocations: 203.5 kB / 0.5279 GB, free: 33.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2586, allocations: 2.656 kB / 0.5279 GB, free: 33.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.2588, allocations: 20.69 kB / 0.528 GB, free: 33.35 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.000836/0.2597, allocations: 0.5045 MB / 0.5285 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.2599, allocations: 91.12 kB / 0.5285 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2599, allocations: 3.938 kB / 0.5286 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.26, allocations: 41.28 kB / 0.5286 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.2602, allocations: 28.09 kB / 0.5286 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.2606, allocations: 352.3 kB / 0.529 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.2608, allocations: 0.7248 MB / 0.5297 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.2608, allocations: 19.2 kB / 0.5297 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.2609, allocations: 15.69 kB / 0.5297 GB, free: 32.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2609, allocations: 0 / 0.5297 GB, free: 32.04 MB / 378.7 MB Notification: Performance of Templates: time 0.002953/0.2638, allocations: 1.338 MB / 0.531 GB, free: 31.88 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches