Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.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.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.05612/0.05612, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.06895/0.06895, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.77/3.77, 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.2706/0.2706, allocations: 46.13 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.002321/0.002321, allocations: 75.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4529, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003289/0.4562, allocations: 1.559 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002678/0.4565, allocations: 80.56 kB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.4566, allocations: 1.25 kB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.483e-05/0.4566, allocations: 9.234 kB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.37e-05/0.4567, allocations: 3.938 kB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.4568, allocations: 22.36 kB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.4569, allocations: 36.97 kB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.457, allocations: 13.27 kB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.4571, allocations: 13.78 kB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.4572, allocations: 18.86 kB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.4572, allocations: 1.875 kB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.4572, allocations: 2.125 kB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.4572, allocations: 1.594 kB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.4573, allocations: 19.16 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.4574, allocations: 38.73 kB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4574, allocations: 0 / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4574, allocations: 0 / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4574, allocations: 0 / 0.5324 GB, free: 11.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000519/0.4579, allocations: 359.3 kB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.458, allocations: 9.125 kB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.458, allocations: 38.16 kB / 0.5328 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.4581, allocations: 8.891 kB / 0.5328 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.4584, allocations: 181.6 kB / 0.5329 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.4584, allocations: 384 / 0.5329 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.4584, allocations: 7.938 kB / 0.5329 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.4586, allocations: 71.16 kB / 0.533 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4586, allocations: 7.875 kB / 0.533 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4586, allocations: 4 kB / 0.533 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4586, allocations: 0 / 0.533 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.865e-05/0.4587, allocations: 22.23 kB / 0.533 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.4593, allocations: 455 kB / 0.5335 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.4595, allocations: 39.06 kB / 0.5335 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.4596, allocations: 15.73 kB / 0.5335 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4596, allocations: 1.375 kB / 0.5335 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4596, allocations: 34.64 kB / 0.5336 GB, free: 10.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.477e-06/0.4596, allocations: 7.984 kB / 0.5336 GB, free: 10.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004838/0.4601, allocations: 104.8 kB / 0.5337 GB, free: 10.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.4602, allocations: 55.41 kB / 0.5337 GB, free: 10.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4603, allocations: 114.7 kB / 0.5338 GB, free: 10.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4603, allocations: 25.7 kB / 0.5339 GB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.4604, allocations: 95.34 kB / 0.534 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.4605, allocations: 17 kB / 0.534 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.4605, allocations: 27.48 kB / 0.534 GB, free: 10.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4607, allocations: 320.6 kB / 0.5343 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.4607, allocations: 12.23 kB / 0.5343 GB, free: 9.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.028e-05/0.4608, allocations: 46.67 kB / 0.5344 GB, free: 9.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.461, allocations: 59.3 kB / 0.5344 GB, free: 9.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.461, allocations: 0 / 0.5344 GB, free: 9.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001767/0.4611, allocations: 85.56 kB / 0.5345 GB, free: 9.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4612, allocations: 5.344 kB / 0.5345 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4612, allocations: 1.188 kB / 0.5345 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4612, allocations: 1.312 kB / 0.5345 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.4613, allocations: 17.95 kB / 0.5345 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.4613, allocations: 5.25 kB / 0.5345 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.4613, allocations: 2.906 kB / 0.5345 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.4614, allocations: 2.562 kB / 0.5345 GB, free: 9.746 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: 1 (integrator.local_reset) * 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.0001019/0.4615, allocations: 117.7 kB / 0.5346 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.4615, allocations: 6.109 kB / 0.5346 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.4615, allocations: 17.14 kB / 0.5347 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4615, allocations: 1.344 kB / 0.5347 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4616, allocations: 0 / 0.5347 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4616, allocations: 4 kB / 0.5347 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.4618, allocations: 171.2 kB / 0.5348 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4618, allocations: 4 kB / 0.5348 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.4619, allocations: 8.469 kB / 0.5348 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4619, allocations: 5.109 kB / 0.5349 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.4619, allocations: 0 / 0.5349 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4619, allocations: 1.188 kB / 0.5349 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4619, allocations: 0 / 0.5349 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.4622, allocations: 182.6 kB / 0.535 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.4622, allocations: 82.28 kB / 0.5351 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4623, allocations: 5.141 kB / 0.5351 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.006e-05/0.4623, allocations: 2.375 kB / 0.5351 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.4624, allocations: 1.516 kB / 0.5351 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.4624, allocations: 1.094 kB / 0.5351 GB, free: 9.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.453e-05/0.4624, allocations: 91.77 kB / 0.5352 GB, free: 9.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4624, allocations: 0 / 0.5352 GB, free: 9.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.4627, allocations: 13.56 kB / 0.5352 GB, free: 9.027 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005825/0.4633, allocations: 0.7084 MB / 0.5359 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.4634, allocations: 40.3 kB / 0.5359 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.4634, allocations: 4.25 kB / 0.5359 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.4635, allocations: 22.52 kB / 0.536 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.4638, allocations: 9.703 kB / 0.536 GB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4653, allocations: 1.366 MB / 0.5373 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.4656, allocations: 0.6861 MB / 0.538 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.4657, allocations: 2.75 kB / 0.538 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.4657, allocations: 26.11 kB / 0.538 GB, free: 6.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4657, allocations: 3.938 kB / 0.538 GB, free: 6.246 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.5069, allocations: 1.509 MB / 0.5395 GB, free: 5.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.5, allocations: 9.906 kB / 0.5395 GB, free: 5.41 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1)