Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 118.8 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.001627/0.001627, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 72.11 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3771, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002826/0.38, allocations: 1.6 MB / 0.5321 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3816, allocations: 1.165 MB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.3817, allocations: 0 / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.3819, allocations: 29.22 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.3822, allocations: 84.3 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.3825, allocations: 116 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3827, allocations: 66.05 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.3828, allocations: 10.81 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.481e-05/0.3828, allocations: 29.53 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.383, allocations: 30.84 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.383, allocations: 8.125 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.3832, allocations: 98.75 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.3832, allocations: 16.05 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.3833, allocations: 25.36 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.3835, allocations: 140.8 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3835, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3835, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3835, allocations: 1.375 kB / 0.5339 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005002/0.384, allocations: 395.9 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3841, allocations: 9.625 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.3841, allocations: 44.11 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.3842, allocations: 7.594 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3844, allocations: 197.8 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3844, allocations: 1.75 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.3844, allocations: 1.75 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.3846, allocations: 65.09 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3846, allocations: 3.938 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3846, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3846, allocations: 9.312 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.3847, allocations: 25.72 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.3851, allocations: 284.3 kB / 0.5349 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3853, allocations: 44.38 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.3854, allocations: 23.81 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.3854, allocations: 1.375 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3855, allocations: 31.94 kB / 0.5349 GB, free: 9.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3855, allocations: 0 / 0.5349 GB, free: 9.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005758/0.3861, allocations: 158 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3861, allocations: 78.48 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.3863, allocations: 148.5 kB / 0.5353 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3863, allocations: 29.69 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.3864, allocations: 91.02 kB / 0.5354 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.3864, allocations: 18.94 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.3864, allocations: 22.58 kB / 0.5355 GB, free: 9.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3866, allocations: 319.9 kB / 0.5358 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.773e-05/0.3866, allocations: 24.31 kB / 0.5358 GB, free: 8.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.3867, allocations: 36.3 kB / 0.5358 GB, free: 8.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3869, allocations: 51.42 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3869, allocations: 0 / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001996/0.3871, allocations: 91.28 kB / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3871, allocations: 5.656 kB / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3871, allocations: 0 / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3872, allocations: 5.312 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.3872, allocations: 13.83 kB / 0.536 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3872, allocations: 0 / 0.536 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.3873, allocations: 7.906 kB / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.3873, allocations: 1.5 kB / 0.536 GB, free: 8.762 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 9.186e-05/0.3874, allocations: 117.6 kB / 0.5361 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.3875, allocations: 7.688 kB / 0.5361 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.3877, allocations: 99.91 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3877, allocations: 1.062 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3878, allocations: 0 / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3878, allocations: 5.031 kB / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.3883, allocations: 359.2 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3883, allocations: 9.156 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.3883, allocations: 20.86 kB / 0.5366 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3884, allocations: 1.156 kB / 0.5366 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3884, allocations: 7.938 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3884, allocations: 1.125 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3884, allocations: 0 / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3886, allocations: 182.4 kB / 0.5368 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.3887, allocations: 83.38 kB / 0.5369 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3887, allocations: 5.094 kB / 0.5369 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3888, allocations: 7.438 kB / 0.5369 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.3888, allocations: 6.172 kB / 0.5369 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3889, allocations: 1.25 kB / 0.5369 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.389, allocations: 116.2 kB / 0.537 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.389, allocations: 0 / 0.537 GB, free: 7.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.3893, allocations: 39.98 kB / 0.537 GB, free: 7.793 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.001515/0.3908, allocations: 1.099 MB / 0.5381 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.391, allocations: 55.28 kB / 0.5382 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3911, allocations: 3.938 kB / 0.5382 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.3911, allocations: 33.09 kB / 0.5382 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3915, allocations: 19.02 kB / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3932, allocations: 1.455 MB / 0.5396 GB, free: 5.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3936, allocations: 0.6974 MB / 0.5403 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.193e-05/0.3936, allocations: 21.58 kB / 0.5403 GB, free: 4.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.3937, allocations: 30.89 kB / 0.5404 GB, free: 4.809 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3937, allocations: 4 kB / 0.5404 GB, free: 4.805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.4151, allocations: 3.249 MB / 0.5435 GB, free: 2.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.879, allocations: 4.891 kB / 0.5435 GB, free: 2.941 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time