Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2407/0.2407, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 79.88 kB / 481 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3797, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003271/0.383, allocations: 1.734 MB / 0.5324 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3848, allocations: 1.022 MB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.3849, allocations: 5.094 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.3853, allocations: 49.86 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3856, allocations: 102 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.3858, allocations: 84.06 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.386, allocations: 97.27 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3861, allocations: 13.8 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.904e-05/0.3862, allocations: 43.66 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.3863, allocations: 33.7 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3863, allocations: 4.438 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.3864, allocations: 44.12 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.3865, allocations: 30.97 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.3866, allocations: 44.66 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3868, allocations: 136.2 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3868, allocations: 1.688 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3868, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3869, allocations: 0 / 0.5341 GB, free: 10.75 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.0005936/0.3874, allocations: 455.9 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3875, allocations: 12.83 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.3876, allocations: 39.72 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3876, allocations: 23.67 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.3879, allocations: 212.3 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3879, allocations: 1.562 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.388, allocations: 10.56 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3881, allocations: 54.55 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3881, allocations: 0 / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3881, allocations: 4 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3882, allocations: 1.156 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.3882, allocations: 22.23 kB / 0.5349 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.3886, allocations: 311.9 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.3888, allocations: 53.39 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.3889, allocations: 18.48 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3889, allocations: 5.375 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.3891, allocations: 73.08 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.3891, allocations: 0 / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005472/0.3896, allocations: 185 kB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3897, allocations: 51.41 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.39, allocations: 280.6 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.39, allocations: 25.7 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.3901, allocations: 112.4 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.3901, allocations: 27.92 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.3902, allocations: 28.58 kB / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3903, allocations: 323 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.3904, allocations: 22.98 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.3905, allocations: 35.95 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.3906, allocations: 66.58 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3906, allocations: 0 / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.3908, allocations: 109.4 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3908, allocations: 5.656 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3908, allocations: 0 / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3909, allocations: 1.062 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.3909, allocations: 13.16 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.391, allocations: 5.109 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.391, allocations: 10.66 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.391, allocations: 2.156 kB / 0.5365 GB, free: 8.438 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.0001156/0.3912, allocations: 138.4 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.3912, allocations: 14.75 kB / 0.5367 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.3912, allocations: 25.48 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3913, allocations: 1.312 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3913, allocations: 0 / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3913, allocations: 7.875 kB / 0.5367 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.3918, allocations: 404.7 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3918, allocations: 4.969 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.3918, allocations: 10.94 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.3918, allocations: 5.188 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3918, allocations: 1.406 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3919, allocations: 1.219 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3919, allocations: 5.484 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3921, allocations: 206.5 kB / 0.5373 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.3922, allocations: 88.64 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.3923, allocations: 8.938 kB / 0.5374 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.3923, allocations: 6.312 kB / 0.5374 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.3924, allocations: 11.28 kB / 0.5374 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.3924, allocations: 3.406 kB / 0.5375 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.3926, allocations: 206.7 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3926, allocations: 1.219 kB / 0.5377 GB, free: 7.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3929, allocations: 24.59 kB / 0.5377 GB, free: 7.438 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.002107/0.395, allocations: 1.101 MB / 0.5387 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.3952, allocations: 58.25 kB / 0.5388 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3952, allocations: 1.094 kB / 0.5388 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.3953, allocations: 32.83 kB / 0.5388 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3957, allocations: 25.8 kB / 0.5389 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.3978, allocations: 1.828 MB / 0.5406 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.3982, allocations: 0.7205 MB / 0.5414 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.187e-05/0.3982, allocations: 19.27 kB / 0.5414 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.3983, allocations: 47.3 kB / 0.5414 GB, free: 4.246 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3983, allocations: 0 / 0.5414 GB, free: 4.246 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.4257, allocations: 3.783 MB / 0.5451 GB, free: 2.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.585, allocations: 15.39 kB / 0.5451 GB, free: 2.219 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches