Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001265, allocations: 121.6 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.001978/0.001978, allocations: 204.7 kB / 18.74 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.582/1.582, 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 4.1.0-beta.om/package.mo): time 0.2313/0.2313, allocations: 46.11 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 80.05 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3845, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.004391/0.3889, allocations: 1.742 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.3917, allocations: 1.629 MB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.3919, allocations: 1.312 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.3922, allocations: 28.97 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.3926, allocations: 107.2 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.3928, allocations: 76.17 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.393, allocations: 105.5 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.3931, allocations: 15.47 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.3932, allocations: 52.08 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.3934, allocations: 43.25 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3934, allocations: 4.156 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.3936, allocations: 111.5 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.3937, allocations: 20.48 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.3938, allocations: 31.55 kB / 0.5345 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.3941, allocations: 166.5 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3941, allocations: 1.5 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3941, allocations: 0 / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3941, allocations: 0 / 0.5347 GB, free: 10.27 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.0006174/0.3947, allocations: 438.5 kB / 0.5351 GB, free: 9.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3948, allocations: 9.625 kB / 0.5351 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.3948, allocations: 30.75 kB / 0.5352 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3949, allocations: 18.34 kB / 0.5352 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.3952, allocations: 214.8 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3952, allocations: 5.375 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.3952, allocations: 2.75 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3954, allocations: 73.08 kB / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3954, allocations: 1.375 kB / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3955, allocations: 3.984 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3955, allocations: 1.375 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-05/0.3956, allocations: 17.61 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.3959, allocations: 285.5 kB / 0.5358 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.3961, allocations: 61.86 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.3962, allocations: 18.48 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3962, allocations: 1.375 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3964, allocations: 73.12 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3964, allocations: 0 / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005199/0.3969, allocations: 173 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.397, allocations: 90.36 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3972, allocations: 160.7 kB / 0.5363 GB, free: 8.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3972, allocations: 31.73 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.3972, allocations: 95.66 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.3973, allocations: 31.86 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.3973, allocations: 24.91 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3975, allocations: 321.1 kB / 0.5368 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.3975, allocations: 19.17 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.691e-05/0.3976, allocations: 61.83 kB / 0.5369 GB, free: 8.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3978, allocations: 50.44 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3978, allocations: 1.062 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.398, allocations: 106.4 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.398, allocations: 5.125 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.398, allocations: 1.312 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.398, allocations: 5.312 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.3981, allocations: 20.23 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3981, allocations: 1.125 kB / 0.5371 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.3982, allocations: 3.25 kB / 0.5371 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3982, allocations: 2.625 kB / 0.5371 GB, free: 8.004 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.0001108/0.3983, allocations: 124.1 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.3984, allocations: 9.422 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.3984, allocations: 16.36 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3984, allocations: 9.469 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3984, allocations: 0 / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3984, allocations: 0 / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.3989, allocations: 396.8 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3989, allocations: 3.938 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.399, allocations: 12.27 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.399, allocations: 1.125 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.399, allocations: 1.062 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.399, allocations: 1.469 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.399, allocations: 5.156 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.3993, allocations: 199.5 kB / 0.5378 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.3993, allocations: 92.44 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.3994, allocations: 12.98 kB / 0.5379 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.3995, allocations: 2.25 kB / 0.5379 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3995, allocations: 3.438 kB / 0.5379 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.3995, allocations: 12.36 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.3997, allocations: 126.7 kB / 0.538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3997, allocations: 0 / 0.538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.4, allocations: 50.3 kB / 0.5381 GB, free: 7.043 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.002444/0.4025, allocations: 1.19 MB / 0.5392 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4027, allocations: 59.22 kB / 0.5393 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4027, allocations: 0 / 0.5393 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.4028, allocations: 29.61 kB / 0.5393 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.4032, allocations: 42.38 kB / 0.5394 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.405, allocations: 1.583 MB / 0.5409 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4054, allocations: 0.7032 MB / 0.5416 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.947e-05/0.4055, allocations: 19.16 kB / 0.5416 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.4056, allocations: 38.33 kB / 0.5417 GB, free: 3.91 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4056, allocations: 0 / 0.5417 GB, free: 3.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.4355, allocations: 4.015 MB / 0.5456 GB, free: 1.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.58, allocations: 25.06 kB / 0.5456 GB, free: 1.676 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)