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.001522/0.001522, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001762, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3407, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002682/0.3435, allocations: 1.602 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.345, allocations: 1.157 MB / 0.5332 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.345, allocations: 1.375 kB / 0.5332 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.3452, allocations: 19.98 kB / 0.5332 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.3455, allocations: 85.39 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3458, allocations: 94.34 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.3459, allocations: 66.42 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.697e-05/0.346, allocations: 10.5 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.346, allocations: 34.28 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005405/0.3466, allocations: 26.02 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3466, allocations: 4.375 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3468, allocations: 103.5 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.3469, allocations: 23.05 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.3469, allocations: 24.95 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.3472, allocations: 140.3 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3472, allocations: 0 / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3472, allocations: 1.469 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3472, allocations: 0 / 0.5338 GB, free: 10.84 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.0005514/0.3477, allocations: 395.3 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3478, allocations: 9.844 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.3478, allocations: 39.75 kB / 0.5342 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.3479, allocations: 8.25 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3482, allocations: 193.6 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3482, allocations: 5.656 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.3482, allocations: 1.562 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3484, allocations: 71.73 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3485, allocations: 1.156 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3485, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.3485, allocations: 1.219 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3486, allocations: 32.81 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3491, allocations: 283.4 kB / 0.5348 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.3493, allocations: 39.84 kB / 0.5349 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.3494, allocations: 14.94 kB / 0.5349 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.3494, allocations: 1.938 kB / 0.5349 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3495, allocations: 38.5 kB / 0.5349 GB, free: 9.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3495, allocations: 4 kB / 0.5349 GB, free: 9.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006482/0.3501, allocations: 133.2 kB / 0.535 GB, free: 9.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.3502, allocations: 82.17 kB / 0.5351 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3504, allocations: 148.7 kB / 0.5353 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3504, allocations: 25.7 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.3505, allocations: 91.27 kB / 0.5354 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.3506, allocations: 30.64 kB / 0.5354 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.3506, allocations: 13.88 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3508, allocations: 321.5 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.3508, allocations: 17.61 kB / 0.5357 GB, free: 8.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.127e-05/0.3509, allocations: 35.44 kB / 0.5358 GB, free: 8.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.3511, allocations: 50.86 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3511, allocations: 1.375 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001991/0.3513, allocations: 79.77 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3513, allocations: 5.5 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3513, allocations: 0 / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3514, allocations: 1.375 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.3514, allocations: 13.61 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3514, allocations: 0 / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.3515, allocations: 16 kB / 0.5359 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3515, allocations: 1.625 kB / 0.5359 GB, free: 8.742 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.456e-05/0.3516, allocations: 114 kB / 0.536 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.3517, allocations: 10.64 kB / 0.5361 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3519, allocations: 97.53 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3519, allocations: 1.375 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3519, allocations: 0 / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.352, allocations: 7.938 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.3524, allocations: 346.5 kB / 0.5365 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3524, allocations: 0 / 0.5365 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.3525, allocations: 17.55 kB / 0.5365 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3525, allocations: 1.375 kB / 0.5365 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3525, allocations: 3.938 kB / 0.5365 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3525, allocations: 1.375 kB / 0.5365 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3525, allocations: 3.938 kB / 0.5365 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.3527, allocations: 180.4 kB / 0.5367 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.3528, allocations: 78.48 kB / 0.5368 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.3528, allocations: 9.312 kB / 0.5368 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.3529, allocations: 6.734 kB / 0.5368 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.3529, allocations: 2.75 kB / 0.5368 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.353, allocations: 1.375 kB / 0.5368 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.3531, allocations: 124.8 kB / 0.5369 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3531, allocations: 0 / 0.5369 GB, free: 7.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000295/0.3534, allocations: 35.89 kB / 0.5369 GB, free: 7.789 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.001567/0.355, allocations: 1.092 MB / 0.538 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3552, allocations: 52.34 kB / 0.538 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3552, allocations: 0 / 0.538 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.3553, allocations: 27.23 kB / 0.5381 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3557, allocations: 26.61 kB / 0.5381 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3574, allocations: 1.419 MB / 0.5395 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3577, allocations: 0.6967 MB / 0.5402 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.362e-05/0.3578, allocations: 19.31 kB / 0.5402 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.3579, allocations: 26.2 kB / 0.5402 GB, free: 4.84 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3579, allocations: 0 / 0.5402 GB, free: 4.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.3843, allocations: 3.232 MB / 0.5434 GB, free: 2.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.156, allocations: 5.953 kB / 0.5434 GB, free: 2.973 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