Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, 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.001454/0.001455, allocations: 200.7 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.442/1.442, 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.2283/0.2283, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.00223/0.00223, allocations: 79.88 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3726, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003487/0.3762, allocations: 1.939 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.378, allocations: 1.054 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3782, allocations: 5.312 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.3785, allocations: 49.33 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.3789, allocations: 98.97 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3791, allocations: 93.7 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3794, allocations: 153.2 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3795, allocations: 22.97 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3796, allocations: 60.02 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3797, allocations: 53.27 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.3797, allocations: 6.938 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3799, allocations: 47.67 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.3799, allocations: 26.16 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.669e-05/0.38, allocations: 54.89 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.3803, allocations: 153.6 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3803, allocations: 0 / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3803, allocations: 0 / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3803, allocations: 4 kB / 0.5344 GB, free: 10.47 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006688/0.381, allocations: 498 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.381, allocations: 9.562 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.3811, allocations: 36.19 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.3811, allocations: 17.28 kB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.3815, allocations: 239.7 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3815, allocations: 3.812 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.3816, allocations: 16.41 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.3818, allocations: 102.4 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3818, allocations: 3.938 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3818, allocations: 1.219 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3819, allocations: 2.281 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.382, allocations: 50.33 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.3827, allocations: 0.5076 MB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.383, allocations: 84.5 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3831, allocations: 43.22 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3832, allocations: 5.375 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.3834, allocations: 77.38 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3834, allocations: 0 / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004251/0.3838, allocations: 147.4 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3839, allocations: 56.78 kB / 0.5362 GB, free: 8.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3841, allocations: 206.7 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3841, allocations: 27.23 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.3842, allocations: 114.5 kB / 0.5366 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.3843, allocations: 37.02 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.3843, allocations: 26.97 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.3845, allocations: 329.7 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.3846, allocations: 32.42 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3847, allocations: 64.89 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.385, allocations: 101.2 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.385, allocations: 0 / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002902/0.3853, allocations: 134.2 kB / 0.5372 GB, free: 7.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3853, allocations: 5.562 kB / 0.5372 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3853, allocations: 1.469 kB / 0.5373 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3853, allocations: 6.438 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3854, allocations: 25.98 kB / 0.5373 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3854, allocations: 5.469 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.3855, allocations: 21.12 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3855, allocations: 4.562 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001116/0.3857, allocations: 123.1 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.3857, allocations: 14.56 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.3857, allocations: 17.67 kB / 0.5375 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3857, allocations: 5 kB / 0.5375 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3858, allocations: 1.25 kB / 0.5375 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3858, allocations: 4 kB / 0.5375 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.386, allocations: 214.3 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.386, allocations: 0.7812 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.3861, allocations: 22.2 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3861, allocations: 0 / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3861, allocations: 1.219 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.3861, allocations: 5.188 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3861, allocations: 0 / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.3865, allocations: 193.7 kB / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.3866, allocations: 88.45 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3866, allocations: 1.219 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.3867, allocations: 11.44 kB / 0.538 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3867, allocations: 7.516 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3868, allocations: 3.438 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.3869, allocations: 146 kB / 0.5381 GB, free: 7.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.266e-06/0.3869, allocations: 0 / 0.5381 GB, free: 7.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.3872, allocations: 39.33 kB / 0.5382 GB, free: 7.008 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002042/0.3892, allocations: 1.01 MB / 0.5392 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.3895, allocations: 87.02 kB / 0.5392 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3895, allocations: 0 / 0.5392 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3896, allocations: 38.95 kB / 0.5393 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.39, allocations: 47.69 kB / 0.5393 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.3922, allocations: 1.75 MB / 0.541 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3926, allocations: 0.7199 MB / 0.5417 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.598e-05/0.3927, allocations: 19.62 kB / 0.5418 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.3928, allocations: 41.02 kB / 0.5418 GB, free: 3.902 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3928, allocations: 3.938 kB / 0.5418 GB, free: 3.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.4205, allocations: 3.826 MB / 0.5455 GB, free: 1.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/8.646, allocations: 8.938 kB / 0.5455 GB, free: 1.867 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)