Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009421/0.0009421, allocations: 200.9 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, 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.000798/0.0007981, allocations: 100.4 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.2795/0.2795, allocations: 45.01 MB / 397 MB, free: 31.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.0002479, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.254, allocations: 63.1 MB / 0.5214 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.00143/0.2554, allocations: 1.317 MB / 0.5227 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007112/0.2562, allocations: 0.7206 MB / 0.5234 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.2562, allocations: 3.062 kB / 0.5234 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.2564, allocations: 98.2 kB / 0.5235 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.2566, allocations: 103.4 kB / 0.5236 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.2568, allocations: 76.28 kB / 0.5236 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2569, allocations: 74.3 kB / 0.5237 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.032e-05/0.257, allocations: 16.08 kB / 0.5237 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.2571, allocations: 34.48 kB / 0.5237 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.2571, allocations: 59.44 kB / 0.5238 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2572, allocations: 2.688 kB / 0.5238 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.2572, allocations: 41.66 kB / 0.5238 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.2573, allocations: 19.34 kB / 0.5239 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.2573, allocations: 59.02 kB / 0.5239 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.2574, allocations: 98.45 kB / 0.524 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2575, allocations: 2.844 kB / 0.524 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2575, allocations: 0 / 0.524 GB, free: 36.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.2575, allocations: 0 / 0.524 GB, free: 36.47 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.0002986/0.2578, allocations: 412.9 kB / 0.5244 GB, free: 36.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.2578, allocations: 9 kB / 0.5244 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.2578, allocations: 10.81 kB / 0.5244 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.258, allocations: 212.9 kB / 0.5246 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.258, allocations: 384 / 0.5246 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.258, allocations: 3.188 kB / 0.5246 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.2581, allocations: 58.52 kB / 0.5247 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2582, allocations: 2.75 kB / 0.5247 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.2582, allocations: 4 kB / 0.5247 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2582, allocations: 0 / 0.5247 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.2583, allocations: 31.52 kB / 0.5247 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.2585, allocations: 299.5 kB / 0.525 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.2586, allocations: 47.33 kB / 0.5251 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.059e-05/0.2587, allocations: 20.3 kB / 0.5251 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2587, allocations: 2.875 kB / 0.5251 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.2587, allocations: 30.56 kB / 0.5251 GB, free: 35.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2587, allocations: 0 / 0.5251 GB, free: 35.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007187/0.2594, allocations: 253.6 kB / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.2595, allocations: 58.03 kB / 0.5254 GB, free: 35.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2596, allocations: 237.5 kB / 0.5256 GB, free: 35.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.2596, allocations: 25.7 kB / 0.5257 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.2597, allocations: 111 kB / 0.5258 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.2597, allocations: 22.19 kB / 0.5258 GB, free: 34.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2597, allocations: 4 kB / 0.5258 GB, free: 34.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.2597, allocations: 326.5 kB / 0.5261 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.2598, allocations: 28 kB / 0.5261 GB, free: 34.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/0.2599, allocations: 27.66 kB / 0.5262 GB, free: 34.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.26, allocations: 75.16 kB / 0.5262 GB, free: 34.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.26, allocations: 0 / 0.5262 GB, free: 34.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001618/0.2602, allocations: 107 kB / 0.5263 GB, free: 34.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.2602, allocations: 9.688 kB / 0.5263 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2602, allocations: 4 kB / 0.5263 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2602, allocations: 3.031 kB / 0.5263 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.2603, allocations: 16.5 kB / 0.5264 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2603, allocations: 2.469 kB / 0.5264 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.2604, allocations: 20.16 kB / 0.5264 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2604, allocations: 2.656 kB / 0.5264 GB, free: 34.51 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 5.552e-05/0.2604, allocations: 127.9 kB / 0.5265 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.2605, allocations: 17.44 kB / 0.5265 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.2607, allocations: 130.3 kB / 0.5266 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2607, allocations: 0 / 0.5266 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2607, allocations: 0 / 0.5266 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2607, allocations: 7.781 kB / 0.5267 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.2611, allocations: 410.4 kB / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2611, allocations: 0 / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.2611, allocations: 23.19 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2612, allocations: 3.938 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.2612, allocations: 10.94 kB / 0.5271 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2612, allocations: 3.234 kB / 0.5271 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2612, allocations: 0 / 0.5271 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.2614, allocations: 218.9 kB / 0.5273 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.2614, allocations: 87.95 kB / 0.5274 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.2614, allocations: 11.06 kB / 0.5274 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.2615, allocations: 2.938 kB / 0.5274 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.2615, allocations: 9.297 kB / 0.5274 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2615, allocations: 0 / 0.5274 GB, free: 33.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.284e-05/0.2616, allocations: 174.7 kB / 0.5276 GB, free: 33.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2616, allocations: 2.906 kB / 0.5276 GB, free: 33.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.2618, allocations: 18.47 kB / 0.5276 GB, free: 33.56 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.0008113/0.2627, allocations: 0.5111 MB / 0.5281 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.2629, allocations: 77.69 kB / 0.5282 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2629, allocations: 0 / 0.5282 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.2629, allocations: 34.02 kB / 0.5282 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.2632, allocations: 28.02 kB / 0.5282 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.2636, allocations: 301.7 kB / 0.5285 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.2637, allocations: 0.7169 MB / 0.5292 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.482e-05/0.2638, allocations: 9.188 kB / 0.5292 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.2638, allocations: 13.62 kB / 0.5292 GB, free: 32.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2638, allocations: 0 / 0.5292 GB, free: 32.27 MB / 378.7 MB Notification: Performance of Templates: time 0.002866/0.2667, allocations: 1.295 MB / 0.5305 GB, free: 32.12 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches