Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002273/0.002273, 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.001846/0.001846, 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.486/1.486, 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.2336/0.2336, allocations: 46.11 MB / 344.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 75.88 kB / 481 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3775, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003311/0.3808, allocations: 1.93 MB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.3829, allocations: 1.122 MB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.383, allocations: 2.219 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3833, allocations: 164.7 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.3837, allocations: 185.2 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.384, allocations: 110.9 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.3843, allocations: 250.8 kB / 0.5344 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.3844, allocations: 28.8 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3846, allocations: 110.3 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3848, allocations: 130.8 kB / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.3848, allocations: 9.625 kB / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.3849, allocations: 62.61 kB / 0.5347 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.385, allocations: 61.62 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.3851, allocations: 81.23 kB / 0.5348 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.3854, allocations: 227.9 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3854, allocations: 4 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.3854, allocations: 0 / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.3855, allocations: 1.125 kB / 0.5351 GB, free: 10.09 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.0006683/0.3861, allocations: 0.5472 MB / 0.5356 GB, free: 9.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3862, allocations: 9 kB / 0.5356 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.3862, allocations: 40.91 kB / 0.5356 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.3863, allocations: 28.94 kB / 0.5357 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.3866, allocations: 279.6 kB / 0.5359 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3867, allocations: 7.656 kB / 0.5359 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3867, allocations: 17.05 kB / 0.536 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3869, allocations: 103.3 kB / 0.5361 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3869, allocations: 8.984 kB / 0.5361 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.387, allocations: 1.094 kB / 0.5361 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.387, allocations: 2.188 kB / 0.5361 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3871, allocations: 44.72 kB / 0.5361 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.3876, allocations: 473.2 kB / 0.5366 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.388, allocations: 122.8 kB / 0.5367 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3881, allocations: 57.2 kB / 0.5367 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3881, allocations: 2.344 kB / 0.5367 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.3884, allocations: 120.2 kB / 0.5369 GB, free: 8.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.3884, allocations: 0 / 0.5369 GB, free: 8.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001242/0.3896, allocations: 0.4931 MB / 0.5373 GB, free: 8.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.3897, allocations: 83.73 kB / 0.5374 GB, free: 8.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.3901, allocations: 377.1 kB / 0.5378 GB, free: 7.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.3902, allocations: 31.8 kB / 0.5378 GB, free: 7.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3903, allocations: 140.7 kB / 0.5379 GB, free: 7.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/0.3904, allocations: 82.48 kB / 0.538 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.3905, allocations: 41.2 kB / 0.5381 GB, free: 7.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3906, allocations: 343 kB / 0.5384 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3907, allocations: 57.88 kB / 0.5384 GB, free: 7.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.3909, allocations: 95.62 kB / 0.5385 GB, free: 7.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.3912, allocations: 160.2 kB / 0.5387 GB, free: 7.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3912, allocations: 1.094 kB / 0.5387 GB, free: 7.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004052/0.3916, allocations: 237.5 kB / 0.5389 GB, free: 6.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3916, allocations: 5.812 kB / 0.5389 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3916, allocations: 0 / 0.5389 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3917, allocations: 2.188 kB / 0.5389 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3918, allocations: 46.28 kB / 0.539 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3918, allocations: 2.312 kB / 0.539 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.854e-05/0.3919, allocations: 11.88 kB / 0.539 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3919, allocations: 15.38 kB / 0.539 GB, free: 6.852 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.0001549/0.3921, allocations: 154.8 kB / 0.5391 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.3922, allocations: 33.12 kB / 0.5392 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/0.3922, allocations: 36.45 kB / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3923, allocations: 2.781 kB / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3923, allocations: 0 / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3923, allocations: 1.531 kB / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/0.3932, allocations: 0.7212 MB / 0.5399 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3932, allocations: 5.469 kB / 0.5399 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.3933, allocations: 35.83 kB / 0.54 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3933, allocations: 3.312 kB / 0.54 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3933, allocations: 3.125 kB / 0.54 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3933, allocations: 3.25 kB / 0.54 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3933, allocations: 9.031 kB / 0.54 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.3938, allocations: 417.3 kB / 0.5404 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.3939, allocations: 109.8 kB / 0.5405 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.394, allocations: 11.73 kB / 0.5405 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3941, allocations: 4.031 kB / 0.5405 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.3942, allocations: 20.58 kB / 0.5405 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.3943, allocations: 13.23 kB / 0.5405 GB, free: 5.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.3946, allocations: 275.5 kB / 0.5408 GB, free: 5.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3946, allocations: 0 / 0.5408 GB, free: 5.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.395, allocations: 52.52 kB / 0.5408 GB, free: 5.391 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.002663/0.3976, allocations: 1.365 MB / 0.5422 GB, free: 4.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.3981, allocations: 158.6 kB / 0.5423 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3981, allocations: 1.062 kB / 0.5423 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.3983, allocations: 86.7 kB / 0.5424 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.3989, allocations: 65.61 kB / 0.5425 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.4023, allocations: 2.718 MB / 0.5451 GB, free: 2.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.4028, allocations: 0.7635 MB / 0.5459 GB, free: 1.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.4029, allocations: 45.03 kB / 0.5459 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4031, allocations: 85.75 kB / 0.546 GB, free: 1.324 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4031, allocations: 1.031 kB / 0.546 GB, free: 1.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.4299, allocations: 6.083 MB / 0.5519 GB, free: 11.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.452, allocations: 12.16 kB / 0.5519 GB, free: 11.58 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches