Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, 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.2363/0.2363, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 79.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3736, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002917/0.3766, allocations: 1.588 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.3783, allocations: 1.168 MB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.3784, allocations: 0 / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.3786, allocations: 29.31 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.3789, allocations: 84.83 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.3792, allocations: 114.3 kB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.3794, allocations: 58.75 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3795, allocations: 23.83 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.3796, allocations: 30.22 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3797, allocations: 26.64 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3798, allocations: 3.625 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.3799, allocations: 99.86 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.38, allocations: 19.36 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.38, allocations: 24.58 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.3803, allocations: 140.6 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3803, allocations: 5.156 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3803, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.3803, allocations: 0 / 0.5339 GB, free: 10.83 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.0005456/0.3809, allocations: 392.8 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3809, allocations: 9.812 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.381, allocations: 38.69 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.381, allocations: 9.219 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.3813, allocations: 192.8 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3813, allocations: 1.812 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.3813, allocations: 6.359 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3815, allocations: 72.73 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3815, allocations: 0 / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3816, allocations: 0 / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3816, allocations: 5.844 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.3817, allocations: 33.53 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.3821, allocations: 287.5 kB / 0.5349 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.3823, allocations: 41.75 kB / 0.5349 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.3824, allocations: 19.16 kB / 0.5349 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3824, allocations: 1.469 kB / 0.5349 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3824, allocations: 35.62 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3824, allocations: 0 / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000577/0.383, allocations: 149.9 kB / 0.5351 GB, free: 9.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.3831, allocations: 82.42 kB / 0.5352 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.3832, allocations: 149.1 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3833, allocations: 25.7 kB / 0.5353 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.3833, allocations: 94.88 kB / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.3833, allocations: 22.41 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.3834, allocations: 19.22 kB / 0.5355 GB, free: 9.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3835, allocations: 324.1 kB / 0.5358 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.3836, allocations: 20.36 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.3837, allocations: 35.44 kB / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3838, allocations: 52.33 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3838, allocations: 4.031 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001928/0.384, allocations: 86.52 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3841, allocations: 9.484 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3841, allocations: 0 / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3841, allocations: 1.375 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.3842, allocations: 9.625 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3842, allocations: 0 / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.3842, allocations: 12.05 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3842, allocations: 1.375 kB / 0.536 GB, free: 8.719 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.301e-05/0.3843, allocations: 118 kB / 0.5361 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.3844, allocations: 12.03 kB / 0.5361 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.3846, allocations: 100.6 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3847, allocations: 0 / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3847, allocations: 1.375 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3847, allocations: 7.938 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.3852, allocations: 360 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3852, allocations: 3.938 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.3853, allocations: 13.61 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3853, allocations: 0 / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3853, allocations: 5.312 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3853, allocations: 0 / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3853, allocations: 5.312 kB / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.3856, allocations: 186.1 kB / 0.5368 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.3856, allocations: 79.27 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.3856, allocations: 5.031 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.3857, allocations: 7.266 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.3858, allocations: 2.281 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3858, allocations: 5.062 kB / 0.5369 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.407e-05/0.3859, allocations: 114.7 kB / 0.537 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3859, allocations: 0 / 0.537 GB, free: 7.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000288/0.3862, allocations: 47.39 kB / 0.537 GB, free: 7.746 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.001519/0.3877, allocations: 1.102 MB / 0.5381 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.3879, allocations: 59.73 kB / 0.5382 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3879, allocations: 4 kB / 0.5382 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.388, allocations: 28.95 kB / 0.5382 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3884, allocations: 18.89 kB / 0.5382 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.3901, allocations: 1.446 MB / 0.5396 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3904, allocations: 0.7026 MB / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.494e-05/0.3905, allocations: 21.64 kB / 0.5403 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.3905, allocations: 26.23 kB / 0.5404 GB, free: 4.773 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3905, allocations: 0 / 0.5404 GB, free: 4.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.415, allocations: 3.249 MB / 0.5435 GB, free: 2.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/8.044, allocations: 7.234 kB / 0.5435 GB, free: 2.902 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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