Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 121.6 kB / 17.78 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.001423/0.001423, allocations: 200.7 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.434/1.434, allocations: 227.4 MB / 247 MB, free: 10.45 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.2281/0.2281, allocations: 46.11 MB / 344.4 MB, free: 11.45 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.002431/0.002431, allocations: 84.09 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.367, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003113/0.3702, allocations: 1.722 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.372, allocations: 1.03 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.3721, allocations: 1.438 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.3724, allocations: 53.97 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.3728, allocations: 94.78 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.373, allocations: 79.36 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.3732, allocations: 113.3 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3733, allocations: 10.88 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.3734, allocations: 34.92 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.3735, allocations: 42.77 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.3736, allocations: 2.75 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3737, allocations: 40.86 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.3737, allocations: 22.92 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.3738, allocations: 45.25 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.374, allocations: 149.9 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3741, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3741, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3741, allocations: 1.375 kB / 0.534 GB, free: 10.77 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.0006306/0.3747, allocations: 456.8 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3748, allocations: 9.625 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.3748, allocations: 34.75 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.3749, allocations: 19.7 kB / 0.5345 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3752, allocations: 240.4 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3752, allocations: 5.75 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3753, allocations: 9.25 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.3754, allocations: 57.98 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3754, allocations: 1.375 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3755, allocations: 0 / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3755, allocations: 1.375 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.079e-05/0.3755, allocations: 17.61 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.3759, allocations: 301.8 kB / 0.5352 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.3761, allocations: 57.88 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.3762, allocations: 21.09 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3762, allocations: 1.375 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.3764, allocations: 69.14 kB / 0.5353 GB, free: 9.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.3764, allocations: 0 / 0.5353 GB, free: 9.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005536/0.3769, allocations: 189.3 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.377, allocations: 52.41 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.3773, allocations: 288.2 kB / 0.5358 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3773, allocations: 26.8 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.3774, allocations: 116.1 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.3775, allocations: 24.31 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.3775, allocations: 28.48 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3777, allocations: 327.3 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.3778, allocations: 23.7 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.308e-05/0.3778, allocations: 39.08 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.378, allocations: 55.09 kB / 0.5364 GB, free: 8.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.378, allocations: 0 / 0.5364 GB, free: 8.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002786/0.3783, allocations: 117.7 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3783, allocations: 4.938 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3783, allocations: 1.344 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3783, allocations: 1.156 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/0.3784, allocations: 16.73 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3785, allocations: 1.031 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.3785, allocations: 10.06 kB / 0.5366 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3785, allocations: 2.625 kB / 0.5366 GB, free: 8.457 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.0001454/0.3787, allocations: 143.1 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.3787, allocations: 14.44 kB / 0.5367 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.443e-05/0.3788, allocations: 25.64 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3788, allocations: 1.688 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3788, allocations: 4.188 kB / 0.5367 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3788, allocations: 5.125 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.3794, allocations: 409.4 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3794, allocations: 0 / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.3794, allocations: 12.55 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3794, allocations: 7.938 kB / 0.5372 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3794, allocations: 2.312 kB / 0.5372 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3794, allocations: 0.9375 kB / 0.5372 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3794, allocations: 1.328 kB / 0.5372 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.3797, allocations: 209.2 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.3798, allocations: 89.11 kB / 0.5374 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.3798, allocations: 10.41 kB / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.3799, allocations: 5.266 kB / 0.5375 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.38, allocations: 15.81 kB / 0.5375 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.38, allocations: 4.188 kB / 0.5375 GB, free: 7.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.3802, allocations: 215.8 kB / 0.5377 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3802, allocations: 0 / 0.5377 GB, free: 7.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000265/0.3805, allocations: 30.5 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.00222/0.3827, allocations: 1.092 MB / 0.5388 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.3829, allocations: 57.25 kB / 0.5388 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3829, allocations: 1.094 kB / 0.5388 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/0.383, allocations: 25.28 kB / 0.5389 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.3834, allocations: 36.33 kB / 0.5389 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.386, allocations: 1.855 MB / 0.5407 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.3865, allocations: 0.7212 MB / 0.5414 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.3865, allocations: 18.62 kB / 0.5414 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3866, allocations: 46.91 kB / 0.5415 GB, free: 4.234 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3866, allocations: 9.562 kB / 0.5415 GB, free: 4.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.413, allocations: 3.849 MB / 0.5452 GB, free: 2.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.603, allocations: 17.75 kB / 0.5453 GB, free: 2.172 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)