Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247 MB, free: 10.45 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.2287/0.2287, allocations: 46.12 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.002525/0.002525, allocations: 75.88 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3718, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.004073/0.376, allocations: 1.758 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3779, allocations: 1.03 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.378, allocations: 5.75 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.3784, allocations: 86.52 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.3787, allocations: 115.2 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3789, allocations: 79.66 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.3791, allocations: 117.8 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3792, allocations: 12.25 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.956e-05/0.3794, allocations: 65.69 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3795, allocations: 56.7 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3795, allocations: 4.125 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3796, allocations: 58.47 kB / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.3797, allocations: 32.09 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.3798, allocations: 33.38 kB / 0.5341 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.38, allocations: 140.6 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3801, allocations: 1.375 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3801, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3801, allocations: 0 / 0.5342 GB, free: 10.73 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007145/0.3808, allocations: 452.8 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3809, allocations: 9.625 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.3809, allocations: 32.12 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.381, allocations: 14.34 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.3813, allocations: 218 kB / 0.5349 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3813, allocations: 1.75 kB / 0.5349 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3814, allocations: 6.688 kB / 0.5349 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.3815, allocations: 64.73 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3816, allocations: 5.359 kB / 0.535 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3816, allocations: 7.984 kB / 0.535 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3816, allocations: 1.375 kB / 0.535 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.875e-05/0.3817, allocations: 20.36 kB / 0.535 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.3821, allocations: 304.2 kB / 0.5353 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.3824, allocations: 65.98 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.3824, allocations: 22.61 kB / 0.5354 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.3824, allocations: 1.375 kB / 0.5354 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3826, allocations: 74.44 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3826, allocations: 0 / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007579/0.3834, allocations: 243.5 kB / 0.5357 GB, free: 9.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3834, allocations: 56.75 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.3837, allocations: 229.7 kB / 0.5359 GB, free: 9.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.3837, allocations: 30.83 kB / 0.536 GB, free: 9.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.3838, allocations: 109.9 kB / 0.5361 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.3838, allocations: 37.33 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.3839, allocations: 21.56 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3841, allocations: 331.1 kB / 0.5364 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.3841, allocations: 26.8 kB / 0.5365 GB, free: 8.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.3842, allocations: 48.42 kB / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3844, allocations: 77.45 kB / 0.5366 GB, free: 8.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3844, allocations: 3.984 kB / 0.5366 GB, free: 8.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000229/0.3846, allocations: 126.1 kB / 0.5367 GB, free: 8.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3846, allocations: 5.281 kB / 0.5367 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3847, allocations: 3.938 kB / 0.5367 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3847, allocations: 1.375 kB / 0.5367 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.3848, allocations: 33.77 kB / 0.5368 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3848, allocations: 5.5 kB / 0.5368 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.3848, allocations: 5.312 kB / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3849, allocations: 7.391 kB / 0.5368 GB, free: 8.375 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 (13): * Single equations (assignments): 13 * 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.0001091/0.385, allocations: 125.8 kB / 0.5369 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.385, allocations: 15.53 kB / 0.5369 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.3851, allocations: 20.14 kB / 0.5369 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3851, allocations: 5.188 kB / 0.5369 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3851, allocations: 0 / 0.5369 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3851, allocations: 4 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.3857, allocations: 458 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3857, allocations: 1.094 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.3857, allocations: 16.05 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3857, allocations: 1.5 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3858, allocations: 2.844 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3858, allocations: 0 / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3858, allocations: 5.562 kB / 0.5374 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.3861, allocations: 242.9 kB / 0.5376 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.3861, allocations: 93.06 kB / 0.5377 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3862, allocations: 1.219 kB / 0.5377 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.3862, allocations: 6.531 kB / 0.5377 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3863, allocations: 16.2 kB / 0.5377 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3863, allocations: 5.469 kB / 0.5377 GB, free: 7.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.3865, allocations: 164.2 kB / 0.5379 GB, free: 7.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3865, allocations: 0 / 0.5379 GB, free: 7.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.3867, allocations: 33.08 kB / 0.5379 GB, free: 7.34 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 (11): * Single equations (assignments): 9 * 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.002332/0.3891, allocations: 1.164 MB / 0.5391 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.3893, allocations: 81.5 kB / 0.5391 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3893, allocations: 1.562 kB / 0.5391 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3894, allocations: 46.77 kB / 0.5392 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3898, allocations: 36.31 kB / 0.5392 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.392, allocations: 1.814 MB / 0.541 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3923, allocations: 0.7146 MB / 0.5417 GB, free: 4.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.124e-05/0.3924, allocations: 24.27 kB / 0.5417 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.742e-05/0.3925, allocations: 49.31 kB / 0.5418 GB, free: 4.074 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3925, allocations: 0 / 0.5418 GB, free: 4.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.4173, allocations: 3.9 MB / 0.5456 GB, free: 2.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.591, allocations: 5.016 kB / 0.5456 GB, free: 2.004 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)