Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 117.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 203.8 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 79.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3443, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003219/0.3476, allocations: 1.617 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3487, allocations: 0.536 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.3488, allocations: 5.25 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.3491, allocations: 98.52 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.3495, allocations: 110.1 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.3498, allocations: 87.62 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.35, allocations: 85.44 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3501, allocations: 20.17 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.3502, allocations: 36.34 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.3504, allocations: 56.09 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3504, allocations: 2.75 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3505, allocations: 48.8 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.3506, allocations: 24.16 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.3506, allocations: 34.56 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3509, allocations: 117.7 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3509, allocations: 4 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3509, allocations: 0 / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3509, allocations: 0 / 0.5333 GB, free: 11.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006471/0.3516, allocations: 414.5 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3516, allocations: 8.25 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.3517, allocations: 40.11 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.3517, allocations: 14.25 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3519, allocations: 204.4 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.352, allocations: 1.75 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.352, allocations: 7.125 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3521, allocations: 57.98 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3522, allocations: 1.375 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3522, allocations: 3.984 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3522, allocations: 1.375 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3523, allocations: 23.11 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.3527, allocations: 304.1 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3528, allocations: 43.06 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.3529, allocations: 19.81 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3529, allocations: 1.375 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.353, allocations: 31.94 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.565e-06/0.353, allocations: 0 / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000939/0.3539, allocations: 233.8 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.354, allocations: 56.39 kB / 0.5347 GB, free: 9.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.3543, allocations: 230.6 kB / 0.535 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3543, allocations: 30.77 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.3544, allocations: 109.6 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.3544, allocations: 27.03 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.3545, allocations: 20.47 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3546, allocations: 326 kB / 0.5354 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.3547, allocations: 21.8 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/0.3548, allocations: 27.11 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3549, allocations: 63.48 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3549, allocations: 4 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000219/0.3552, allocations: 104.5 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3552, allocations: 5.75 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3552, allocations: 3.984 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3552, allocations: 1.094 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3553, allocations: 13.28 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3554, allocations: 8.922 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.3554, allocations: 7 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.3554, allocations: 6.062 kB / 0.5357 GB, free: 9.137 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 (8): * Single equations (assignments): 8 * 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.0001034/0.3555, allocations: 134.3 kB / 0.5358 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.3556, allocations: 9.094 kB / 0.5358 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.3559, allocations: 121.4 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3559, allocations: 1.125 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.374e-05/0.356, allocations: 7.938 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.356, allocations: 1.281 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.3565, allocations: 411.7 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3566, allocations: 1.375 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.3566, allocations: 21.67 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3566, allocations: 0 / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3567, allocations: 1.375 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3567, allocations: 1.375 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3567, allocations: 1.797 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.3569, allocations: 212.2 kB / 0.5366 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.357, allocations: 95.59 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.357, allocations: 1.375 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.3571, allocations: 4 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.3571, allocations: 14.56 kB / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.3572, allocations: 6.75 kB / 0.5367 GB, free: 8.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.3573, allocations: 179.5 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3573, allocations: 0 / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.3576, allocations: 22.17 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001671/0.3593, allocations: 1.101 MB / 0.538 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.3595, allocations: 67.72 kB / 0.538 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3595, allocations: 0 / 0.538 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/0.3596, allocations: 33.31 kB / 0.5381 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.36, allocations: 19.31 kB / 0.5381 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.362, allocations: 1.702 MB / 0.5397 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.3623, allocations: 0.7086 MB / 0.5404 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.416e-05/0.3624, allocations: 13.03 kB / 0.5404 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.3624, allocations: 37.33 kB / 0.5405 GB, free: 4.969 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3624, allocations: 0 / 0.5405 GB, free: 4.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.3841, allocations: 3.208 MB / 0.5436 GB, free: 3.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.284, allocations: 4.234 kB / 0.5436 GB, free: 3.215 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time