Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 197.2 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.377/1.377, 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.2084/0.2084, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3405, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002838/0.3434, allocations: 1.652 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000975/0.3444, allocations: 0.546 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.3445, allocations: 1 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.3448, allocations: 94.52 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.3451, allocations: 114.5 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.3454, allocations: 100.2 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.3457, allocations: 94.55 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3458, allocations: 29.48 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.3459, allocations: 49.64 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.346, allocations: 54.08 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3461, allocations: 8.109 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.3462, allocations: 46.23 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.3463, allocations: 26.92 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.3463, allocations: 46.48 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.3466, allocations: 127.6 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.3466, allocations: 7.938 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3466, allocations: 0 / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3466, allocations: 4 kB / 0.5335 GB, free: 11.22 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006133/0.3472, allocations: 426.6 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3473, allocations: 9.625 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.3474, allocations: 36.12 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.3474, allocations: 11.72 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.3477, allocations: 209.7 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3477, allocations: 5.75 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.3477, allocations: 8.438 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3479, allocations: 82.11 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3479, allocations: 0 / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.348, allocations: 1.375 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.348, allocations: 1.375 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3481, allocations: 41.95 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.3486, allocations: 327.9 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.3488, allocations: 65.75 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.3488, allocations: 23.91 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3489, allocations: 1.406 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.3489, allocations: 31.97 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3489, allocations: 0 / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001198/0.3501, allocations: 317.1 kB / 0.535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3502, allocations: 52.64 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.3504, allocations: 242.9 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3504, allocations: 26.83 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.3505, allocations: 114.8 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.3506, allocations: 39.83 kB / 0.5354 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.3506, allocations: 35.05 kB / 0.5355 GB, free: 9.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3508, allocations: 323.5 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.3509, allocations: 43.81 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.351, allocations: 32.39 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3512, allocations: 90.08 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3512, allocations: 1.375 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002562/0.3514, allocations: 140.4 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3515, allocations: 5.5 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3515, allocations: 0 / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3515, allocations: 9.297 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3516, allocations: 28.58 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3516, allocations: 1.125 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.3517, allocations: 2.562 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3517, allocations: 4.031 kB / 0.5361 GB, free: 8.875 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 (13): * Single equations (assignments): 13 * 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.0001093/0.3518, allocations: 139 kB / 0.5363 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.3519, allocations: 14.5 kB / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.3522, allocations: 166.9 kB / 0.5364 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3522, allocations: 1.188 kB / 0.5364 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3522, allocations: 1 kB / 0.5364 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3522, allocations: 3.984 kB / 0.5364 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.3529, allocations: 490.7 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3529, allocations: 0 / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.353, allocations: 29.14 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.353, allocations: 1.125 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.353, allocations: 10.17 kB / 0.5369 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.353, allocations: 1.031 kB / 0.5369 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.353, allocations: 0 / 0.5369 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.3534, allocations: 243.7 kB / 0.5372 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.3534, allocations: 88.7 kB / 0.5373 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3535, allocations: 5.344 kB / 0.5373 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.3536, allocations: 11.7 kB / 0.5373 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.3536, allocations: 12.45 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3536, allocations: 7.844 kB / 0.5373 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3538, allocations: 183.4 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3538, allocations: 0 / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.3541, allocations: 26.53 kB / 0.5375 GB, free: 7.723 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 (13): * Single equations (assignments): 13 * 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.00159/0.3557, allocations: 1.127 MB / 0.5386 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.356, allocations: 90.33 kB / 0.5387 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.356, allocations: 4 kB / 0.5387 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3561, allocations: 56.16 kB / 0.5387 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3565, allocations: 23.12 kB / 0.5388 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.3587, allocations: 1.846 MB / 0.5406 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.359, allocations: 0.7171 MB / 0.5413 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.683e-05/0.359, allocations: 19.94 kB / 0.5413 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.444e-05/0.3591, allocations: 43.39 kB / 0.5413 GB, free: 4.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3591, allocations: 1.156 kB / 0.5413 GB, free: 4.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.3804, allocations: 3.535 MB / 0.5448 GB, free: 2.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.277, allocations: 9.641 kB / 0.5448 GB, free: 2.594 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y,d2_t_new.y,d2_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d2_t_new2.u,d2_t_new2.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(clock.y),der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(clock.y)),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time