Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 122.8 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.001484/0.001484, allocations: 202 kB / 18.73 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.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.47 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.2315/0.2315, allocations: 46.12 MB / 344.3 MB, free: 11.47 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.002258/0.002259, allocations: 75.88 kB / 481 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3256, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.004111/0.3298, allocations: 1.738 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.3321, allocations: 1.016 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.3322, allocations: 6.031 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.3326, allocations: 44.44 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004245/0.3331, allocations: 94.7 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.3334, allocations: 79.81 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.3336, allocations: 101.3 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3337, allocations: 18.28 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.3339, allocations: 40.08 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.334, allocations: 30.02 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.334, allocations: 3.812 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.3341, allocations: 43.56 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.3342, allocations: 27.67 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.3343, allocations: 35.77 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.3346, allocations: 123 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3346, allocations: 4 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3346, allocations: 4 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3347, allocations: 1.031 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.0006961/0.3354, allocations: 429.7 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3354, allocations: 10.38 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.3355, allocations: 30.75 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.3355, allocations: 14.16 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.3359, allocations: 218 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3359, allocations: 4.375 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.336, allocations: 7.938 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3362, allocations: 57.05 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3362, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3362, allocations: 1 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3362, allocations: 1.031 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3363, allocations: 18.02 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.3368, allocations: 292.1 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.3371, allocations: 65.47 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.3372, allocations: 22.14 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3372, allocations: 1.344 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.3374, allocations: 80.73 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.3374, allocations: 0 / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007221/0.3382, allocations: 175.2 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.3382, allocations: 59.34 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.3386, allocations: 212 kB / 0.5356 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3386, allocations: 27.08 kB / 0.5357 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.3387, allocations: 105.6 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.3387, allocations: 19.98 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.3388, allocations: 24.58 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.339, allocations: 327 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.3391, allocations: 19 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.892e-05/0.3392, allocations: 35.45 kB / 0.5362 GB, free: 8.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3394, allocations: 62.77 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3394, allocations: 0 / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002775/0.3397, allocations: 104.2 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3397, allocations: 5.5 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3398, allocations: 9.406 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3398, allocations: 0 / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3399, allocations: 16.94 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3399, allocations: 1.062 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.34, allocations: 18.45 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.34, allocations: 3.594 kB / 0.5364 GB, free: 8.582 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.000142/0.3402, allocations: 122.8 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.3402, allocations: 14.56 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.3403, allocations: 18.98 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.3403, allocations: 5.156 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3404, allocations: 0 / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.3404, allocations: 3.938 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00067/0.3411, allocations: 396.7 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3411, allocations: 0 / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.3411, allocations: 7.812 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3411, allocations: 5.188 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3412, allocations: 1.281 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3412, allocations: 5.375 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.3412, allocations: 4.203 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.3416, allocations: 213.6 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.3416, allocations: 87.84 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.3417, allocations: 5.969 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.3418, allocations: 5.5 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.3419, allocations: 11.67 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3419, allocations: 3.25 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.3421, allocations: 158.5 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3421, allocations: 1.312 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004926/0.3426, allocations: 20.72 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.002966/0.3456, allocations: 1.094 MB / 0.5385 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3459, allocations: 58.81 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3459, allocations: 4.062 kB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.346, allocations: 29.17 kB / 0.5386 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.0005466/0.3466, allocations: 40.78 kB / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.3493, allocations: 1.682 MB / 0.5403 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.3498, allocations: 0.7103 MB / 0.5409 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.116e-05/0.3499, allocations: 21.88 kB / 0.541 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.35, allocations: 39.17 kB / 0.541 GB, free: 4.48 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.35, allocations: 0 / 0.541 GB, free: 4.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.3835, allocations: 3.515 MB / 0.5444 GB, free: 2.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.62, allocations: 11.88 kB / 0.5445 GB, free: 2.59 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)