Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 46.11 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 83.88 kB / 481 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3762, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003417/0.3797, allocations: 1.924 MB / 0.5326 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.3817, allocations: 1.124 MB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.3818, allocations: 3.594 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004719/0.3823, allocations: 221.8 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.3828, allocations: 217.6 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.3831, allocations: 124.5 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.3834, allocations: 258.6 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3836, allocations: 28.8 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.3837, allocations: 123.8 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.3839, allocations: 157.3 kB / 0.5348 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.384, allocations: 8.156 kB / 0.5348 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.3841, allocations: 62.73 kB / 0.5348 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-05/0.3842, allocations: 62.62 kB / 0.5349 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3844, allocations: 86.45 kB / 0.535 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.3847, allocations: 242.8 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3847, allocations: 0 / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3847, allocations: 3.938 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3847, allocations: 4 kB / 0.5352 GB, free: 10.02 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008294/0.3856, allocations: 0.5737 MB / 0.5358 GB, free: 9.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3856, allocations: 10 kB / 0.5358 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.3857, allocations: 44.88 kB / 0.5358 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.3858, allocations: 34.64 kB / 0.5359 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.3862, allocations: 286.1 kB / 0.5361 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3862, allocations: 7.812 kB / 0.5362 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3862, allocations: 13 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.3865, allocations: 111.9 kB / 0.5363 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3865, allocations: 1.094 kB / 0.5363 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3865, allocations: 1.188 kB / 0.5363 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3865, allocations: 5.031 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3867, allocations: 45.47 kB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006325/0.3873, allocations: 486.7 kB / 0.5368 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.3877, allocations: 114 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3878, allocations: 53.09 kB / 0.5369 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.3879, allocations: 6.719 kB / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.3881, allocations: 112.3 kB / 0.5371 GB, free: 8.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.3881, allocations: 0 / 0.5371 GB, free: 8.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001356/0.3895, allocations: 0.5115 MB / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.3896, allocations: 80.39 kB / 0.5376 GB, free: 7.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.3901, allocations: 452.5 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3901, allocations: 31.95 kB / 0.5381 GB, free: 7.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3903, allocations: 163.8 kB / 0.5383 GB, free: 7.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.3903, allocations: 66.16 kB / 0.5383 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.131e-05/0.3904, allocations: 45.17 kB / 0.5384 GB, free: 7.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3906, allocations: 349 kB / 0.5387 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.3907, allocations: 60.88 kB / 0.5388 GB, free: 7.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.3909, allocations: 97.22 kB / 0.5388 GB, free: 6.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.3912, allocations: 152.4 kB / 0.539 GB, free: 6.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3912, allocations: 4 kB / 0.539 GB, free: 6.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004096/0.3916, allocations: 238.7 kB / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3917, allocations: 4.719 kB / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3917, allocations: 1.375 kB / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3917, allocations: 2.625 kB / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3918, allocations: 38.14 kB / 0.5393 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.3919, allocations: 10.05 kB / 0.5393 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.392, allocations: 12.58 kB / 0.5393 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.392, allocations: 14.78 kB / 0.5393 GB, free: 6.707 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001768/0.3922, allocations: 164.1 kB / 0.5395 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.3922, allocations: 35.34 kB / 0.5395 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.837e-05/0.3923, allocations: 39.81 kB / 0.5395 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3923, allocations: 2.25 kB / 0.5395 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3923, allocations: 5.031 kB / 0.5395 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3924, allocations: 4.922 kB / 0.5395 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009835/0.3933, allocations: 0.7356 MB / 0.5403 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3934, allocations: 1.281 kB / 0.5403 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-05/0.3934, allocations: 31.41 kB / 0.5403 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.3935, allocations: 6.203 kB / 0.5403 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.3935, allocations: 4.406 kB / 0.5403 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3935, allocations: 2.594 kB / 0.5403 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3935, allocations: 6.312 kB / 0.5403 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.394, allocations: 426.6 kB / 0.5407 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.3941, allocations: 109 kB / 0.5408 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.3942, allocations: 8.281 kB / 0.5408 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3943, allocations: 8.266 kB / 0.5408 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.3944, allocations: 21.77 kB / 0.5409 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.3944, allocations: 12.61 kB / 0.5409 GB, free: 5.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003637/0.3948, allocations: 333.6 kB / 0.5412 GB, free: 5.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3948, allocations: 1.25 kB / 0.5412 GB, free: 5.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004043/0.3952, allocations: 48.28 kB / 0.5412 GB, free: 5.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002648/0.3979, allocations: 1.374 MB / 0.5426 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004055/0.3983, allocations: 162.4 kB / 0.5427 GB, free: 4.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3983, allocations: 1.094 kB / 0.5427 GB, free: 4.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.3985, allocations: 82.72 kB / 0.5428 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.3991, allocations: 66.48 kB / 0.5429 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.4029, allocations: 2.88 MB / 0.5457 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.4035, allocations: 0.7859 MB / 0.5465 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.4036, allocations: 41.86 kB / 0.5465 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.4038, allocations: 95.41 kB / 0.5466 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4038, allocations: 0 / 0.5466 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.4338, allocations: 6.424 MB / 0.5529 GB, free: 10.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.446, allocations: 4.219 kB / 0.5529 GB, free: 10.66 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches