Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",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: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001564, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.12 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003126/0.003126, allocations: 83.86 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3729, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003447/0.3763, allocations: 1.922 MB / 0.5326 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.3788, allocations: 1.121 MB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.379, allocations: 5.375 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.3797, allocations: 255 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006788/0.3804, allocations: 235.1 kB / 0.5342 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.3808, allocations: 115.7 kB / 0.5343 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.3813, allocations: 268.2 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3815, allocations: 32.2 kB / 0.5346 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.3817, allocations: 139.3 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.382, allocations: 178.5 kB / 0.5349 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.382, allocations: 13.44 kB / 0.5349 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.3822, allocations: 70.47 kB / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.902e-05/0.3823, allocations: 64.52 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3824, allocations: 91.86 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.3828, allocations: 259.2 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3828, allocations: 0 / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3828, allocations: 0 / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3828, allocations: 3.938 kB / 0.5354 GB, free: 10 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.0008036/0.3836, allocations: 0.5971 MB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3837, allocations: 14.16 kB / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.001e-05/0.3838, allocations: 36.75 kB / 0.536 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.3838, allocations: 32.03 kB / 0.536 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.3843, allocations: 295 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3844, allocations: 8.297 kB / 0.5363 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3844, allocations: 12.88 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.3847, allocations: 107.4 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3847, allocations: 9.422 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3847, allocations: 0 / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3848, allocations: 2.656 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.3849, allocations: 56.36 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007035/0.3856, allocations: 478 kB / 0.5369 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.3861, allocations: 130.5 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3862, allocations: 40.86 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3862, allocations: 2.312 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.3865, allocations: 132.7 kB / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.3865, allocations: 0 / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001439/0.3879, allocations: 0.5103 MB / 0.5377 GB, free: 7.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.388, allocations: 80.39 kB / 0.5378 GB, free: 7.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.3886, allocations: 0.4922 MB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.3887, allocations: 39.89 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3888, allocations: 169.8 kB / 0.5385 GB, free: 7.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.3889, allocations: 69.36 kB / 0.5386 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.389, allocations: 45.64 kB / 0.5386 GB, free: 7.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3892, allocations: 346.2 kB / 0.5389 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3893, allocations: 56.88 kB / 0.539 GB, free: 6.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.3895, allocations: 99.62 kB / 0.5391 GB, free: 6.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.3898, allocations: 161.1 kB / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3898, allocations: 0 / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004564/0.3903, allocations: 236.1 kB / 0.5395 GB, free: 6.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.3903, allocations: 6 kB / 0.5395 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3903, allocations: 5.5 kB / 0.5395 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3904, allocations: 1.5 kB / 0.5395 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3905, allocations: 46.36 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3905, allocations: 10.61 kB / 0.5395 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.3906, allocations: 4.25 kB / 0.5395 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.3907, allocations: 9.75 kB / 0.5395 GB, free: 6.625 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.0001851/0.3909, allocations: 170.5 kB / 0.5397 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.3909, allocations: 43.36 kB / 0.5397 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.383e-05/0.391, allocations: 48.47 kB / 0.5398 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.391, allocations: 3.25 kB / 0.5398 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.3911, allocations: 1.219 kB / 0.5398 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3911, allocations: 3.938 kB / 0.5398 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.3921, allocations: 0.7438 MB / 0.5405 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3921, allocations: 1.5 kB / 0.5405 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.3922, allocations: 28.2 kB / 0.5405 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3922, allocations: 2.438 kB / 0.5406 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3922, allocations: 8.578 kB / 0.5406 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3922, allocations: 5.609 kB / 0.5406 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3922, allocations: 5.375 kB / 0.5406 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.3928, allocations: 430.2 kB / 0.541 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.3928, allocations: 105.3 kB / 0.5411 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.3929, allocations: 7.531 kB / 0.5411 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.393, allocations: 8.297 kB / 0.5411 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.3931, allocations: 24.89 kB / 0.5411 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.3931, allocations: 16.8 kB / 0.5411 GB, free: 5.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003739/0.3935, allocations: 374.2 kB / 0.5415 GB, free: 5.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3935, allocations: 0 / 0.5415 GB, free: 5.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.3939, allocations: 52.95 kB / 0.5415 GB, free: 5.078 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.002682/0.3966, allocations: 1.358 MB / 0.5429 GB, free: 4.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.397, allocations: 166.9 kB / 0.543 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.397, allocations: 1.062 kB / 0.543 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.3972, allocations: 79.16 kB / 0.5431 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.3978, allocations: 74.56 kB / 0.5432 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.4018, allocations: 3.007 MB / 0.5461 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.4022, allocations: 0.7831 MB / 0.5469 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.4024, allocations: 41.86 kB / 0.5469 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.4025, allocations: 107.4 kB / 0.547 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4025, allocations: 0 / 0.547 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.4307, allocations: 6.651 MB / 0.5535 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.546, allocations: 8.219 kB / 0.5535 GB, free: 10.04 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches