Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45",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: 119 kB / 17.78 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.001513/0.001513, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247 MB, free: 10.43 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.2214/0.2214, allocations: 46.11 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.002208/0.002208, allocations: 79.86 kB / 481 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3116, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003101/0.3148, allocations: 1.734 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.3164, allocations: 1.017 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.3165, allocations: 1.375 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.3168, allocations: 40.14 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.3171, allocations: 100.4 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.3173, allocations: 86.84 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.3175, allocations: 100.8 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3176, allocations: 6.469 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3178, allocations: 44.03 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.324e-05/0.3178, allocations: 38.16 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.3179, allocations: 3.812 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.318, allocations: 48.09 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.3181, allocations: 18.8 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.3181, allocations: 36.47 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3183, allocations: 126.7 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3184, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3184, allocations: 1.219 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3184, allocations: 0 / 0.534 GB, free: 10.79 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.0005883/0.319, allocations: 425.8 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.319, allocations: 9.312 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.3191, allocations: 39.95 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.3191, allocations: 10.05 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.3194, allocations: 228.4 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3195, allocations: 2.906 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3195, allocations: 5.25 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3196, allocations: 54.42 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3197, allocations: 0 / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3197, allocations: 1 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3197, allocations: 1.062 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.3198, allocations: 22.52 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.3202, allocations: 294.9 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.3203, allocations: 57.77 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.149e-05/0.3204, allocations: 22.03 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3204, allocations: 9.125 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.3206, allocations: 64.98 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3206, allocations: 0 / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005347/0.3212, allocations: 183.8 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3212, allocations: 55.39 kB / 0.5354 GB, free: 9.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.3214, allocations: 208.5 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3215, allocations: 27.08 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.3216, allocations: 109.6 kB / 0.5357 GB, free: 9.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.3216, allocations: 19.98 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.3217, allocations: 24.58 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3218, allocations: 329.5 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.3219, allocations: 18.98 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.322, allocations: 39.39 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.3221, allocations: 59.84 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3221, allocations: 0 / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.3223, allocations: 108.1 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3223, allocations: 5.5 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3223, allocations: 0 / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3223, allocations: 1.375 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.3224, allocations: 17.75 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3224, allocations: 3.984 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.3225, allocations: 14.56 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3225, allocations: 6.781 kB / 0.5364 GB, free: 8.547 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.0001123/0.3226, allocations: 126.3 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.3227, allocations: 17.67 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.3227, allocations: 14.94 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3227, allocations: 2.188 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3227, allocations: 0 / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3228, allocations: 3.938 kB / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.3232, allocations: 399.6 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3233, allocations: 1.062 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.3233, allocations: 7.938 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3233, allocations: 5 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3233, allocations: 2.188 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.3233, allocations: 7.984 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3233, allocations: 5 kB / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.3236, allocations: 213.2 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.3237, allocations: 84.41 kB / 0.5372 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3237, allocations: 8.969 kB / 0.5372 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.3238, allocations: 2.344 kB / 0.5372 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.3238, allocations: 11.97 kB / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.3238, allocations: 2.469 kB / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.324, allocations: 163.1 kB / 0.5374 GB, free: 7.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.324, allocations: 0 / 0.5374 GB, free: 7.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.3242, allocations: 25.27 kB / 0.5374 GB, free: 7.574 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.00228/0.3265, allocations: 1.086 MB / 0.5385 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.3267, allocations: 61.36 kB / 0.5385 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.3268, allocations: 1.188 kB / 0.5385 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/0.3268, allocations: 28.91 kB / 0.5386 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3272, allocations: 43.08 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.3291, allocations: 1.689 MB / 0.5403 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.3295, allocations: 0.7075 MB / 0.5409 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.643e-05/0.3296, allocations: 21.92 kB / 0.541 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.3297, allocations: 39.8 kB / 0.541 GB, free: 4.445 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3297, allocations: 0 / 0.541 GB, free: 4.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.3558, allocations: 3.506 MB / 0.5444 GB, free: 2.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.555, allocations: 14.06 kB / 0.5444 GB, free: 2.562 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)