Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002023/0.002023, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 75.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3661, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.004103/0.3703, allocations: 1.614 MB / 0.5332 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.3731, allocations: 1.153 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.3732, allocations: 1.062 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.3735, allocations: 21.14 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.3739, allocations: 84.33 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.3743, allocations: 90.59 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.3745, allocations: 66.12 kB / 0.5346 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3747, allocations: 18.81 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.3748, allocations: 26.86 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.375, allocations: 37.45 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.375, allocations: 4.125 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.3753, allocations: 96.12 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.3754, allocations: 14.67 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.3755, allocations: 20 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.3758, allocations: 142.5 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3758, allocations: 1.375 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.3758, allocations: 4 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3758, allocations: 0 / 0.535 GB, free: 11.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006885/0.3765, allocations: 391.8 kB / 0.5353 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.3766, allocations: 9.625 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.3767, allocations: 12.91 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.377, allocations: 198.3 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.377, allocations: 1.75 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.3771, allocations: 1.75 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.3773, allocations: 71.89 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3773, allocations: 1.375 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3773, allocations: 0 / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3773, allocations: 1.375 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.3775, allocations: 24.3 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.378, allocations: 278.7 kB / 0.5359 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.3784, allocations: 48.44 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.3784, allocations: 15.81 kB / 0.536 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3785, allocations: 0 / 0.536 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.3785, allocations: 35.94 kB / 0.536 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.3785, allocations: 3.938 kB / 0.536 GB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000862/0.3794, allocations: 141.5 kB / 0.5362 GB, free: 9.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3795, allocations: 78.23 kB / 0.5362 GB, free: 9.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3798, allocations: 151.6 kB / 0.5364 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3798, allocations: 26.83 kB / 0.5364 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.3799, allocations: 95.33 kB / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.38, allocations: 21.8 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.3801, allocations: 17.97 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3803, allocations: 325 kB / 0.5368 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3804, allocations: 18.64 kB / 0.5369 GB, free: 9.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.3805, allocations: 34.47 kB / 0.5369 GB, free: 9.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.3807, allocations: 44.48 kB / 0.5369 GB, free: 9.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3808, allocations: 0 / 0.5369 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003235/0.3811, allocations: 81.08 kB / 0.537 GB, free: 9.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3811, allocations: 9.094 kB / 0.537 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3811, allocations: 0 / 0.537 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3812, allocations: 0 / 0.537 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.3813, allocations: 14.3 kB / 0.537 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3813, allocations: 0 / 0.537 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.3814, allocations: 8.188 kB / 0.537 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3814, allocations: 5 kB / 0.537 GB, free: 8.992 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.0001303/0.3815, allocations: 118.1 kB / 0.5372 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.3816, allocations: 7.141 kB / 0.5372 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.382, allocations: 93.16 kB / 0.5373 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.382, allocations: 9.297 kB / 0.5373 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.382, allocations: 0 / 0.5373 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3821, allocations: 0 / 0.5373 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007459/0.3828, allocations: 351 kB / 0.5376 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3828, allocations: 5.125 kB / 0.5376 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/0.3829, allocations: 12.92 kB / 0.5376 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.383, allocations: 5.062 kB / 0.5376 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.383, allocations: 0 / 0.5376 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.383, allocations: 5.156 kB / 0.5376 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.383, allocations: 0 / 0.5376 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.3834, allocations: 184.2 kB / 0.5378 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/0.3835, allocations: 79.27 kB / 0.5379 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.3835, allocations: 1.156 kB / 0.5379 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3837, allocations: 15.36 kB / 0.5379 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.3837, allocations: 1.188 kB / 0.5379 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3838, allocations: 2.406 kB / 0.5379 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3839, allocations: 113.8 kB / 0.538 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3839, allocations: 0 / 0.538 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.3845, allocations: 43.7 kB / 0.538 GB, free: 8.035 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.001769/0.3862, allocations: 496.5 kB / 0.5385 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.3865, allocations: 47.59 kB / 0.5386 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3865, allocations: 0 / 0.5386 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3867, allocations: 27.88 kB / 0.5386 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.3872, allocations: 20.48 kB / 0.5386 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.3877, allocations: 198.7 kB / 0.5388 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.3881, allocations: 0.6901 MB / 0.5395 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3883, allocations: 22.42 kB / 0.5395 GB, free: 6.844 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3883, allocations: 0 / 0.5395 GB, free: 6.844 MB / 398.1 MB Notification: Performance of Templates: time 0.0054/0.3937, allocations: 1.923 MB / 0.5414 GB, free: 5.852 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches