Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001357, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247 MB, free: 10.42 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.2861/0.2861, allocations: 46.12 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.002328/0.002328, allocations: 83.86 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.348, allocations: 62.45 MB / 0.5307 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003373/0.3514, allocations: 1.918 MB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3533, allocations: 1.125 MB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.3534, allocations: 1.531 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.3539, allocations: 253.8 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.3544, allocations: 235.2 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.3547, allocations: 115.1 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.3551, allocations: 276.2 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3552, allocations: 28.78 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.3554, allocations: 135.1 kB / 0.5347 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.3556, allocations: 187.3 kB / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.3557, allocations: 8.719 kB / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.3558, allocations: 63.17 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9e-05/0.3559, allocations: 64.47 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.356, allocations: 103.9 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.3564, allocations: 250.4 kB / 0.5353 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3564, allocations: 1.031 kB / 0.5353 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3564, allocations: 7.938 kB / 0.5353 GB, free: 9.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.3564, allocations: 3.938 kB / 0.5353 GB, free: 9.906 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008983/0.3573, allocations: 0.5899 MB / 0.5359 GB, free: 9.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3574, allocations: 8.906 kB / 0.5359 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.3574, allocations: 45.08 kB / 0.536 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.3575, allocations: 31.03 kB / 0.536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.3579, allocations: 296.5 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3579, allocations: 6.719 kB / 0.5363 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.358, allocations: 13.56 kB / 0.5363 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3582, allocations: 114 kB / 0.5364 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3582, allocations: 1.062 kB / 0.5364 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3582, allocations: 5.219 kB / 0.5364 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3583, allocations: 6.312 kB / 0.5364 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3584, allocations: 44.8 kB / 0.5365 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.3591, allocations: 493.3 kB / 0.5369 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.3595, allocations: 118.2 kB / 0.537 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3596, allocations: 45.78 kB / 0.5371 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3596, allocations: 6.125 kB / 0.5371 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.3598, allocations: 127.8 kB / 0.5372 GB, free: 8.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.3599, allocations: 1.062 kB / 0.5372 GB, free: 8.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001328/0.3612, allocations: 0.5089 MB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.3613, allocations: 79.7 kB / 0.5378 GB, free: 7.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.3619, allocations: 0.4971 MB / 0.5383 GB, free: 7.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.3619, allocations: 31.83 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.3621, allocations: 165.3 kB / 0.5385 GB, free: 7.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.3622, allocations: 78.16 kB / 0.5385 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/0.3623, allocations: 41.05 kB / 0.5386 GB, free: 7.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3625, allocations: 355.2 kB / 0.5389 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3627, allocations: 56.8 kB / 0.539 GB, free: 6.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.3629, allocations: 95.14 kB / 0.5391 GB, free: 6.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.3632, allocations: 157.2 kB / 0.5392 GB, free: 6.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3632, allocations: 4 kB / 0.5392 GB, free: 6.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004844/0.3637, allocations: 244.2 kB / 0.5394 GB, free: 6.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.3637, allocations: 5.688 kB / 0.5395 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3637, allocations: 1.156 kB / 0.5395 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.3638, allocations: 2.281 kB / 0.5395 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.3639, allocations: 37.64 kB / 0.5395 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.364, allocations: 6.062 kB / 0.5395 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-05/0.3641, allocations: 12.64 kB / 0.5395 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3641, allocations: 10.16 kB / 0.5395 GB, free: 6.535 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002213/0.3643, allocations: 173.7 kB / 0.5397 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.3644, allocations: 40.33 kB / 0.5397 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.3645, allocations: 41.08 kB / 0.5398 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3645, allocations: 6.594 kB / 0.5398 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.3645, allocations: 8.547 kB / 0.5398 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3645, allocations: 1.188 kB / 0.5398 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.3657, allocations: 0.7397 MB / 0.5405 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3657, allocations: 1.25 kB / 0.5405 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.044e-05/0.3658, allocations: 32.33 kB / 0.5405 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3658, allocations: 1.562 kB / 0.5405 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3659, allocations: 8.219 kB / 0.5405 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.3659, allocations: 6.578 kB / 0.5405 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.3659, allocations: 9.625 kB / 0.5406 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.3665, allocations: 420.3 kB / 0.541 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.3666, allocations: 114 kB / 0.5411 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.3666, allocations: 7.25 kB / 0.5411 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3668, allocations: 8.594 kB / 0.5411 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.3668, allocations: 21.09 kB / 0.5411 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.3669, allocations: 12.31 kB / 0.5411 GB, free: 5.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004212/0.3673, allocations: 373.8 kB / 0.5415 GB, free: 5.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3673, allocations: 0 / 0.5415 GB, free: 5.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003782/0.3677, allocations: 53.27 kB / 0.5415 GB, free: 4.996 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002729/0.3704, allocations: 1.36 MB / 0.5428 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004162/0.3709, allocations: 162.2 kB / 0.543 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3709, allocations: 0 / 0.543 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.3711, allocations: 84.17 kB / 0.5431 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.3718, allocations: 75.08 kB / 0.5432 GB, free: 3.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.3764, allocations: 3.008 MB / 0.5461 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.3769, allocations: 0.7869 MB / 0.5469 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.377, allocations: 41.92 kB / 0.5469 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.3772, allocations: 103.4 kB / 0.547 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3772, allocations: 0 / 0.547 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.4075, allocations: 6.656 MB / 0.5535 GB, free: 9.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.489/8.897, allocations: 13.86 kB / 0.5535 GB, free: 9.961 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)