Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 122.8 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 198 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, 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.2327/0.2327, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 76.09 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3437, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003159/0.3469, allocations: 1.661 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3487, allocations: 1.166 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.3488, allocations: 1.375 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.349, allocations: 27.97 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.3494, allocations: 93.67 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.3498, allocations: 129.6 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.3499, allocations: 72.69 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.35, allocations: 10.88 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.3501, allocations: 43.75 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.3503, allocations: 31.84 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3503, allocations: 4.344 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.3505, allocations: 100.5 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.3506, allocations: 24.52 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.3506, allocations: 30.47 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.3509, allocations: 142.7 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3509, allocations: 1.344 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3509, allocations: 0 / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3509, allocations: 0 / 0.534 GB, free: 10.75 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.0005604/0.3515, allocations: 426.7 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3516, allocations: 9.969 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.3516, allocations: 39.78 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.3517, allocations: 13.31 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3519, allocations: 193.4 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3519, allocations: 9.547 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.3519, allocations: 2.562 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.3521, allocations: 81.34 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3521, allocations: 1.344 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3521, allocations: 0 / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3522, allocations: 1.219 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.3523, allocations: 40.69 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.3527, allocations: 287.7 kB / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3528, allocations: 52.12 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.3529, allocations: 23.19 kB / 0.5351 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3529, allocations: 5.156 kB / 0.5351 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3529, allocations: 35.75 kB / 0.5351 GB, free: 9.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3529, allocations: 0 / 0.5351 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008105/0.3537, allocations: 216.7 kB / 0.5353 GB, free: 9.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.3538, allocations: 82.05 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.354, allocations: 151.1 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.354, allocations: 27.08 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.3541, allocations: 106.9 kB / 0.5357 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.3541, allocations: 19.78 kB / 0.5357 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.3542, allocations: 23.2 kB / 0.5357 GB, free: 9.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3543, allocations: 325.5 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3544, allocations: 29.86 kB / 0.5361 GB, free: 8.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3545, allocations: 46.3 kB / 0.5361 GB, free: 8.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.3547, allocations: 84.92 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3547, allocations: 0 / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000268/0.355, allocations: 111 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.355, allocations: 8 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.355, allocations: 0 / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3551, allocations: 5.375 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3552, allocations: 23.11 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3552, allocations: 3.984 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.3553, allocations: 10.81 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3553, allocations: 1.375 kB / 0.5364 GB, free: 8.508 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 8.959e-05/0.3554, allocations: 119.3 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.3555, allocations: 7.844 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.3558, allocations: 128.1 kB / 0.5366 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/0.3558, allocations: 1.031 kB / 0.5366 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3558, allocations: 0 / 0.5366 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3558, allocations: 7.938 kB / 0.5366 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.3564, allocations: 409.9 kB / 0.537 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3565, allocations: 0 / 0.537 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.659e-05/0.3566, allocations: 22.64 kB / 0.537 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3566, allocations: 1.031 kB / 0.537 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3566, allocations: 5.094 kB / 0.537 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3566, allocations: 0 / 0.537 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3566, allocations: 0 / 0.537 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.3569, allocations: 210.7 kB / 0.5372 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.357, allocations: 87.89 kB / 0.5373 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.357, allocations: 4.969 kB / 0.5373 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3571, allocations: 10.2 kB / 0.5373 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3572, allocations: 6.453 kB / 0.5373 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.3572, allocations: 2.812 kB / 0.5373 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.3573, allocations: 130.7 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3573, allocations: 4 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.3576, allocations: 34.59 kB / 0.5375 GB, free: 7.484 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.001474/0.3591, allocations: 1.131 MB / 0.5386 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.3594, allocations: 87.03 kB / 0.5387 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3594, allocations: 3.938 kB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3596, allocations: 37.47 kB / 0.5387 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.3599, allocations: 18.69 kB / 0.5387 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.362, allocations: 1.591 MB / 0.5403 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.3623, allocations: 0.6924 MB / 0.541 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.183e-05/0.3623, allocations: 21.36 kB / 0.541 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.3624, allocations: 31.33 kB / 0.541 GB, free: 4.41 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3624, allocations: 1.312 kB / 0.541 GB, free: 4.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.3848, allocations: 3.525 MB / 0.5445 GB, free: 2.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.066, allocations: 13.25 kB / 0.5445 GB, free: 2.402 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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