Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, 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.2116/0.2116, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 79.86 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3536, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003063/0.3567, allocations: 1.594 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3586, allocations: 1.164 MB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.3587, allocations: 1.375 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.359, allocations: 29.12 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.3593, allocations: 84.98 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.3597, allocations: 110.2 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3599, allocations: 66.61 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.36, allocations: 10.88 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.3601, allocations: 33.47 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.3603, allocations: 32.22 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.3603, allocations: 2.75 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.3605, allocations: 100.1 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.3606, allocations: 18.66 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.3607, allocations: 21.38 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.361, allocations: 140.8 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.361, allocations: 5.375 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.361, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.3611, allocations: 0 / 0.5339 GB, free: 10.83 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005846/0.3616, allocations: 395.9 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3617, allocations: 9.625 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/0.3618, allocations: 40.11 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.3618, allocations: 8.969 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.362, allocations: 192.4 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3621, allocations: 1.75 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.3621, allocations: 5.75 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3623, allocations: 65.09 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3623, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3623, allocations: 5.312 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3623, allocations: 0 / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.3624, allocations: 33.59 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.3629, allocations: 288.3 kB / 0.5349 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.3632, allocations: 40.44 kB / 0.5349 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.3632, allocations: 29.11 kB / 0.5349 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3633, allocations: 0 / 0.5349 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3633, allocations: 35.94 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3633, allocations: 0 / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006977/0.364, allocations: 154.8 kB / 0.5351 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.3641, allocations: 78.33 kB / 0.5352 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.3644, allocations: 143.3 kB / 0.5353 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.3644, allocations: 30.78 kB / 0.5353 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.3645, allocations: 91.73 kB / 0.5354 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3646, allocations: 18.09 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.3646, allocations: 25.89 kB / 0.5355 GB, free: 9.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3648, allocations: 321.5 kB / 0.5358 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.3649, allocations: 23.75 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.78e-05/0.365, allocations: 31.83 kB / 0.5358 GB, free: 8.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3651, allocations: 51.39 kB / 0.5359 GB, free: 8.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3652, allocations: 4.031 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002322/0.3654, allocations: 91.72 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3654, allocations: 5.031 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3654, allocations: 0 / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3655, allocations: 0.875 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.3655, allocations: 13.52 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3656, allocations: 1.156 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.3656, allocations: 7.312 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.3656, allocations: 5.188 kB / 0.536 GB, free: 8.719 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 (5): * Single equations (assignments): 5 * 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.972e-05/0.3657, allocations: 118.5 kB / 0.5361 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.3658, allocations: 7.375 kB / 0.5361 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.366, allocations: 100.7 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.366, allocations: 0 / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.366, allocations: 1.125 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3661, allocations: 3.938 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.3665, allocations: 368.4 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3665, allocations: 0 / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.3666, allocations: 21.42 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3666, allocations: 0 / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3666, allocations: 5.125 kB / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3666, allocations: 1.094 kB / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3666, allocations: 0 / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.3669, allocations: 186.8 kB / 0.5368 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.3669, allocations: 83.19 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.367, allocations: 8.906 kB / 0.5369 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.3671, allocations: 3.031 kB / 0.5369 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3671, allocations: 5.922 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3671, allocations: 1.312 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.3672, allocations: 115.3 kB / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3672, allocations: 4 kB / 0.537 GB, free: 7.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.3676, allocations: 43.42 kB / 0.537 GB, free: 7.742 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 (5): * Single equations (assignments): 5 * 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.001611/0.3692, allocations: 1.092 MB / 0.5381 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.3694, allocations: 54.78 kB / 0.5381 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3694, allocations: 0 / 0.5381 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.3695, allocations: 33.22 kB / 0.5382 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3699, allocations: 15.69 kB / 0.5382 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.372, allocations: 1.462 MB / 0.5396 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.3724, allocations: 0.6975 MB / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.3725, allocations: 22.05 kB / 0.5403 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.3726, allocations: 29.92 kB / 0.5404 GB, free: 4.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3726, allocations: 0 / 0.5404 GB, free: 4.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.3966, allocations: 3.249 MB / 0.5435 GB, free: 2.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.14, allocations: 9.75 kB / 0.5435 GB, free: 2.898 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time