Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001893, allocations: 201.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.42/1.42, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 72.09 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3429, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002695/0.3456, allocations: 1.598 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.3466, allocations: 0.5403 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.3466, allocations: 0 / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.3469, allocations: 34.84 kB / 0.5327 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.3472, allocations: 72.47 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.3475, allocations: 115.2 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.3477, allocations: 61.97 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3478, allocations: 18.86 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.3479, allocations: 24.11 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.3479, allocations: 22.73 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.348, allocations: 2.75 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.3481, allocations: 33.02 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.3481, allocations: 17.89 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.3482, allocations: 23.91 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3483, allocations: 96.52 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3483, allocations: 0 / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3483, allocations: 1.094 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.3484, allocations: 0 / 0.5331 GB, free: 11.43 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.0004987/0.3489, allocations: 390.4 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3489, allocations: 13.28 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.349, allocations: 35.94 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.349, allocations: 8.875 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.3492, allocations: 197.9 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.3492, allocations: 5.219 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.3492, allocations: 1.594 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3494, allocations: 48.16 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3494, allocations: 5.562 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3494, allocations: 4 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3494, allocations: 1.375 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.3495, allocations: 25.19 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3499, allocations: 285.2 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.3501, allocations: 49.39 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.3502, allocations: 23.59 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3502, allocations: 1.094 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3502, allocations: 35.62 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3502, allocations: 0 / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005646/0.3508, allocations: 155.2 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3509, allocations: 56.5 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.351, allocations: 179.3 kB / 0.5346 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3511, allocations: 29.64 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.3511, allocations: 101.8 kB / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.3512, allocations: 13.72 kB / 0.5347 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.3512, allocations: 13.62 kB / 0.5347 GB, free: 9.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3513, allocations: 322.7 kB / 0.535 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.3514, allocations: 23.58 kB / 0.5351 GB, free: 9.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.3515, allocations: 23.19 kB / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.3516, allocations: 55.17 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3516, allocations: 1.188 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001861/0.3518, allocations: 87.12 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3518, allocations: 5.719 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3518, allocations: 0 / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3519, allocations: 5.031 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.3519, allocations: 9.062 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3519, allocations: 5.469 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.352, allocations: 11.05 kB / 0.5352 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.352, allocations: 1.312 kB / 0.5352 GB, free: 9.367 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 8.049e-05/0.3521, allocations: 120.2 kB / 0.5354 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.3521, allocations: 15.95 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.3524, allocations: 97.72 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3524, allocations: 1.375 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3524, allocations: 3.938 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3524, allocations: 5.312 kB / 0.5355 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.3528, allocations: 361.6 kB / 0.5358 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3528, allocations: 4 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.3529, allocations: 9.625 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3529, allocations: 7.938 kB / 0.5358 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.3529, allocations: 5.359 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3529, allocations: 0 / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3529, allocations: 1.375 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.3532, allocations: 183.2 kB / 0.536 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.3532, allocations: 82.39 kB / 0.5361 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3532, allocations: 5.312 kB / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.3533, allocations: 6.75 kB / 0.5361 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.3534, allocations: 10.67 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.3534, allocations: 5.312 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.89e-05/0.3535, allocations: 136.7 kB / 0.5363 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3535, allocations: 0 / 0.5363 GB, free: 8.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3537, allocations: 15 kB / 0.5363 GB, free: 8.406 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.001272/0.355, allocations: 1.015 MB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.3553, allocations: 54.45 kB / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3553, allocations: 0 / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.785e-05/0.3553, allocations: 24.95 kB / 0.5373 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.3557, allocations: 19.67 kB / 0.5374 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.3573, allocations: 1.519 MB / 0.5388 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.3575, allocations: 0.7013 MB / 0.5395 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.217e-05/0.3576, allocations: 12.59 kB / 0.5395 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.3576, allocations: 29.02 kB / 0.5396 GB, free: 5.449 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3576, allocations: 0 / 0.5396 GB, free: 5.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.377, allocations: 2.703 MB / 0.5422 GB, free: 3.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.907, allocations: 8.203 kB / 0.5422 GB, free: 3.926 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time