Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001808/0.001808, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0022/0.0022, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247 MB, free: 10.48 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.2266/0.2266, allocations: 46.11 MB / 344.3 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.002237/0.002237, allocations: 84.16 kB / 481 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3484, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003076/0.3515, allocations: 1.766 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3533, allocations: 1.03 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.3533, allocations: 1.188 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.3537, allocations: 106.6 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.354, allocations: 129.2 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.3543, allocations: 80.11 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.3545, allocations: 137.4 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3546, allocations: 20.39 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3547, allocations: 65.88 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3548, allocations: 68.75 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.3549, allocations: 6.875 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.355, allocations: 59.84 kB / 0.5341 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.3551, allocations: 38.84 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.3552, allocations: 50.61 kB / 0.5342 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.3554, allocations: 164.7 kB / 0.5343 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3554, allocations: 0 / 0.5343 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3554, allocations: 0 / 0.5343 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3555, allocations: 3.938 kB / 0.5343 GB, free: 10.63 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000687/0.3561, allocations: 464.9 kB / 0.5348 GB, free: 10.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3562, allocations: 8.25 kB / 0.5348 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.3563, allocations: 45.47 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.3563, allocations: 23.72 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.3567, allocations: 231 kB / 0.5351 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.3567, allocations: 9.734 kB / 0.5351 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.3567, allocations: 8.062 kB / 0.5351 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3569, allocations: 70.28 kB / 0.5351 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.357, allocations: 3.953 kB / 0.5352 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.357, allocations: 1.375 kB / 0.5352 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.357, allocations: 1.375 kB / 0.5352 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.3571, allocations: 39.16 kB / 0.5352 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.3577, allocations: 327.2 kB / 0.5355 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.358, allocations: 78.41 kB / 0.5356 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.3581, allocations: 25.48 kB / 0.5356 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3581, allocations: 1.375 kB / 0.5356 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.3583, allocations: 81.97 kB / 0.5357 GB, free: 9.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.3583, allocations: 0 / 0.5357 GB, free: 9.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001046/0.3594, allocations: 319 kB / 0.536 GB, free: 9.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3595, allocations: 53.59 kB / 0.536 GB, free: 9.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.3598, allocations: 258.1 kB / 0.5363 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3598, allocations: 35.86 kB / 0.5363 GB, free: 8.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/0.3599, allocations: 112.2 kB / 0.5364 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.36, allocations: 46.48 kB / 0.5365 GB, free: 8.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.36, allocations: 36.02 kB / 0.5365 GB, free: 8.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3602, allocations: 324 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.3603, allocations: 47.77 kB / 0.5369 GB, free: 8.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3604, allocations: 57.62 kB / 0.5369 GB, free: 8.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3606, allocations: 99.39 kB / 0.537 GB, free: 8.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3607, allocations: 5.219 kB / 0.537 GB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002949/0.361, allocations: 157.1 kB / 0.5372 GB, free: 8.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.361, allocations: 5.594 kB / 0.5372 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.361, allocations: 0 / 0.5372 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.361, allocations: 8.938 kB / 0.5372 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3611, allocations: 26.8 kB / 0.5372 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3611, allocations: 1.469 kB / 0.5372 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.3612, allocations: 5.219 kB / 0.5372 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.3612, allocations: 4.812 kB / 0.5372 GB, free: 8.125 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 (16): * Single equations (assignments): 16 * 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.0001626/0.3614, allocations: 145.5 kB / 0.5374 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.3614, allocations: 20.02 kB / 0.5374 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.3615, allocations: 30.8 kB / 0.5374 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3615, allocations: 1.125 kB / 0.5374 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.3615, allocations: 1.031 kB / 0.5374 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3615, allocations: 0 / 0.5374 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006881/0.3622, allocations: 0.5048 MB / 0.5379 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3622, allocations: 5.5 kB / 0.5379 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.3623, allocations: 19.09 kB / 0.5379 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3623, allocations: 6.234 kB / 0.5379 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3623, allocations: 6.281 kB / 0.5379 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3623, allocations: 1 kB / 0.5379 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3624, allocations: 1.25 kB / 0.5379 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.3627, allocations: 264 kB / 0.5382 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.3628, allocations: 90.33 kB / 0.5383 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3628, allocations: 6.125 kB / 0.5383 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.3629, allocations: 6.141 kB / 0.5383 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.363, allocations: 10.41 kB / 0.5383 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.363, allocations: 17.22 kB / 0.5383 GB, free: 7.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002327/0.3632, allocations: 192 kB / 0.5385 GB, free: 7.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3632, allocations: 4 kB / 0.5385 GB, free: 7.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3635, allocations: 39.83 kB / 0.5385 GB, free: 7.004 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002628/0.3662, allocations: 1.191 MB / 0.5397 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.3665, allocations: 106.5 kB / 0.5398 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3665, allocations: 1.25 kB / 0.5398 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.3666, allocations: 53.94 kB / 0.5398 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.367, allocations: 46.33 kB / 0.5399 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.3694, allocations: 2.005 MB / 0.5419 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3698, allocations: 0.7261 MB / 0.5426 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.263e-05/0.3699, allocations: 29 kB / 0.5426 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.58e-05/0.37, allocations: 51.95 kB / 0.5426 GB, free: 3.625 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.37, allocations: 0 / 0.5426 GB, free: 3.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.3966, allocations: 4.361 MB / 0.5469 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.458, allocations: 11.91 kB / 0.5469 GB, free: 0.8945 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)