Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, 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.00187/0.00187, 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.413/1.413, 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.2438/0.2438, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 79.86 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3681, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002861/0.371, allocations: 1.621 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000987/0.372, allocations: 0.5337 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.372, allocations: 0 / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.3723, allocations: 85.92 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.3726, allocations: 97.56 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.3729, allocations: 95.19 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.3731, allocations: 87.77 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3732, allocations: 12.34 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.3733, allocations: 40.27 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3734, allocations: 55.48 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.3734, allocations: 3.625 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.663e-05/0.3735, allocations: 49.22 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.3735, allocations: 19.05 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.3736, allocations: 30.88 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.3738, allocations: 110.2 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3738, allocations: 0.9688 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3738, allocations: 0 / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.3738, allocations: 0 / 0.5333 GB, free: 11.36 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.0004624/0.3743, allocations: 419.8 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3743, allocations: 10.66 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.3743, allocations: 30.75 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.3744, allocations: 10.84 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3746, allocations: 204 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.3746, allocations: 1.562 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3746, allocations: 14.59 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3748, allocations: 58.02 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3748, allocations: 4.891 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3748, allocations: 9.438 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3748, allocations: 0 / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/0.3749, allocations: 31.09 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.3753, allocations: 287 kB / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3754, allocations: 47 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.3754, allocations: 21.19 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3755, allocations: 80 / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3755, allocations: 35.94 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3755, allocations: 0 / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000896/0.3764, allocations: 229.5 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.3765, allocations: 52.78 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.3767, allocations: 215.2 kB / 0.5349 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3767, allocations: 25.7 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.3768, allocations: 105.6 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.3768, allocations: 35.61 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.3769, allocations: 19.22 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.377, allocations: 327 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.3771, allocations: 25.72 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.369e-05/0.3772, allocations: 25.73 kB / 0.5354 GB, free: 9.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.3773, allocations: 64.67 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3773, allocations: 0 / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001951/0.3775, allocations: 96.19 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3776, allocations: 9.5 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3776, allocations: 0 / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3776, allocations: 1.375 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3777, allocations: 25.36 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3777, allocations: 3.938 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.3778, allocations: 7.703 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3778, allocations: 2.75 kB / 0.5356 GB, free: 9.172 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 (8): * Single equations (assignments): 8 * 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.0001143/0.3779, allocations: 123.7 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.378, allocations: 20.89 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.3782, allocations: 108.2 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3783, allocations: 5.188 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3783, allocations: 13.11 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3783, allocations: 0 / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.3788, allocations: 398.2 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3788, allocations: 5.094 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.3789, allocations: 25.55 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3789, allocations: 1.062 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.3789, allocations: 6.156 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3789, allocations: 0 / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3789, allocations: 1.094 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.3792, allocations: 208.6 kB / 0.5365 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.3792, allocations: 88.36 kB / 0.5366 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3793, allocations: 5.25 kB / 0.5366 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.3793, allocations: 7.516 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3794, allocations: 7.266 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.3794, allocations: 6.219 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.3795, allocations: 168 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3795, allocations: 0 / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3798, allocations: 22.27 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001552/0.3814, allocations: 1.1 MB / 0.5379 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3816, allocations: 58.12 kB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3816, allocations: 1.344 kB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.3817, allocations: 41.22 kB / 0.538 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3821, allocations: 19.23 kB / 0.538 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.3843, allocations: 1.655 MB / 0.5396 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3846, allocations: 0.7104 MB / 0.5403 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.3847, allocations: 16.58 kB / 0.5403 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.3848, allocations: 33.67 kB / 0.5404 GB, free: 5.035 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3848, allocations: 0 / 0.5404 GB, free: 5.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.4063, allocations: 3.124 MB / 0.5434 GB, free: 3.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.045, allocations: 3.812 kB / 0.5434 GB, free: 3.32 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time