Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4387, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003208/0.4419, allocations: 1.659 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.4431, allocations: 0.5813 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.4432, allocations: 1.844 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007165/0.4439, allocations: 449.4 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.4445, allocations: 291.6 kB / 0.5339 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.4449, allocations: 184.8 kB / 0.5341 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.4452, allocations: 168.8 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.4453, allocations: 21.7 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.4455, allocations: 107.2 kB / 0.5344 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.4457, allocations: 215.3 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.4458, allocations: 3.5 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.4459, allocations: 40.88 kB / 0.5346 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.446, allocations: 83.03 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.4461, allocations: 103 kB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.4464, allocations: 263.8 kB / 0.535 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4464, allocations: 4 kB / 0.535 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4464, allocations: 4 kB / 0.535 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.4464, allocations: 0 / 0.535 GB, free: 10.88 MB / 398.1 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.0007141/0.4472, allocations: 0.6402 MB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.4472, allocations: 9.625 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.4473, allocations: 43.31 kB / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.4476, allocations: 298.8 kB / 0.536 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4476, allocations: 5.562 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.4476, allocations: 7.125 kB / 0.536 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.4478, allocations: 64.3 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4478, allocations: 0 / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4478, allocations: 0 / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4478, allocations: 1.25 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.885e-05/0.4479, allocations: 29.16 kB / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.4485, allocations: 391.5 kB / 0.5365 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.4487, allocations: 49.86 kB / 0.5365 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.4488, allocations: 16.39 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.4488, allocations: 4.078 kB / 0.5365 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.4488, allocations: 31.53 kB / 0.5366 GB, free: 9.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4488, allocations: 1.031 kB / 0.5366 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006536/0.4495, allocations: 244.4 kB / 0.5368 GB, free: 9.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.4495, allocations: 52.5 kB / 0.5369 GB, free: 9.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008812/0.4504, allocations: 0.8674 MB / 0.5377 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.4505, allocations: 25.7 kB / 0.5377 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.4506, allocations: 225.9 kB / 0.538 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.4507, allocations: 13.25 kB / 0.538 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.4507, allocations: 19.36 kB / 0.538 GB, free: 8.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4509, allocations: 363.2 kB / 0.5383 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.4509, allocations: 28.47 kB / 0.5384 GB, free: 8.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.451, allocations: 24.61 kB / 0.5384 GB, free: 8.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.4512, allocations: 55.89 kB / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4512, allocations: 0 / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002118/0.4514, allocations: 123.1 kB / 0.5385 GB, free: 8.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4514, allocations: 4.219 kB / 0.5386 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4514, allocations: 5.5 kB / 0.5386 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4514, allocations: 0 / 0.5386 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.4515, allocations: 14.28 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4515, allocations: 3.984 kB / 0.5386 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.4516, allocations: 6.719 kB / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4516, allocations: 2.594 kB / 0.5386 GB, free: 8.043 MB / 398.1 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 0.0001862/0.4518, allocations: 218.6 kB / 0.5388 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.4518, allocations: 41.91 kB / 0.5388 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.4522, allocations: 142.3 kB / 0.539 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4522, allocations: 4.859 kB / 0.539 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4522, allocations: 1.125 kB / 0.539 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4522, allocations: 7.875 kB / 0.539 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.4528, allocations: 468.5 kB / 0.5394 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4528, allocations: 0 / 0.5394 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.4529, allocations: 18.2 kB / 0.5394 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4529, allocations: 0 / 0.5394 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4529, allocations: 5.469 kB / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4529, allocations: 0 / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4529, allocations: 1.406 kB / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.4532, allocations: 229.5 kB / 0.5397 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.4533, allocations: 109.7 kB / 0.5398 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.4533, allocations: 9.062 kB / 0.5398 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.4534, allocations: 7.172 kB / 0.5398 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.4535, allocations: 5.469 kB / 0.5398 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4535, allocations: 1.938 kB / 0.5398 GB, free: 7.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007102/0.4542, allocations: 0.6548 MB / 0.5404 GB, free: 6.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4542, allocations: 0 / 0.5404 GB, free: 6.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.4545, allocations: 26.62 kB / 0.5405 GB, free: 6.695 MB / 398.1 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.0009867/0.4555, allocations: 404.3 kB / 0.5408 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.4557, allocations: 55.5 kB / 0.5409 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4557, allocations: 0 / 0.5409 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.4558, allocations: 33.28 kB / 0.5409 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.4562, allocations: 25.2 kB / 0.541 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.4575, allocations: 0.7932 MB / 0.5417 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.4579, allocations: 0.8293 MB / 0.5425 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.075e-05/0.458, allocations: 17.31 kB / 0.5426 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.458, allocations: 12.12 kB / 0.5426 GB, free: 5.234 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.458, allocations: 0 / 0.5426 GB, free: 5.234 MB / 398.1 MB Notification: Performance of Templates: time 0.005172/0.4632, allocations: 1.512 MB / 0.544 GB, free: 4.16 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches