Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, 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.001275/0.001275, 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.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.43 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.2457/0.2457, allocations: 46.12 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.002237/0.002237, allocations: 83.86 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.343, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003236/0.3463, allocations: 1.737 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.348, allocations: 1.02 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.3481, allocations: 5.25 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.3485, allocations: 53.78 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.3488, allocations: 93.58 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.349, allocations: 88.22 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.3492, allocations: 100.4 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3494, allocations: 15.36 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.3495, allocations: 43.59 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.3495, allocations: 29.64 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3496, allocations: 4.656 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3497, allocations: 48.47 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.3497, allocations: 25.83 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.3498, allocations: 48.44 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3501, allocations: 144.9 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3501, allocations: 0 / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3501, allocations: 1.188 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3501, allocations: 0 / 0.5341 GB, free: 10.76 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.0006465/0.3508, allocations: 447.8 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3508, allocations: 9.625 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.3509, allocations: 40.06 kB / 0.5345 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.3509, allocations: 14.34 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.3512, allocations: 224.3 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3513, allocations: 5.75 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3513, allocations: 6.688 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3514, allocations: 54.05 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.3515, allocations: 3.938 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3515, allocations: 1.375 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3515, allocations: 0 / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.3516, allocations: 22.92 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.352, allocations: 308.3 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3522, allocations: 53.94 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.3523, allocations: 21.09 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3523, allocations: 1.375 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.3525, allocations: 77.08 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3525, allocations: 0 / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006228/0.3531, allocations: 181 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3532, allocations: 52.78 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.3535, allocations: 275.2 kB / 0.5358 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3535, allocations: 27.08 kB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.3536, allocations: 115 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.3536, allocations: 28.12 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.3537, allocations: 24.16 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3539, allocations: 332.2 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.945e-05/0.3539, allocations: 14.56 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.781e-05/0.354, allocations: 43.97 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3542, allocations: 62.02 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3542, allocations: 1.031 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.3544, allocations: 104.4 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3544, allocations: 5.656 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3544, allocations: 4.609 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3544, allocations: 1.031 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.3545, allocations: 21.09 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3545, allocations: 1.688 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.3546, allocations: 5.875 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.3546, allocations: 2.562 kB / 0.5365 GB, free: 8.461 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.0001299/0.3547, allocations: 141.2 kB / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.3548, allocations: 15.34 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.3548, allocations: 17.72 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3549, allocations: 1.312 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3549, allocations: 0 / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3549, allocations: 7.922 kB / 0.5367 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.3554, allocations: 404 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3554, allocations: 5.078 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.3554, allocations: 16.09 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3555, allocations: 5.125 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3555, allocations: 1.062 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3555, allocations: 1.156 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3555, allocations: 1.438 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.3557, allocations: 205.3 kB / 0.5373 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.759e-05/0.3558, allocations: 97.47 kB / 0.5374 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.3559, allocations: 13.19 kB / 0.5374 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.356, allocations: 2.344 kB / 0.5374 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.356, allocations: 7.672 kB / 0.5374 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.356, allocations: 3.688 kB / 0.5374 GB, free: 7.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.3562, allocations: 203.5 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 0 / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.3565, allocations: 29.2 kB / 0.5377 GB, free: 7.461 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.002161/0.3587, allocations: 1.101 MB / 0.5387 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3589, allocations: 62.56 kB / 0.5388 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3589, allocations: 0 / 0.5388 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.359, allocations: 25.16 kB / 0.5388 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3593, allocations: 32.41 kB / 0.5388 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.3615, allocations: 1.831 MB / 0.5406 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.3619, allocations: 0.7246 MB / 0.5413 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.362, allocations: 17.73 kB / 0.5414 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.3621, allocations: 47.62 kB / 0.5414 GB, free: 4.258 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3621, allocations: 0 / 0.5414 GB, free: 4.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.3872, allocations: 3.782 MB / 0.5451 GB, free: 2.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.572, allocations: 18.42 kB / 0.5451 GB, free: 2.238 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)