Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, 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.001342/0.001342, 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.436/1.436, 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.2398/0.2398, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.002224/0.002224, allocations: 79.88 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3538, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003126/0.357, allocations: 1.687 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.3587, allocations: 1.002 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.289e-05/0.3587, allocations: 1.25 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.3591, allocations: 63.34 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.3594, allocations: 109.9 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.3596, allocations: 73.61 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3598, allocations: 104.4 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.517e-05/0.3599, allocations: 11.94 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/0.36, allocations: 51.61 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.3601, allocations: 42.95 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3601, allocations: 4.125 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.3602, allocations: 32.61 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.3603, allocations: 18.8 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.3604, allocations: 30.62 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.3606, allocations: 108.4 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3606, allocations: 1.375 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3606, allocations: 3.938 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3606, allocations: 0 / 0.5339 GB, free: 10.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005986/0.3612, allocations: 415.6 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3613, allocations: 9.625 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.3613, allocations: 30.75 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.3614, allocations: 14.34 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.3617, allocations: 216 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3617, allocations: 9.688 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.3617, allocations: 9.297 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3619, allocations: 47.3 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3619, allocations: 3.938 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.3619, allocations: 1.375 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3619, allocations: 0 / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.362, allocations: 16.23 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.3622, allocations: 183.4 kB / 0.5348 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.3624, allocations: 63.11 kB / 0.5349 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.3624, allocations: 17.11 kB / 0.5349 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3624, allocations: 5.359 kB / 0.5349 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.3626, allocations: 63.7 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3626, allocations: 0 / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002759/0.3629, allocations: 96.12 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.363, allocations: 56.78 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3631, allocations: 192.1 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3632, allocations: 25.7 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.3633, allocations: 101.6 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.3633, allocations: 22.59 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.3634, allocations: 17.84 kB / 0.5355 GB, free: 9.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3635, allocations: 327 kB / 0.5358 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.3636, allocations: 18.8 kB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.3636, allocations: 32.7 kB / 0.5358 GB, free: 8.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.803e-05/0.3637, allocations: 43.53 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3638, allocations: 3.938 kB / 0.5359 GB, free: 8.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001628/0.3639, allocations: 87.7 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3639, allocations: 8.594 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.364, allocations: 0.7812 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.364, allocations: 5.094 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.3641, allocations: 9.375 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3641, allocations: 0 / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.3641, allocations: 3.031 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3641, allocations: 2.719 kB / 0.536 GB, free: 8.832 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 (7): * Single equations (assignments): 7 * 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.0001218/0.3642, allocations: 133.7 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3643, allocations: 8.703 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.3643, allocations: 18.42 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3643, allocations: 0 / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3643, allocations: 1.156 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3644, allocations: 0 / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.3645, allocations: 193.3 kB / 0.5363 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3645, allocations: 0 / 0.5363 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.3646, allocations: 7.859 kB / 0.5363 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3646, allocations: 3.938 kB / 0.5363 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3646, allocations: 5.156 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3646, allocations: 1.094 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3646, allocations: 0 / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.3648, allocations: 110.3 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.3649, allocations: 83.41 kB / 0.5365 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.3649, allocations: 5.438 kB / 0.5365 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.365, allocations: 5.438 kB / 0.5365 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.365, allocations: 14.41 kB / 0.5366 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.365, allocations: 2.156 kB / 0.5366 GB, free: 8.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3652, allocations: 152.6 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3652, allocations: 0 / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.3654, allocations: 16.78 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001935/0.3673, allocations: 0.9396 MB / 0.5376 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.3675, allocations: 46.98 kB / 0.5377 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3675, allocations: 1.125 kB / 0.5377 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.3676, allocations: 19.36 kB / 0.5377 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.3679, allocations: 31.03 kB / 0.5377 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.37, allocations: 1.5 MB / 0.5392 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3704, allocations: 0.7086 MB / 0.5399 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.014e-05/0.3705, allocations: 12.39 kB / 0.5399 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.3705, allocations: 29.48 kB / 0.5399 GB, free: 5.266 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3706, allocations: 0 / 0.5399 GB, free: 5.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.3965, allocations: 3.17 MB / 0.543 GB, free: 3.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.368, allocations: 12.12 kB / 0.543 GB, free: 3.535 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)