Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 202 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.469/1.469, 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.2262/0.2262, allocations: 46.12 MB / 344.4 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.002253/0.002253, allocations: 79.88 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3845, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00354/0.3881, allocations: 1.735 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3898, allocations: 1.016 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.3899, allocations: 1.031 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3903, allocations: 38.62 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.3906, allocations: 103 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.3909, allocations: 83.39 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.391, allocations: 97.12 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3912, allocations: 6.656 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.3913, allocations: 48.17 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.3913, allocations: 33.7 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3914, allocations: 7.438 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3915, allocations: 41.02 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.3915, allocations: 25.38 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.3916, allocations: 37.11 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.3919, allocations: 117.2 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3919, allocations: 4 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3919, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3919, allocations: 1.344 kB / 0.534 GB, free: 10.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006627/0.3926, allocations: 420.4 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3926, allocations: 13 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.3927, allocations: 36.62 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.3927, allocations: 10.55 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.3931, allocations: 220.2 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3931, allocations: 10.3 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3931, allocations: 5.812 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3933, allocations: 53.42 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3933, allocations: 1.031 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3933, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3933, allocations: 1.094 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.3934, allocations: 22.42 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.3939, allocations: 294.6 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.3941, allocations: 54.56 kB / 0.5351 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.3941, allocations: 21.31 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3942, allocations: 5.031 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.3944, allocations: 66.02 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.3944, allocations: 3.938 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000608/0.395, allocations: 170.7 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.3951, allocations: 51.41 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3953, allocations: 205.4 kB / 0.5356 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3953, allocations: 27.08 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.3954, allocations: 112.2 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3954, allocations: 19.92 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.3955, allocations: 28.58 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3957, allocations: 323 kB / 0.5361 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.3957, allocations: 23.06 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.3958, allocations: 39.39 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.396, allocations: 62.52 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.396, allocations: 3.938 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001905/0.3962, allocations: 104.2 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3962, allocations: 9.484 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3962, allocations: 0 / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3962, allocations: 1.375 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.3963, allocations: 17.69 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3963, allocations: 0 / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.3964, allocations: 10.47 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3964, allocations: 10.27 kB / 0.5363 GB, free: 8.59 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 (10): * Single equations (assignments): 10 * 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.0001187/0.3965, allocations: 119.8 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3966, allocations: 13.53 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.3966, allocations: 18.8 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3966, allocations: 1.094 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3966, allocations: 0 / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3967, allocations: 3.938 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.3972, allocations: 394.7 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3972, allocations: 1.125 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.3972, allocations: 10.77 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3972, allocations: 5.344 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3972, allocations: 5.312 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3973, allocations: 1.25 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3973, allocations: 1.281 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3975, allocations: 204.6 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.3976, allocations: 91.89 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3976, allocations: 9.609 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.3977, allocations: 1.75 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.3977, allocations: 3.25 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3978, allocations: 7.734 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.3979, allocations: 144.5 kB / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3979, allocations: 0 / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3982, allocations: 33.08 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002143/0.4003, allocations: 1.107 MB / 0.5384 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.4005, allocations: 58.88 kB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4005, allocations: 0 / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.08e-05/0.4006, allocations: 29.02 kB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.401, allocations: 31.36 kB / 0.5386 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.403, allocations: 1.652 MB / 0.5402 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.4034, allocations: 0.7072 MB / 0.5409 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.4034, allocations: 21.17 kB / 0.5409 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.4035, allocations: 35.52 kB / 0.5409 GB, free: 4.523 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4035, allocations: 3.938 kB / 0.5409 GB, free: 4.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.4312, allocations: 3.457 MB / 0.5443 GB, free: 2.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.431, allocations: 3.469 kB / 0.5443 GB, free: 2.66 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)