Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001139/0.001139, 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.001196/0.001196, allocations: 205.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 76.08 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3379, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003859/0.3418, allocations: 1.664 MB / 0.5321 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.344, allocations: 1.209 MB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.3441, allocations: 0 / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.3444, allocations: 28.31 kB / 0.5333 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3447, allocations: 82.12 kB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.3451, allocations: 183.8 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.3453, allocations: 78.02 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3454, allocations: 15 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.3455, allocations: 34.84 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.3456, allocations: 48.14 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3457, allocations: 5.5 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.3459, allocations: 96.19 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.3459, allocations: 26.78 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.346, allocations: 25.31 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.3463, allocations: 158.2 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3463, allocations: 0 / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3463, allocations: 0 / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.3463, allocations: 0 / 0.5341 GB, free: 10.68 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.0006436/0.347, allocations: 416.1 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.347, allocations: 13.62 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.3471, allocations: 32.12 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.3471, allocations: 8.969 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.3474, allocations: 205.3 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3474, allocations: 1.75 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3474, allocations: 11.05 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.3476, allocations: 87.61 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3477, allocations: 4 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3477, allocations: 0 / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3477, allocations: 1.281 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3478, allocations: 34.69 kB / 0.5348 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.3484, allocations: 318.7 kB / 0.5351 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3486, allocations: 49.22 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.406e-05/0.3487, allocations: 24.91 kB / 0.5352 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.3487, allocations: 1.25 kB / 0.5352 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.3488, allocations: 36 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.3488, allocations: 0 / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001097/0.3499, allocations: 234.8 kB / 0.5355 GB, free: 9.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.35, allocations: 78.3 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3502, allocations: 165.7 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3502, allocations: 26.86 kB / 0.5357 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/0.3503, allocations: 103.6 kB / 0.5358 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.3504, allocations: 22.91 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.3504, allocations: 23.66 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3506, allocations: 321.2 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3508, allocations: 42.03 kB / 0.5362 GB, free: 8.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3509, allocations: 53.61 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.3512, allocations: 95.14 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3512, allocations: 0 / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003404/0.3515, allocations: 129.7 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3516, allocations: 4.438 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3516, allocations: 0 / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3516, allocations: 1.469 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3517, allocations: 27.08 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3518, allocations: 0 / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.555e-05/0.3518, allocations: 14.8 kB / 0.5365 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3519, allocations: 1.375 kB / 0.5365 GB, free: 8.391 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 0.0001097/0.352, allocations: 124.7 kB / 0.5367 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.352, allocations: 8.031 kB / 0.5367 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.3524, allocations: 142.3 kB / 0.5368 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3524, allocations: 1.312 kB / 0.5368 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3524, allocations: 3.938 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3524, allocations: 7.875 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.353, allocations: 416 kB / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.353, allocations: 4 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/0.3531, allocations: 19.14 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3531, allocations: 1.062 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3531, allocations: 5.062 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3531, allocations: 0 / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3531, allocations: 1.031 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.3535, allocations: 224 kB / 0.5375 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.3535, allocations: 87.12 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3536, allocations: 9.031 kB / 0.5375 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.3537, allocations: 10.36 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.3537, allocations: 3.219 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.3537, allocations: 6.078 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.513e-05/0.3538, allocations: 115.7 kB / 0.5377 GB, free: 7.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3538, allocations: 3.938 kB / 0.5377 GB, free: 7.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.3541, allocations: 50.89 kB / 0.5377 GB, free: 7.344 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.001552/0.3557, allocations: 1.14 MB / 0.5388 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.356, allocations: 93.02 kB / 0.5389 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.356, allocations: 1.188 kB / 0.5389 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.3562, allocations: 47.72 kB / 0.539 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3565, allocations: 26.67 kB / 0.539 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.3586, allocations: 1.648 MB / 0.5406 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3588, allocations: 0.703 MB / 0.5413 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.855e-05/0.3589, allocations: 32.62 kB / 0.5413 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.359, allocations: 35.38 kB / 0.5414 GB, free: 4.219 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.359, allocations: 3.938 kB / 0.5414 GB, free: 4.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.3808, allocations: 3.611 MB / 0.5449 GB, free: 2.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.286, allocations: 8.938 kB / 0.5449 GB, free: 2.172 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],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(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],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[1],time