Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.00141, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001826/0.001826, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.366, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003137/0.3692, allocations: 1.617 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.3702, allocations: 0.5426 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.3702, allocations: 0 / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3705, allocations: 77.02 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.3708, allocations: 96.75 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.3711, allocations: 95.69 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.3713, allocations: 83.5 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3714, allocations: 24.23 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.3714, allocations: 36.39 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3716, allocations: 47.34 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3716, allocations: 2.75 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.916e-05/0.3717, allocations: 49.94 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.3718, allocations: 19.89 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.3718, allocations: 36.83 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.372, allocations: 108.6 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.372, allocations: 0 / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.372, allocations: 0 / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3721, allocations: 4 kB / 0.5333 GB, free: 11.32 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.0005471/0.3726, allocations: 420.3 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3727, allocations: 8.688 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.3727, allocations: 32.06 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.3727, allocations: 10.41 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.373, allocations: 208.3 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.373, allocations: 5.719 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.373, allocations: 10.61 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3732, allocations: 62.11 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3732, allocations: 1.281 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3732, allocations: 0 / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3732, allocations: 1.281 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3733, allocations: 26.67 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3737, allocations: 291.6 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3739, allocations: 50.11 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.3739, allocations: 17.02 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.374, allocations: 1.125 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.374, allocations: 31.75 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.374, allocations: 0 / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009696/0.375, allocations: 233.8 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.375, allocations: 56.44 kB / 0.5347 GB, free: 9.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.3753, allocations: 210.6 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3753, allocations: 25.7 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.3754, allocations: 106.4 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.3754, allocations: 31.14 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.3755, allocations: 23.47 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3756, allocations: 322.7 kB / 0.5354 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.3757, allocations: 25.64 kB / 0.5354 GB, free: 9.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.3758, allocations: 25.95 kB / 0.5354 GB, free: 9.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3759, allocations: 64.67 kB / 0.5355 GB, free: 9.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3759, allocations: 0 / 0.5355 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001966/0.3761, allocations: 108.2 kB / 0.5356 GB, free: 9.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3762, allocations: 9.438 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3762, allocations: 0 / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3762, allocations: 1.375 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.3763, allocations: 17.73 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3763, allocations: 3.938 kB / 0.5356 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.3763, allocations: 2.75 kB / 0.5356 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.3764, allocations: 2.75 kB / 0.5356 GB, free: 9.145 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 9.748e-05/0.3765, allocations: 132.8 kB / 0.5358 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.3765, allocations: 13.31 kB / 0.5358 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.3768, allocations: 115 kB / 0.5359 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3768, allocations: 1.375 kB / 0.5359 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3768, allocations: 13.19 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3768, allocations: 0 / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.3773, allocations: 406.3 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3773, allocations: 1.125 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.128e-05/0.3774, allocations: 22.34 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3774, allocations: 1.094 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3774, allocations: 1.094 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3774, allocations: 5.047 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3774, allocations: 1.094 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3777, allocations: 203.7 kB / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.3777, allocations: 96.17 kB / 0.5366 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3778, allocations: 5.062 kB / 0.5366 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.3778, allocations: 3.219 kB / 0.5366 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.3779, allocations: 7.141 kB / 0.5366 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3779, allocations: 3.5 kB / 0.5366 GB, free: 8.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.378, allocations: 171.2 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.378, allocations: 0 / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3783, allocations: 18.44 kB / 0.5368 GB, free: 8.098 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.001548/0.3798, allocations: 1.093 MB / 0.5379 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3801, allocations: 66.58 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3801, allocations: 1.062 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.3802, allocations: 37.17 kB / 0.538 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3806, allocations: 19.55 kB / 0.538 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.3828, allocations: 1.652 MB / 0.5396 GB, free: 5.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3832, allocations: 0.7157 MB / 0.5403 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.259e-05/0.3833, allocations: 11.91 kB / 0.5403 GB, free: 5.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.3833, allocations: 33.89 kB / 0.5403 GB, free: 5.012 MB / 398.1 MB Notification: Performance of SimCode: time 2.354e-06/0.3833, allocations: 0 / 0.5403 GB, free: 5.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.404, allocations: 3.13 MB / 0.5434 GB, free: 3.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.86, allocations: 1.031 kB / 0.5434 GB, free: 3.293 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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(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