Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001856/0.001856, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 205.2 kB / 18.74 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.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.2328/0.2328, allocations: 46.13 MB / 344.4 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.002282/0.002282, allocations: 83.88 kB / 481 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3802, allocations: 62.44 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00389/0.3841, allocations: 1.94 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3861, allocations: 1.058 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3862, allocations: 5.719 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.3865, allocations: 45.3 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.3869, allocations: 99.25 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.3871, allocations: 93.7 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.3874, allocations: 149.2 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3875, allocations: 27.31 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3876, allocations: 60.33 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3878, allocations: 52.08 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.3878, allocations: 8.25 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3879, allocations: 46.23 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.388, allocations: 26.78 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.3881, allocations: 55.94 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.3883, allocations: 152.5 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3883, allocations: 0 / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3884, allocations: 0 / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3884, allocations: 0 / 0.5344 GB, free: 10.48 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.0007337/0.3891, allocations: 493.5 kB / 0.5349 GB, free: 9.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3892, allocations: 9.625 kB / 0.5349 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.3892, allocations: 37.5 kB / 0.5349 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.123e-05/0.3893, allocations: 15.72 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.3897, allocations: 241 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.3897, allocations: 7.125 kB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.3897, allocations: 8.062 kB / 0.5352 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.39, allocations: 110.4 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.39, allocations: 3.938 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3901, allocations: 1.375 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3901, allocations: 6.75 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.3903, allocations: 58.19 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.3911, allocations: 0.4987 MB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.3915, allocations: 96.19 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3916, allocations: 35.81 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.3916, allocations: 2.219 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.3919, allocations: 81.28 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.983e-06/0.3919, allocations: 4 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004882/0.3924, allocations: 147.1 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3924, allocations: 52.47 kB / 0.5362 GB, free: 8.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.3927, allocations: 207.4 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3927, allocations: 26.89 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3928, allocations: 119.2 kB / 0.5366 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.3929, allocations: 31.2 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.3929, allocations: 30.88 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3931, allocations: 327.5 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.3932, allocations: 32.02 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3934, allocations: 63.8 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.3936, allocations: 94.25 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3936, allocations: 0 / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002998/0.3939, allocations: 141.9 kB / 0.5372 GB, free: 7.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3939, allocations: 11.94 kB / 0.5373 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3939, allocations: 2.5 kB / 0.5373 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3939, allocations: 5.188 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3941, allocations: 26.11 kB / 0.5373 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3941, allocations: 2.688 kB / 0.5373 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.3941, allocations: 15.91 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3942, allocations: 8.688 kB / 0.5373 GB, free: 7.789 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.0001193/0.3943, allocations: 122.7 kB / 0.5374 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.3943, allocations: 14.44 kB / 0.5374 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.3944, allocations: 22.73 kB / 0.5375 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3944, allocations: 5.156 kB / 0.5375 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3944, allocations: 0 / 0.5375 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3944, allocations: 1.344 kB / 0.5375 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.3946, allocations: 217.3 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3947, allocations: 1.281 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.3947, allocations: 13.14 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3948, allocations: 1.562 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3948, allocations: 5.219 kB / 0.5377 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3948, allocations: 3.938 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3948, allocations: 4 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.3952, allocations: 181.9 kB / 0.5379 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.3953, allocations: 88.27 kB / 0.538 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3953, allocations: 1.156 kB / 0.538 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.3954, allocations: 8.281 kB / 0.538 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.3954, allocations: 11.17 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3954, allocations: 7.438 kB / 0.538 GB, free: 7.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3956, allocations: 146.4 kB / 0.5381 GB, free: 7.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3956, allocations: 7.875 kB / 0.5381 GB, free: 7.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.3958, allocations: 31.8 kB / 0.5382 GB, free: 7.016 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.002045/0.3979, allocations: 1.016 MB / 0.5392 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3982, allocations: 78.77 kB / 0.5392 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3982, allocations: 1.125 kB / 0.5392 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3983, allocations: 37.58 kB / 0.5393 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.3986, allocations: 46.97 kB / 0.5393 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4008, allocations: 1.758 MB / 0.541 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.4012, allocations: 0.7155 MB / 0.5417 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.158e-05/0.4013, allocations: 16.3 kB / 0.5417 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.4014, allocations: 52.14 kB / 0.5418 GB, free: 3.902 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4014, allocations: 0 / 0.5418 GB, free: 3.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.4283, allocations: 3.827 MB / 0.5455 GB, free: 1.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.675, allocations: 9.031 kB / 0.5455 GB, free: 1.867 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)