Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, 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.00137/0.00137, allocations: 202 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.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3439, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002931/0.3469, allocations: 1.618 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009597/0.3479, allocations: 0.5468 MB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.3479, allocations: 1.375 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.3482, allocations: 76.98 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.3485, allocations: 102.5 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.3488, allocations: 119 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.349, allocations: 84.09 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.3491, allocations: 17.8 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.3492, allocations: 39.64 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.822e-05/0.3493, allocations: 47.69 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.3493, allocations: 3.656 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.3494, allocations: 54.12 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.3494, allocations: 22.64 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.3495, allocations: 33.77 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.3498, allocations: 104.5 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3498, allocations: 4 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.3498, allocations: 1.188 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3498, allocations: 3.938 kB / 0.5333 GB, free: 11.31 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.0005175/0.3503, allocations: 407.9 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3504, allocations: 9.188 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.3504, allocations: 40.44 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.3505, allocations: 8.938 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3507, allocations: 204.6 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3507, allocations: 3.125 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.3507, allocations: 9.594 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3509, allocations: 59.36 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3509, allocations: 3.938 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3509, allocations: 5.312 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3509, allocations: 0 / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3511, allocations: 36.45 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.3515, allocations: 300.4 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3517, allocations: 50.98 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.3517, allocations: 13.11 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3518, allocations: 5.359 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3518, allocations: 39.94 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3518, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009234/0.3527, allocations: 237.8 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.3528, allocations: 52.78 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.353, allocations: 219.2 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.353, allocations: 25.7 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.3531, allocations: 105.6 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.3532, allocations: 27.69 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.3532, allocations: 23.2 kB / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3534, allocations: 323 kB / 0.5354 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/0.3535, allocations: 32.48 kB / 0.5355 GB, free: 9.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.285e-05/0.3536, allocations: 32.47 kB / 0.5355 GB, free: 9.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.3537, allocations: 82.03 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3537, allocations: 0 / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000249/0.354, allocations: 109 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.354, allocations: 5.656 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.354, allocations: 0 / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3541, allocations: 1.25 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3542, allocations: 20.83 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3542, allocations: 4.875 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.3543, allocations: 3.344 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3543, allocations: 5.875 kB / 0.5357 GB, free: 9.105 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.0001357/0.3544, allocations: 128.9 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.3545, allocations: 13.38 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.3548, allocations: 138.8 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3548, allocations: 1.125 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3548, allocations: 3.938 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3548, allocations: 1.125 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.3554, allocations: 419.6 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3554, allocations: 0 / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.3555, allocations: 25.39 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3555, allocations: 5.219 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3555, allocations: 6.125 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3555, allocations: 1.062 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3555, allocations: 0 / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.3558, allocations: 212.9 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.3559, allocations: 88.36 kB / 0.5367 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.3559, allocations: 9.125 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.356, allocations: 3.438 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.356, allocations: 15.38 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.356, allocations: 2.375 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.3562, allocations: 168.1 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3562, allocations: 0 / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.3564, allocations: 22.08 kB / 0.5369 GB, free: 8.035 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.001487/0.3579, allocations: 1.102 MB / 0.538 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3582, allocations: 74.64 kB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3582, allocations: 1.188 kB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.571e-05/0.3583, allocations: 44.12 kB / 0.5381 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3587, allocations: 21.56 kB / 0.5381 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.3607, allocations: 1.709 MB / 0.5398 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3611, allocations: 0.7089 MB / 0.5405 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.818e-05/0.3611, allocations: 28.59 kB / 0.5405 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.3612, allocations: 32.89 kB / 0.5406 GB, free: 4.902 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3612, allocations: 0.9375 kB / 0.5406 GB, free: 4.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.3823, allocations: 3.169 MB / 0.5437 GB, free: 3.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.236, allocations: 8.562 kB / 0.5437 GB, free: 3.164 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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,d2_t_new.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),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.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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time