Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001459, allocations: 199.9 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.406/1.406, allocations: 227.4 MB / 247 MB, free: 10.4 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.2303/0.2303, 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.002203/0.002203, allocations: 75.88 kB / 481 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3341, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003625/0.3378, allocations: 1.727 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3396, allocations: 1.025 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.3397, allocations: 0 / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.34, allocations: 46.38 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.3404, allocations: 92.34 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.3406, allocations: 74.94 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.3408, allocations: 108.9 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3409, allocations: 6.875 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.341, allocations: 48.28 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.6e-05/0.3411, allocations: 37.41 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3411, allocations: 4.125 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3413, allocations: 39.48 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.3413, allocations: 18.8 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.3414, allocations: 39.97 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3416, allocations: 121.8 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3417, allocations: 3.938 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3417, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3417, allocations: 5.312 kB / 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.0006071/0.3423, allocations: 428.8 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3423, allocations: 8.25 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.3424, allocations: 32.12 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.3424, allocations: 10.39 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.3428, allocations: 217.3 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3428, allocations: 1.75 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.3428, allocations: 5.312 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.343, allocations: 59.36 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.343, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.343, allocations: 4 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.343, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.3431, allocations: 21.59 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.3435, allocations: 292.2 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3437, allocations: 60.48 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.3438, allocations: 26.47 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3438, allocations: 1.375 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.344, allocations: 65.14 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.344, allocations: 0 / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000557/0.3446, allocations: 173.7 kB / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3446, allocations: 52.84 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.3448, allocations: 205.4 kB / 0.5356 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3449, allocations: 26.98 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.3449, allocations: 104 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.345, allocations: 23.64 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.345, allocations: 24.95 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3452, allocations: 322.5 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.3453, allocations: 18.91 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.3454, allocations: 43.23 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3455, allocations: 62.95 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3455, allocations: 1.062 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002054/0.3457, allocations: 102.6 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3458, allocations: 5.531 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3458, allocations: 9.172 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3458, allocations: 1.188 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.3459, allocations: 16.38 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3459, allocations: 1.312 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.346, allocations: 10.28 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.346, allocations: 7.312 kB / 0.5363 GB, free: 8.578 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.3461, allocations: 130.2 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.3461, allocations: 12.66 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.3462, allocations: 18.52 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3462, allocations: 2.156 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3462, allocations: 0 / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3462, allocations: 7.938 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.3468, allocations: 395.3 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3468, allocations: 0 / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.3468, allocations: 12.42 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3468, allocations: 3.938 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3469, allocations: 2.625 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3469, allocations: 1.5 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3469, allocations: 80 / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.3472, allocations: 208.9 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.3472, allocations: 87.58 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.3473, allocations: 9.422 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.3473, allocations: 3.094 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.3474, allocations: 2.594 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.3474, allocations: 11.17 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.3476, allocations: 149.6 kB / 0.5373 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3476, allocations: 0 / 0.5373 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.3478, allocations: 24.42 kB / 0.5374 GB, free: 7.617 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.002217/0.3501, allocations: 1.096 MB / 0.5384 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3503, allocations: 57.83 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3503, allocations: 1.125 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/0.3504, allocations: 32.98 kB / 0.5385 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3507, allocations: 36.27 kB / 0.5386 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3526, allocations: 1.641 MB / 0.5402 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.353, allocations: 0.7018 MB / 0.5408 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.334e-05/0.3531, allocations: 26.59 kB / 0.5409 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.3531, allocations: 34.64 kB / 0.5409 GB, free: 4.516 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3531, allocations: 1.062 kB / 0.5409 GB, free: 4.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.3787, allocations: 3.457 MB / 0.5443 GB, free: 2.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.559, allocations: 11.41 kB / 0.5443 GB, free: 2.648 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)