Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001274, allocations: 118.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.001267/0.001267, allocations: 198 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.557/1.557, 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.2456/0.2456, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002249/0.002249, allocations: 83.86 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3552, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00313/0.3584, allocations: 1.832 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.361, allocations: 1.691 MB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.3611, allocations: 6.281 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.3614, allocations: 53.7 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.3618, allocations: 134.7 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.362, allocations: 107.9 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.3623, allocations: 201 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.748e-05/0.3623, allocations: 17.58 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3625, allocations: 83.81 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.3627, allocations: 83.83 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.3627, allocations: 9.625 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.3629, allocations: 117.7 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.363, allocations: 33.47 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.3631, allocations: 70.66 kB / 0.535 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.3634, allocations: 221.2 kB / 0.5352 GB, free: 9.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3635, allocations: 1.375 kB / 0.5352 GB, free: 9.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3635, allocations: 4 kB / 0.5352 GB, free: 9.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3635, allocations: 0 / 0.5352 GB, free: 9.852 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006998/0.3642, allocations: 0.4982 MB / 0.5357 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3642, allocations: 9.625 kB / 0.5357 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.3643, allocations: 36.12 kB / 0.5357 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.3643, allocations: 17.09 kB / 0.5358 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.3647, allocations: 255 kB / 0.536 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3647, allocations: 9.562 kB / 0.536 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3648, allocations: 11.17 kB / 0.536 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.365, allocations: 100.3 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.365, allocations: 0 / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.365, allocations: 1.062 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.365, allocations: 1.125 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.3651, allocations: 32.03 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.3654, allocations: 221.1 kB / 0.5364 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.3657, allocations: 110 kB / 0.5365 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.797e-05/0.3658, allocations: 41.58 kB / 0.5365 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3658, allocations: 2.188 kB / 0.5365 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.3661, allocations: 112.1 kB / 0.5366 GB, free: 8.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3661, allocations: 0 / 0.5366 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004564/0.3665, allocations: 171.7 kB / 0.5368 GB, free: 8.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3666, allocations: 130.7 kB / 0.5369 GB, free: 8.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.3669, allocations: 239.1 kB / 0.5371 GB, free: 8.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.367, allocations: 35.92 kB / 0.5372 GB, free: 7.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.367, allocations: 114.8 kB / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.3671, allocations: 32.38 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.3672, allocations: 27.94 kB / 0.5373 GB, free: 7.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3673, allocations: 331.6 kB / 0.5376 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.3674, allocations: 30.73 kB / 0.5377 GB, free: 7.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3675, allocations: 78.78 kB / 0.5377 GB, free: 7.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.3677, allocations: 90.52 kB / 0.5378 GB, free: 7.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3677, allocations: 3.938 kB / 0.5378 GB, free: 7.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002774/0.368, allocations: 138.3 kB / 0.538 GB, free: 7.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.368, allocations: 5.656 kB / 0.538 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.368, allocations: 5.141 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3681, allocations: 1.188 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3682, allocations: 17.38 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3682, allocations: 2.219 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.083e-05/0.3683, allocations: 17.06 kB / 0.538 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3683, allocations: 7.562 kB / 0.538 GB, free: 7.242 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001289/0.3684, allocations: 145.5 kB / 0.5382 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.3685, allocations: 16.91 kB / 0.5382 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.3685, allocations: 14.59 kB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3685, allocations: 1.938 kB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.3686, allocations: 5.359 kB / 0.5382 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3686, allocations: 0 / 0.5382 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.3688, allocations: 227.9 kB / 0.5384 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3688, allocations: 0 / 0.5384 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.3688, allocations: 11 kB / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3689, allocations: 1.5 kB / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3689, allocations: 9.328 kB / 0.5384 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3689, allocations: 0.8438 kB / 0.5384 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3689, allocations: 1.312 kB / 0.5384 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.3692, allocations: 167.7 kB / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.3693, allocations: 104.8 kB / 0.5387 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.3693, allocations: 2.656 kB / 0.5387 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3694, allocations: 7.625 kB / 0.5387 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.3694, allocations: 12.05 kB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3695, allocations: 4.375 kB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.3697, allocations: 183.6 kB / 0.5389 GB, free: 6.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3697, allocations: 3.938 kB / 0.5389 GB, free: 6.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.37, allocations: 53.52 kB / 0.539 GB, free: 6.422 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002219/0.3722, allocations: 1.108 MB / 0.54 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.3725, allocations: 78.84 kB / 0.5401 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3725, allocations: 5.031 kB / 0.5401 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.3726, allocations: 39.23 kB / 0.5402 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.373, allocations: 60.75 kB / 0.5402 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.3755, allocations: 1.886 MB / 0.5421 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3759, allocations: 0.7141 MB / 0.5427 GB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.376, allocations: 40.03 kB / 0.5428 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3761, allocations: 59.28 kB / 0.5428 GB, free: 3.184 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3761, allocations: 0 / 0.5428 GB, free: 3.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.407, allocations: 5.29 MB / 0.548 GB, free: 15.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/8.76, allocations: 11.02 kB / 0.548 GB, free: 15.59 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1)