Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001761/0.001761, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001957/0.001957, allocations: 199.8 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.41/1.41, 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.228/0.228, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 76.11 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3771, allocations: 62.43 MB / 0.5305 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002839/0.3799, allocations: 1.651 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009279/0.3809, allocations: 0.5464 MB / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.3809, allocations: 6.25 kB / 0.5327 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.3812, allocations: 89.14 kB / 0.5328 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.3814, allocations: 121 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.3817, allocations: 92.83 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.3819, allocations: 95.8 kB / 0.5331 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.382, allocations: 29.17 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.382, allocations: 49.7 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.753e-05/0.3821, allocations: 58.06 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.3822, allocations: 4.125 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.3823, allocations: 46.23 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.3823, allocations: 33.42 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.3824, allocations: 39.92 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.3825, allocations: 130.9 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3825, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3826, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3826, allocations: 1.219 kB / 0.5334 GB, free: 11.28 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004661/0.383, allocations: 433.1 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3831, allocations: 9.781 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.3831, allocations: 40.64 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.3832, allocations: 10.38 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.3834, allocations: 209.9 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3834, allocations: 2.594 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3834, allocations: 16.41 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3836, allocations: 73.69 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3836, allocations: 3.984 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.3836, allocations: 5.312 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3836, allocations: 1.625 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3837, allocations: 38.59 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.3841, allocations: 327.3 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3842, allocations: 62.8 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/0.3843, allocations: 28 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3843, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3844, allocations: 30.56 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3844, allocations: 1.406 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001001/0.3854, allocations: 320.2 kB / 0.535 GB, free: 9.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.3854, allocations: 56.66 kB / 0.535 GB, free: 9.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.3856, allocations: 239.1 kB / 0.5353 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3857, allocations: 27.08 kB / 0.5353 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.3857, allocations: 114.8 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.3858, allocations: 43.56 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.3858, allocations: 23.34 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.386, allocations: 334.9 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.3861, allocations: 32.61 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.3861, allocations: 40.59 kB / 0.5359 GB, free: 9.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.3863, allocations: 90.2 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3863, allocations: 0 / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002462/0.3866, allocations: 136.1 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3866, allocations: 9.375 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3866, allocations: 0 / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3866, allocations: 5.344 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3868, allocations: 25.33 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3868, allocations: 0 / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.3868, allocations: 16.36 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3869, allocations: 3.312 kB / 0.5361 GB, free: 8.914 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 (13): * Single equations (assignments): 13 * 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.0001094/0.387, allocations: 135 kB / 0.5363 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.387, allocations: 18.34 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.3874, allocations: 162.9 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3874, allocations: 1.406 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3874, allocations: 1.219 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3874, allocations: 0 / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.388, allocations: 486.2 kB / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.388, allocations: 5.094 kB / 0.5369 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.3881, allocations: 28.05 kB / 0.5369 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3881, allocations: 1.094 kB / 0.5369 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3881, allocations: 2.219 kB / 0.5369 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3881, allocations: 5.062 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3881, allocations: 1.125 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.3884, allocations: 246 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.3885, allocations: 89.3 kB / 0.5373 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3885, allocations: 1.156 kB / 0.5373 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.3886, allocations: 8.406 kB / 0.5373 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.3886, allocations: 8.609 kB / 0.5373 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.3886, allocations: 3.312 kB / 0.5373 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.3888, allocations: 182.7 kB / 0.5375 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3888, allocations: 4 kB / 0.5375 GB, free: 7.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.3891, allocations: 26.5 kB / 0.5375 GB, free: 7.781 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 (13): * Single equations (assignments): 13 * 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.001459/0.3905, allocations: 1.135 MB / 0.5386 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.3908, allocations: 89.08 kB / 0.5387 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3908, allocations: 0 / 0.5387 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3909, allocations: 60.56 kB / 0.5387 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3913, allocations: 23.64 kB / 0.5388 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.3933, allocations: 1.841 MB / 0.5406 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.3936, allocations: 0.7209 MB / 0.5413 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.738e-05/0.3936, allocations: 15.58 kB / 0.5413 GB, free: 4.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.3937, allocations: 40.36 kB / 0.5413 GB, free: 4.559 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3937, allocations: 0 / 0.5413 GB, free: 4.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.4144, allocations: 3.551 MB / 0.5448 GB, free: 2.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/8.185, allocations: 4.234 kB / 0.5448 GB, free: 2.641 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y,d2_t_new.y,d2_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d2_t_new2.u,d2_t_new2.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(clock.y),der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(clock.y)),t_new.columns[1],t_new.columns[2],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],t_new.y[2],time