Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, 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.001575/0.001576, 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.383/1.383, 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.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 75.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3401, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002896/0.343, allocations: 1.61 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.3446, allocations: 1.151 MB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.3447, allocations: 1.344 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.3449, allocations: 20.61 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.3452, allocations: 85.27 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.3455, allocations: 98.09 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.3456, allocations: 63.34 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3457, allocations: 10.36 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.251e-05/0.3458, allocations: 37.62 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.3463, allocations: 26.33 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3464, allocations: 7.5 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.3465, allocations: 108.8 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.3466, allocations: 9.844 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.3466, allocations: 29.53 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.3469, allocations: 133.3 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3469, allocations: 0 / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3469, allocations: 0 / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3469, allocations: 0 / 0.5338 GB, free: 10.86 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.0004986/0.3474, allocations: 404.3 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3475, allocations: 13.38 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.3475, allocations: 35.84 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.3476, allocations: 8.656 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.3478, allocations: 192.5 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.3478, allocations: 1.531 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.3478, allocations: 2.5 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.348, allocations: 68.42 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.348, allocations: 3.984 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.348, allocations: 7.938 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.348, allocations: 1.344 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/0.3481, allocations: 25.27 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.3485, allocations: 270.8 kB / 0.5348 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3487, allocations: 47.05 kB / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.3487, allocations: 19.67 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3488, allocations: 1.375 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3488, allocations: 31.94 kB / 0.5349 GB, free: 9.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3488, allocations: 0 / 0.5349 GB, free: 9.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005249/0.3493, allocations: 144.5 kB / 0.535 GB, free: 9.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3494, allocations: 78.48 kB / 0.5351 GB, free: 9.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3495, allocations: 145.3 kB / 0.5353 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3496, allocations: 27.08 kB / 0.5353 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.3496, allocations: 94.88 kB / 0.5354 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.3496, allocations: 18.41 kB / 0.5354 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.3497, allocations: 17.84 kB / 0.5354 GB, free: 9.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3498, allocations: 325.5 kB / 0.5357 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.698e-05/0.3499, allocations: 17.61 kB / 0.5357 GB, free: 8.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.3499, allocations: 39.52 kB / 0.5358 GB, free: 8.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3501, allocations: 44.2 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3501, allocations: 0 / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001803/0.3503, allocations: 83.77 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3503, allocations: 7.688 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3503, allocations: 3.938 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3503, allocations: 9.391 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.3504, allocations: 9.625 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3504, allocations: 0 / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.3505, allocations: 12.05 kB / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3505, allocations: 1.375 kB / 0.5359 GB, free: 8.762 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.223e-05/0.3506, allocations: 114 kB / 0.536 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.3506, allocations: 8.031 kB / 0.5361 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.3508, allocations: 96.16 kB / 0.5361 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3508, allocations: 1.375 kB / 0.5361 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3508, allocations: 0 / 0.5361 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3508, allocations: 7.922 kB / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.3513, allocations: 346.5 kB / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3513, allocations: 1.375 kB / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.3513, allocations: 21.8 kB / 0.5365 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3514, allocations: 4 kB / 0.5365 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3514, allocations: 9.312 kB / 0.5365 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3514, allocations: 0 / 0.5365 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3514, allocations: 0 / 0.5365 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.3516, allocations: 172.6 kB / 0.5367 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.3517, allocations: 82.16 kB / 0.5368 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3517, allocations: 5.031 kB / 0.5368 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.3518, allocations: 11.44 kB / 0.5368 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.3518, allocations: 6.609 kB / 0.5368 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.3518, allocations: 1.406 kB / 0.5368 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.3519, allocations: 114.3 kB / 0.5369 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3519, allocations: 0 / 0.5369 GB, free: 7.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.3522, allocations: 35.52 kB / 0.5369 GB, free: 7.812 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.001463/0.3537, allocations: 1.095 MB / 0.538 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.3539, allocations: 52.02 kB / 0.538 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3539, allocations: 1.156 kB / 0.538 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.354, allocations: 26.61 kB / 0.5381 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3544, allocations: 26.12 kB / 0.5381 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.3559, allocations: 1.422 MB / 0.5395 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.3562, allocations: 0.6969 MB / 0.5402 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.058e-05/0.3563, allocations: 22.33 kB / 0.5402 GB, free: 4.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.3563, allocations: 34.77 kB / 0.5402 GB, free: 4.852 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3563, allocations: 0 / 0.5402 GB, free: 4.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.379, allocations: 3.218 MB / 0.5434 GB, free: 3.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/7.974, allocations: 9.922 kB / 0.5434 GB, free: 2.996 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time