Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001708/0.001708, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 71.89 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3439, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002931/0.3469, allocations: 1.605 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3485, allocations: 1.16 MB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.3486, allocations: 2.312 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.3488, allocations: 15.64 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.3491, allocations: 86.64 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.3493, allocations: 85.38 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3495, allocations: 75.19 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.3496, allocations: 10.19 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.3496, allocations: 25.55 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.3498, allocations: 34.83 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3499, allocations: 4.125 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.35, allocations: 102.8 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.3501, allocations: 16.05 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.3501, allocations: 20 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.3504, allocations: 144.8 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3504, allocations: 0 / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3504, allocations: 1.375 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3504, allocations: 0 / 0.5338 GB, free: 10.87 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.000485/0.3509, allocations: 399.9 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.351, allocations: 9.625 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.351, allocations: 36.11 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.351, allocations: 7.594 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.3512, allocations: 197.8 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3512, allocations: 5.75 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3513, allocations: 1.75 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3514, allocations: 63.72 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3514, allocations: 3.938 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3514, allocations: 1.375 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3514, allocations: 3.938 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.689e-05/0.3515, allocations: 25.72 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.3519, allocations: 274.8 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3521, allocations: 52.31 kB / 0.5349 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.3522, allocations: 14.44 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3522, allocations: 1.375 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3522, allocations: 31.94 kB / 0.5349 GB, free: 9.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.3522, allocations: 4 kB / 0.5349 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005716/0.3528, allocations: 144.4 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.3529, allocations: 82.47 kB / 0.5351 GB, free: 9.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.353, allocations: 143.8 kB / 0.5353 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3531, allocations: 26.58 kB / 0.5353 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.3531, allocations: 91.36 kB / 0.5354 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3532, allocations: 25.95 kB / 0.5354 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.3532, allocations: 18.53 kB / 0.5354 GB, free: 9.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3533, allocations: 324.6 kB / 0.5357 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.3534, allocations: 18.45 kB / 0.5357 GB, free: 8.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.3535, allocations: 30.58 kB / 0.5358 GB, free: 8.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.3536, allocations: 48.14 kB / 0.5358 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3536, allocations: 0 / 0.5358 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001858/0.3538, allocations: 89.89 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3539, allocations: 3.875 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3539, allocations: 1.625 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3539, allocations: 0 / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.354, allocations: 13.33 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.354, allocations: 1.312 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.354, allocations: 10.53 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.354, allocations: 2.562 kB / 0.5359 GB, free: 8.77 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 0.0001018/0.3542, allocations: 117.4 kB / 0.5361 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.3542, allocations: 8 kB / 0.5361 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3544, allocations: 91.69 kB / 0.5361 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3545, allocations: 1.125 kB / 0.5361 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3545, allocations: 1.125 kB / 0.5361 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3545, allocations: 3.938 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.3549, allocations: 350 kB / 0.5365 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3549, allocations: 5 kB / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.355, allocations: 13.03 kB / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.355, allocations: 1.094 kB / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.355, allocations: 5.031 kB / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.355, allocations: 3.984 kB / 0.5365 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.355, allocations: 0 / 0.5365 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.3553, allocations: 176 kB / 0.5367 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.3553, allocations: 79.48 kB / 0.5368 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3554, allocations: 9.141 kB / 0.5368 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.3555, allocations: 7.562 kB / 0.5368 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.3555, allocations: 6.125 kB / 0.5368 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.3555, allocations: 5.125 kB / 0.5368 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3556, allocations: 124.1 kB / 0.5369 GB, free: 7.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3556, allocations: 1.188 kB / 0.5369 GB, free: 7.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.3559, allocations: 35.89 kB / 0.5369 GB, free: 7.816 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.001598/0.3576, allocations: 1.09 MB / 0.538 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3578, allocations: 52.78 kB / 0.5381 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3578, allocations: 0 / 0.5381 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.3579, allocations: 27.11 kB / 0.5381 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.3583, allocations: 22.98 kB / 0.5381 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.36, allocations: 1.418 MB / 0.5395 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.3603, allocations: 0.7016 MB / 0.5402 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.485e-05/0.3603, allocations: 18.22 kB / 0.5402 GB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.3604, allocations: 34.38 kB / 0.5402 GB, free: 4.859 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3604, allocations: 0 / 0.5402 GB, free: 4.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.3907, allocations: 3.214 MB / 0.5434 GB, free: 3.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.543, allocations: 5.5 kB / 0.5434 GB, free: 3.012 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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