Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.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.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, 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.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001573, allocations: 72.11 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3682, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.002979/0.3712, allocations: 1.674 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3729, allocations: 1.166 MB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.3729, allocations: 0 / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.3731, allocations: 19.86 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.3735, allocations: 86.33 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.3738, allocations: 141.8 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.374, allocations: 75.53 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3741, allocations: 13.06 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.994e-05/0.3741, allocations: 37.73 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.3743, allocations: 31.92 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3743, allocations: 4.281 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.3745, allocations: 105.3 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.3746, allocations: 20.89 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.3746, allocations: 30.41 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.3749, allocations: 152.1 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3749, allocations: 0 / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3749, allocations: 0 / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3749, allocations: 0 / 0.534 GB, free: 10.73 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.0005509/0.3754, allocations: 423.4 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3755, allocations: 8.75 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.3755, allocations: 35.78 kB / 0.5344 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.3756, allocations: 9.094 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.3758, allocations: 200.2 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3758, allocations: 1.938 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.3759, allocations: 3.125 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.376, allocations: 80.97 kB / 0.5347 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3761, allocations: 0 / 0.5347 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3761, allocations: 5.719 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3761, allocations: 4 kB / 0.5347 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.3762, allocations: 32.12 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.3766, allocations: 296.4 kB / 0.535 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3767, allocations: 48.38 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.3768, allocations: 27.94 kB / 0.5351 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3768, allocations: 3.984 kB / 0.5351 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3769, allocations: 31.94 kB / 0.5351 GB, free: 9.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3769, allocations: 0 / 0.5351 GB, free: 9.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007786/0.3776, allocations: 220 kB / 0.5354 GB, free: 9.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.3777, allocations: 78.48 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.3779, allocations: 149.7 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3779, allocations: 29.7 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.3779, allocations: 100.2 kB / 0.5357 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.378, allocations: 22.41 kB / 0.5357 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.378, allocations: 23.2 kB / 0.5357 GB, free: 8.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3781, allocations: 329.5 kB / 0.5361 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.3783, allocations: 25.86 kB / 0.5361 GB, free: 8.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3784, allocations: 55.73 kB / 0.5361 GB, free: 8.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.3786, allocations: 80.66 kB / 0.5362 GB, free: 8.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3786, allocations: 3.938 kB / 0.5362 GB, free: 8.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002841/0.3789, allocations: 114.9 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3789, allocations: 5.344 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3789, allocations: 0 / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3789, allocations: 1.125 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3791, allocations: 19.17 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3791, allocations: 7.984 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.028e-05/0.3792, allocations: 10.09 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3792, allocations: 2.688 kB / 0.5364 GB, free: 8.488 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 (7): * Single equations (assignments): 7 * 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.563e-05/0.3793, allocations: 122.7 kB / 0.5365 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.3793, allocations: 7.125 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.3797, allocations: 124.3 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3797, allocations: 1.219 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3797, allocations: 0 / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3797, allocations: 5.25 kB / 0.5366 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.3802, allocations: 404 kB / 0.537 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3802, allocations: 1.094 kB / 0.537 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.3803, allocations: 22.67 kB / 0.537 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3803, allocations: 0 / 0.537 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3803, allocations: 5 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3803, allocations: 1.156 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3803, allocations: 0 / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.3807, allocations: 214.2 kB / 0.5372 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.3807, allocations: 91.36 kB / 0.5373 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.3808, allocations: 5.094 kB / 0.5373 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.3809, allocations: 10.61 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.3809, allocations: 10.36 kB / 0.5373 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.3809, allocations: 2.906 kB / 0.5373 GB, free: 7.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.338e-05/0.381, allocations: 126 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.381, allocations: 0 / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.3813, allocations: 35.69 kB / 0.5375 GB, free: 7.469 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 (7): * Single equations (assignments): 7 * 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.001718/0.383, allocations: 1.138 MB / 0.5386 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.3834, allocations: 75.69 kB / 0.5387 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3834, allocations: 7.938 kB / 0.5387 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3835, allocations: 45.09 kB / 0.5387 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3839, allocations: 12.62 kB / 0.5387 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.3859, allocations: 1.586 MB / 0.5403 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.3862, allocations: 0.6921 MB / 0.541 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.768e-05/0.3863, allocations: 21.95 kB / 0.541 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.3864, allocations: 31.86 kB / 0.541 GB, free: 4.398 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3864, allocations: 0 / 0.541 GB, free: 4.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.4092, allocations: 3.533 MB / 0.5445 GB, free: 2.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.012, allocations: 13.17 kB / 0.5445 GB, free: 2.383 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(clock1.y),der(clock2.y),der(d_t_new.u),t_new.extrapolation,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time