Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 117.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.001521/0.001521, allocations: 199.9 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.426/1.426, 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 4.1.0-beta.om/package.mo): time 0.2164/0.2164, 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.002323/0.002323, allocations: 75.88 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3467, allocations: 62.45 MB / 0.5307 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003584/0.3504, allocations: 1.731 MB / 0.5324 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.3524, allocations: 1.025 MB / 0.5334 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.438e-05/0.3525, allocations: 1.375 kB / 0.5334 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.353, allocations: 54.88 kB / 0.5334 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.3533, allocations: 97.8 kB / 0.5335 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.3536, allocations: 78.91 kB / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.3538, allocations: 104.9 kB / 0.5337 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3539, allocations: 6.875 kB / 0.5337 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3541, allocations: 44.28 kB / 0.5338 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.092e-05/0.3542, allocations: 37.41 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3542, allocations: 4.125 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3543, allocations: 43.47 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.3544, allocations: 24.17 kB / 0.5339 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.3545, allocations: 41.25 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.3547, allocations: 129 kB / 0.534 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3547, allocations: 1.375 kB / 0.534 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3548, allocations: 0 / 0.534 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3548, allocations: 3.938 kB / 0.534 GB, free: 11.01 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.0007375/0.3555, allocations: 444.8 kB / 0.5344 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3556, allocations: 13.41 kB / 0.5345 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.3556, allocations: 30.75 kB / 0.5345 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.3557, allocations: 11.83 kB / 0.5345 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.356, allocations: 219.4 kB / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.356, allocations: 5.312 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.3561, allocations: 10.23 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3562, allocations: 54.02 kB / 0.5348 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3562, allocations: 0 / 0.5348 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3562, allocations: 4.891 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3563, allocations: 5.156 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.274e-05/0.3563, allocations: 18.83 kB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.3567, allocations: 293.5 kB / 0.5351 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.3569, allocations: 61.17 kB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.357, allocations: 21.67 kB / 0.5352 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.357, allocations: 1.344 kB / 0.5352 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.3572, allocations: 72.38 kB / 0.5352 GB, free: 9.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3572, allocations: 0.9375 kB / 0.5352 GB, free: 9.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005464/0.3577, allocations: 179.3 kB / 0.5354 GB, free: 9.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.3578, allocations: 52.5 kB / 0.5355 GB, free: 9.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.358, allocations: 240.8 kB / 0.5357 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.3581, allocations: 38.78 kB / 0.5357 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.3582, allocations: 109.8 kB / 0.5358 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.3582, allocations: 23.19 kB / 0.5358 GB, free: 9.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.3583, allocations: 20.59 kB / 0.5359 GB, free: 9.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3584, allocations: 331.1 kB / 0.5362 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.3585, allocations: 19 kB / 0.5362 GB, free: 8.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.3586, allocations: 35.64 kB / 0.5362 GB, free: 8.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3587, allocations: 63.14 kB / 0.5363 GB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3587, allocations: 0 / 0.5363 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.3589, allocations: 105.3 kB / 0.5364 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3589, allocations: 5.438 kB / 0.5364 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3589, allocations: 3.984 kB / 0.5364 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.359, allocations: 1.375 kB / 0.5364 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.3591, allocations: 12.38 kB / 0.5364 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3591, allocations: 1.562 kB / 0.5364 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.3591, allocations: 14.72 kB / 0.5364 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.3592, allocations: 6.688 kB / 0.5364 GB, free: 8.746 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.0001171/0.3593, allocations: 134.1 kB / 0.5366 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3593, allocations: 13.41 kB / 0.5366 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.3594, allocations: 20.27 kB / 0.5366 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3594, allocations: 1.375 kB / 0.5366 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3594, allocations: 0 / 0.5366 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3594, allocations: 5.312 kB / 0.5366 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.3599, allocations: 405.4 kB / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3599, allocations: 0 / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.36, allocations: 11.72 kB / 0.537 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.36, allocations: 5.406 kB / 0.537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.36, allocations: 1.094 kB / 0.537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.36, allocations: 4.703 kB / 0.537 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.36, allocations: 2.016 kB / 0.537 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3603, allocations: 212.4 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.3604, allocations: 89.39 kB / 0.5373 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3604, allocations: 5.094 kB / 0.5373 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.3605, allocations: 9.906 kB / 0.5373 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.3605, allocations: 7.172 kB / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3605, allocations: 8.406 kB / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.3607, allocations: 173.1 kB / 0.5375 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3607, allocations: 4 kB / 0.5375 GB, free: 7.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.361, allocations: 21.19 kB / 0.5375 GB, free: 7.758 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.002146/0.3631, allocations: 1.101 MB / 0.5386 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.3633, allocations: 58.12 kB / 0.5387 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3634, allocations: 0 / 0.5387 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.255e-05/0.3634, allocations: 29.27 kB / 0.5387 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3638, allocations: 25.42 kB / 0.5387 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.3657, allocations: 1.75 MB / 0.5404 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3661, allocations: 0.7054 MB / 0.5411 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.214e-05/0.3662, allocations: 21.98 kB / 0.5411 GB, free: 4.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.3663, allocations: 39.36 kB / 0.5412 GB, free: 4.605 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3663, allocations: 3.938 kB / 0.5412 GB, free: 4.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.3912, allocations: 3.623 MB / 0.5447 GB, free: 2.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.234/8.625, allocations: 11.7 kB / 0.5447 GB, free: 2.66 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1)