Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001296, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2423/0.2423, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 87.8 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3851, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003576/0.3887, allocations: 1.737 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3907, allocations: 1.021 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.3908, allocations: 9.125 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.3912, allocations: 47.53 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.3916, allocations: 100.7 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.3918, allocations: 76.08 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.392, allocations: 101.2 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3921, allocations: 6.781 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.86e-05/0.3922, allocations: 47.52 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.677e-05/0.3923, allocations: 33.58 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3923, allocations: 4.312 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3924, allocations: 43.7 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.3925, allocations: 29.5 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.3925, allocations: 39.39 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3928, allocations: 129.4 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3928, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3928, allocations: 1.031 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3928, allocations: 0 / 0.534 GB, free: 10.8 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000704/0.3935, allocations: 439.9 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3936, allocations: 10.34 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.334e-05/0.3937, allocations: 36.14 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3937, allocations: 14.11 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.3941, allocations: 222.9 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3941, allocations: 1.75 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3941, allocations: 6.688 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3943, allocations: 54.05 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3943, allocations: 3.984 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3943, allocations: 5.375 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3943, allocations: 0 / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.685e-05/0.3944, allocations: 18.98 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.3948, allocations: 301.5 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.395, allocations: 53.94 kB / 0.5352 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.3951, allocations: 29.03 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3952, allocations: 5.312 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.3953, allocations: 73.08 kB / 0.5353 GB, free: 9.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3954, allocations: 0 / 0.5353 GB, free: 9.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000567/0.3959, allocations: 183.6 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.396, allocations: 52.78 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.3963, allocations: 244 kB / 0.5357 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3963, allocations: 27.08 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.3964, allocations: 115 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.3964, allocations: 22.59 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.3965, allocations: 20.59 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3967, allocations: 327 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.3967, allocations: 18.98 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.3968, allocations: 35.45 kB / 0.5363 GB, free: 8.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.3969, allocations: 63.69 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3969, allocations: 0 / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002017/0.3972, allocations: 104.8 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3972, allocations: 5.125 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3972, allocations: 1.312 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3972, allocations: 0 / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.828e-05/0.3973, allocations: 21.3 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3973, allocations: 5.156 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.3974, allocations: 14.12 kB / 0.5365 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3974, allocations: 2.562 kB / 0.5365 GB, free: 8.527 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001539/0.3976, allocations: 131.1 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.3976, allocations: 13.12 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.3977, allocations: 19.95 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3977, allocations: 1.031 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3977, allocations: 1.031 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3977, allocations: 3.938 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.3982, allocations: 397.9 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3983, allocations: 5.141 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.3983, allocations: 10.88 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3983, allocations: 5.094 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3983, allocations: 2.062 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/0.3984, allocations: 5.094 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3984, allocations: 4.5 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.3986, allocations: 209.4 kB / 0.5372 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.3987, allocations: 96.34 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.3988, allocations: 10.31 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.3988, allocations: 2.375 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.3989, allocations: 7.359 kB / 0.5373 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.872e-05/0.3989, allocations: 7.281 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.3991, allocations: 169.4 kB / 0.5375 GB, free: 7.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3991, allocations: 4 kB / 0.5375 GB, free: 7.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3994, allocations: 25.05 kB / 0.5375 GB, free: 7.543 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00232/0.4017, allocations: 1.085 MB / 0.5386 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.4019, allocations: 61.77 kB / 0.5387 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4019, allocations: 0 / 0.5387 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.402, allocations: 37.98 kB / 0.5387 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.4024, allocations: 43.34 kB / 0.5387 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.4045, allocations: 1.744 MB / 0.5404 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.4049, allocations: 0.7095 MB / 0.5411 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.726e-05/0.405, allocations: 18.69 kB / 0.5412 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.4051, allocations: 39.3 kB / 0.5412 GB, free: 4.387 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4051, allocations: 0 / 0.5412 GB, free: 4.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.4299, allocations: 3.613 MB / 0.5447 GB, free: 2.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.692, allocations: 11.98 kB / 0.5447 GB, free: 2.445 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches