Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 117.6 kB / 17.79 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.001817/0.001817, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, 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.2148/0.2148, allocations: 46.12 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.002494/0.002494, allocations: 79.86 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3418, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002957/0.3448, allocations: 1.695 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3464, allocations: 0.9932 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.222e-05/0.3465, allocations: 1.375 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.3469, allocations: 67.09 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.3472, allocations: 105.9 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3474, allocations: 73.62 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.3476, allocations: 111.6 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.3477, allocations: 8.344 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.574e-05/0.3478, allocations: 43.03 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3479, allocations: 44.45 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3479, allocations: 4.125 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.348, allocations: 32.58 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.348, allocations: 18.55 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.3481, allocations: 35.64 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.3483, allocations: 116 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3483, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3483, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3483, allocations: 1.375 kB / 0.5339 GB, free: 10.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005698/0.3489, allocations: 410.2 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.349, allocations: 10 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.349, allocations: 36 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.3491, allocations: 13.53 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.3494, allocations: 208.8 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3494, allocations: 4.375 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3494, allocations: 6.438 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3495, allocations: 54.98 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3496, allocations: 0 / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3496, allocations: 5.281 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3496, allocations: 0 / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.3497, allocations: 16.48 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.3499, allocations: 183.7 kB / 0.5348 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.35, allocations: 61.72 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.3501, allocations: 17.73 kB / 0.5349 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3501, allocations: 5.078 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.3503, allocations: 71.59 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.3503, allocations: 1.094 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002976/0.3506, allocations: 94.78 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3507, allocations: 52.84 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3509, allocations: 191.8 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3509, allocations: 30.77 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.351, allocations: 100.8 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.351, allocations: 18.16 kB / 0.5355 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.3511, allocations: 23.41 kB / 0.5355 GB, free: 9.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3513, allocations: 330.2 kB / 0.5358 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.3513, allocations: 15.86 kB / 0.5358 GB, free: 8.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.3514, allocations: 26.95 kB / 0.5358 GB, free: 8.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.3515, allocations: 39.62 kB / 0.5359 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3515, allocations: 3.938 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000164/0.3517, allocations: 92.64 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3517, allocations: 8.938 kB / 0.536 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3517, allocations: 3.938 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3517, allocations: 1.5 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.3518, allocations: 9 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.3518, allocations: 1.188 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.3519, allocations: 6.531 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3519, allocations: 1.312 kB / 0.536 GB, free: 8.836 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 (7): * Single equations (assignments): 7 * 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.0001116/0.352, allocations: 130.8 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.352, allocations: 9.328 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.3521, allocations: 21.48 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3521, allocations: 1.656 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3521, allocations: 0 / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3521, allocations: 0 / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3523, allocations: 188.8 kB / 0.5363 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3523, allocations: 1.375 kB / 0.5363 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.3523, allocations: 6.734 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3523, allocations: 0 / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3523, allocations: 1.375 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3523, allocations: 1.375 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3523, allocations: 0 / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.3525, allocations: 117.9 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.3526, allocations: 83.81 kB / 0.5365 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3526, allocations: 1.375 kB / 0.5365 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.3527, allocations: 5.312 kB / 0.5365 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.3527, allocations: 5.359 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.3527, allocations: 2.75 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3529, allocations: 152.1 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3529, allocations: 0 / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.3531, allocations: 21.69 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001854/0.3549, allocations: 0.9491 MB / 0.5376 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.3551, allocations: 47.55 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3551, allocations: 0 / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.3552, allocations: 19.77 kB / 0.5377 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.3555, allocations: 24.16 kB / 0.5377 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.3572, allocations: 1.505 MB / 0.5392 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.3576, allocations: 0.7047 MB / 0.5399 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.3576, allocations: 7.594 kB / 0.5399 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.3577, allocations: 34.11 kB / 0.5399 GB, free: 5.273 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3577, allocations: 0 / 0.5399 GB, free: 5.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3813, allocations: 3.166 MB / 0.543 GB, free: 3.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.433, allocations: 11.06 kB / 0.543 GB, free: 3.543 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)