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.001536/0.001537, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001881, 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.385/1.385, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 76.09 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3427, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003078/0.3458, allocations: 1.6 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.3476, allocations: 1.154 MB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.3476, allocations: 1.312 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.3479, allocations: 24.28 kB / 0.5332 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.3482, allocations: 85.23 kB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.3485, allocations: 90.47 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3487, allocations: 70.75 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3488, allocations: 10.62 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.3489, allocations: 25.89 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.3491, allocations: 38.52 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3491, allocations: 4.969 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.3493, allocations: 99.72 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.3494, allocations: 13.92 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.3494, allocations: 21.59 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.3497, allocations: 143.5 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3497, allocations: 5.594 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3497, allocations: 0 / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3497, 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.0005631/0.3503, allocations: 395.7 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.3504, allocations: 9.906 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.3504, allocations: 36.14 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.3505, allocations: 11.91 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3507, allocations: 194.6 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3507, allocations: 1.844 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.3508, allocations: 5.688 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.351, allocations: 68.25 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.351, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.351, allocations: 5.312 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.351, allocations: 0 / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.581e-05/0.3511, allocations: 25.72 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.3516, allocations: 282.7 kB / 0.5348 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.3518, allocations: 44.44 kB / 0.5349 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.3519, allocations: 18.42 kB / 0.5349 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.3519, allocations: 1.375 kB / 0.5349 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.352, allocations: 31.94 kB / 0.5349 GB, free: 9.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.352, allocations: 0 / 0.5349 GB, free: 9.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007238/0.3527, allocations: 149.8 kB / 0.535 GB, free: 9.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/0.3528, allocations: 77.11 kB / 0.5351 GB, free: 9.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.353, allocations: 144.9 kB / 0.5353 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3531, allocations: 25.7 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.3532, allocations: 96.25 kB / 0.5354 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.3532, allocations: 17.03 kB / 0.5354 GB, free: 9.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.3533, allocations: 23.22 kB / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3534, allocations: 324.1 kB / 0.5357 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.3535, allocations: 18.98 kB / 0.5357 GB, free: 8.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.3536, allocations: 34.02 kB / 0.5358 GB, free: 8.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3537, allocations: 48.39 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3538, allocations: 4.031 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002109/0.354, allocations: 81.2 kB / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.354, allocations: 5.5 kB / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.354, allocations: 0 / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3541, allocations: 0 / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.3541, allocations: 13.61 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3542, allocations: 1.375 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.3542, allocations: 14.61 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3542, allocations: 1.375 kB / 0.5359 GB, free: 8.758 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.0001221/0.3544, allocations: 118 kB / 0.536 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.3544, allocations: 8.031 kB / 0.5361 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.3547, allocations: 88.22 kB / 0.5361 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3547, allocations: 1.375 kB / 0.5361 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3547, allocations: 0 / 0.5361 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3547, allocations: 5.312 kB / 0.5361 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.3553, allocations: 358.4 kB / 0.5365 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3553, allocations: 0 / 0.5365 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.3553, allocations: 13.56 kB / 0.5365 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3554, allocations: 3.984 kB / 0.5365 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3554, allocations: 5.312 kB / 0.5365 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3554, allocations: 0 / 0.5365 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3554, allocations: 1.562 kB / 0.5365 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.3557, allocations: 183 kB / 0.5367 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.3558, allocations: 83.75 kB / 0.5368 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.3558, allocations: 3.938 kB / 0.5368 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.3559, allocations: 7.844 kB / 0.5368 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.3559, allocations: 2.719 kB / 0.5368 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3559, allocations: 5.453 kB / 0.5368 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.3561, allocations: 113 kB / 0.5369 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3561, allocations: 1.188 kB / 0.5369 GB, free: 7.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000327/0.3564, allocations: 39.23 kB / 0.5369 GB, free: 7.805 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.001676/0.3581, allocations: 1.094 MB / 0.538 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.3584, allocations: 51.91 kB / 0.538 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3584, allocations: 7.938 kB / 0.5381 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.3584, allocations: 27.19 kB / 0.5381 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3588, allocations: 18.84 kB / 0.5381 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.3609, allocations: 1.422 MB / 0.5395 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3612, allocations: 0.701 MB / 0.5402 GB, free: 4.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.681e-05/0.3613, allocations: 19.55 kB / 0.5402 GB, free: 4.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.3614, allocations: 25.55 kB / 0.5402 GB, free: 4.848 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3614, allocations: 1.375 kB / 0.5402 GB, free: 4.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.3833, allocations: 3.227 MB / 0.5434 GB, free: 2.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.986, allocations: 5.859 kB / 0.5434 GB, free: 2.988 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