Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001769, allocations: 118.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.002034/0.002034, allocations: 197.2 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.453/1.453, 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.2362/0.2362, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 75.88 kB / 481 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3845, allocations: 62.46 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003283/0.3879, allocations: 1.727 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3897, allocations: 1.022 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3898, allocations: 1.562 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.3902, allocations: 40.02 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.3906, allocations: 98.91 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3909, allocations: 75.39 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.3912, allocations: 108.8 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3913, allocations: 10.88 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3914, allocations: 38.92 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.3915, allocations: 34.78 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.3916, allocations: 4.125 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.3917, allocations: 43.47 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.3918, allocations: 17.44 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.3919, allocations: 35.98 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.3922, allocations: 115.1 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3922, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3922, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3922, allocations: 4 kB / 0.534 GB, free: 10.82 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.0008031/0.393, allocations: 419.5 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/0.3931, allocations: 9.625 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.3931, allocations: 30.75 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.3932, allocations: 10.39 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.3937, allocations: 211.3 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3937, allocations: 1.75 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.3937, allocations: 5.312 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.3939, allocations: 59.42 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.394, allocations: 0 / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.394, allocations: 3.938 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.394, allocations: 1.375 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.3941, allocations: 17.61 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.3947, allocations: 289.4 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.3949, allocations: 65.86 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.395, allocations: 18.48 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.395, allocations: 1.375 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.3953, allocations: 69.12 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.3953, allocations: 0 / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006561/0.396, allocations: 173 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.396, allocations: 52.78 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3962, allocations: 176.4 kB / 0.5355 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3962, allocations: 30.7 kB / 0.5356 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.3963, allocations: 96.7 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.3964, allocations: 27.5 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.3964, allocations: 20.09 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3966, allocations: 326.2 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.3967, allocations: 26.55 kB / 0.536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.3967, allocations: 36.42 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3969, allocations: 58.95 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3969, allocations: 384 / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.3971, allocations: 103.6 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3971, allocations: 5.312 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3971, allocations: 4.031 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3971, allocations: 5.125 kB / 0.5363 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.3972, allocations: 17.55 kB / 0.5363 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3972, allocations: 1.125 kB / 0.5363 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.3973, allocations: 9.094 kB / 0.5363 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.3973, allocations: 7.188 kB / 0.5363 GB, free: 8.637 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.0001018/0.3974, allocations: 124.6 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.3974, allocations: 9.609 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.3975, allocations: 13.44 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3975, allocations: 5.094 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3975, allocations: 0 / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3975, allocations: 3.938 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.398, allocations: 396.9 kB / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.398, allocations: 192 / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.3981, allocations: 7.844 kB / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3981, allocations: 9.125 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3981, allocations: 2.281 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3981, allocations: 4.031 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3981, allocations: 1.125 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.3984, allocations: 212.5 kB / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.3985, allocations: 87.33 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.3985, allocations: 6.219 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.3986, allocations: 6.281 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.3986, allocations: 11.39 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.3987, allocations: 3.531 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.3988, allocations: 128.3 kB / 0.5373 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3988, allocations: 1.188 kB / 0.5373 GB, free: 7.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3991, allocations: 28.27 kB / 0.5373 GB, free: 7.684 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.002251/0.4014, allocations: 1.08 MB / 0.5384 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.4016, allocations: 62.38 kB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4016, allocations: 4.062 kB / 0.5384 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.4017, allocations: 25.45 kB / 0.5384 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.402, allocations: 43 kB / 0.5385 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.4039, allocations: 1.584 MB / 0.54 GB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.4043, allocations: 0.7107 MB / 0.5407 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.731e-05/0.4043, allocations: 14.5 kB / 0.5407 GB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.4044, allocations: 32.11 kB / 0.5408 GB, free: 4.609 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4044, allocations: 0 / 0.5408 GB, free: 4.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.4284, allocations: 3.339 MB / 0.544 GB, free: 2.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.429, allocations: 7.641 kB / 0.544 GB, free: 2.789 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches