Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, 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.002015/0.002015, allocations: 201.2 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.446/1.446, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 79.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.375, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.00334/0.3784, allocations: 1.598 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3801, allocations: 1.159 MB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.3802, allocations: 1.375 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.3805, allocations: 28.38 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.3808, allocations: 80.97 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.3811, allocations: 115.3 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3813, allocations: 66.11 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3814, allocations: 18.77 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.3815, allocations: 26.05 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.3816, allocations: 36.03 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3817, allocations: 2.312 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.3819, allocations: 100.5 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.382, allocations: 14.62 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.382, allocations: 25.36 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.3824, allocations: 140.8 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3824, allocations: 4 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.3824, allocations: 1.375 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3824, allocations: 0 / 0.5339 GB, free: 10.85 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.0006778/0.3831, allocations: 403.8 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.3831, allocations: 9.625 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.3832, allocations: 32.12 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.3832, allocations: 7.594 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3835, allocations: 195.9 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3835, allocations: 5.75 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3835, allocations: 5.75 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3837, allocations: 65.08 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3838, allocations: 0 / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3838, allocations: 4 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3838, allocations: 1.375 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3839, allocations: 33.59 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.3844, allocations: 284.3 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.3846, allocations: 44.42 kB / 0.5349 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.3847, allocations: 15.73 kB / 0.5349 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3847, allocations: 5.453 kB / 0.5349 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3847, allocations: 35.88 kB / 0.5349 GB, free: 9.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.3847, allocations: 4 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006328/0.3854, allocations: 153.9 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.3855, allocations: 78.48 kB / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.3856, allocations: 142.7 kB / 0.5353 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3857, allocations: 25.7 kB / 0.5353 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.3857, allocations: 94.88 kB / 0.5354 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3858, allocations: 26.41 kB / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.3858, allocations: 17.84 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.386, allocations: 321.5 kB / 0.5358 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.3861, allocations: 20.36 kB / 0.5358 GB, free: 8.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.478e-05/0.3862, allocations: 35.17 kB / 0.5358 GB, free: 8.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3863, allocations: 59.28 kB / 0.5359 GB, free: 8.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3863, allocations: 1.156 kB / 0.5359 GB, free: 8.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002156/0.3865, allocations: 82.67 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3866, allocations: 5.5 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3866, allocations: 0 / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.3866, allocations: 4.984 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.3867, allocations: 13.66 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3867, allocations: 1.281 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.3868, allocations: 15.05 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3868, allocations: 5.469 kB / 0.536 GB, free: 8.73 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.933e-05/0.3869, allocations: 113.3 kB / 0.5361 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.3869, allocations: 8.938 kB / 0.5361 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.3872, allocations: 103.5 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3872, allocations: 1.25 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3872, allocations: 0 / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.3872, allocations: 3.938 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.3877, allocations: 356 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3877, allocations: 4 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.3877, allocations: 21.86 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3878, allocations: 1.094 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3878, allocations: 7.875 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3878, allocations: 1.094 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3878, allocations: 0 / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.388, allocations: 183.2 kB / 0.5368 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.3881, allocations: 79.36 kB / 0.5369 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3881, allocations: 3.938 kB / 0.5369 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.3882, allocations: 11.55 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.3882, allocations: 2.156 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3882, allocations: 2.188 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.261e-05/0.3883, allocations: 120.2 kB / 0.537 GB, free: 7.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3883, allocations: 4 kB / 0.537 GB, free: 7.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3886, allocations: 36.53 kB / 0.537 GB, free: 7.77 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.001536/0.3902, allocations: 1.101 MB / 0.5381 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3904, allocations: 58.11 kB / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3904, allocations: 1.25 kB / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.3905, allocations: 33.2 kB / 0.5382 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.3909, allocations: 22.3 kB / 0.5382 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.3926, allocations: 1.443 MB / 0.5396 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3929, allocations: 0.698 MB / 0.5403 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.199e-05/0.3929, allocations: 25.83 kB / 0.5403 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.393, allocations: 25.64 kB / 0.5403 GB, free: 4.793 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.393, allocations: 1.281 kB / 0.5403 GB, free: 4.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.4142, allocations: 3.262 MB / 0.5435 GB, free: 2.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.914, allocations: 5.25 kB / 0.5435 GB, free: 2.91 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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