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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 105 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 213.1 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 230.2 MB / 256.1 MB, free: 8.75 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2033/0.2033, allocations: 46.9 MB / 359.3 MB, free: 4.969 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002095/0.002095, allocations: 83.86 kB / 0.494 GB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2557, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002639/0.2584, allocations: 1.563 MB / 0.5599 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002157/0.2586, allocations: 75.7 kB / 0.56 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.2586, allocations: 4 kB / 0.56 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.079e-05/0.2587, allocations: 3.938 kB / 0.56 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.875e-05/0.2588, allocations: 3.938 kB / 0.56 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.2589, allocations: 23.91 kB / 0.56 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.952e-05/0.259, allocations: 39.86 kB / 0.5601 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.031e-05/0.2591, allocations: 9.828 kB / 0.5601 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.2591, allocations: 11.92 kB / 0.5601 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.2591, allocations: 19.92 kB / 0.5601 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.2592, allocations: 0 / 0.5601 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.2592, allocations: 4 kB / 0.5601 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.2592, allocations: 7.984 kB / 0.5601 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.2592, allocations: 15.88 kB / 0.5601 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.107e-05/0.2593, allocations: 39.77 kB / 0.5602 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2593, allocations: 7.984 kB / 0.5602 GB, free: 3.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2593, allocations: 0 / 0.5602 GB, free: 3.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.2593, allocations: 0 / 0.5602 GB, free: 3.371 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.0004336/0.2597, allocations: 347.4 kB / 0.5605 GB, free: 2.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2598, allocations: 12.03 kB / 0.5605 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.2598, allocations: 34.73 kB / 0.5606 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.2598, allocations: 12.89 kB / 0.5606 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.26, allocations: 188.2 kB / 0.5608 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.26, allocations: 384 / 0.5608 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.2601, allocations: 4.375 kB / 0.5608 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.2602, allocations: 72.81 kB / 0.5608 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2602, allocations: 3.938 kB / 0.5608 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.2602, allocations: 0 / 0.5608 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2602, allocations: 4 kB / 0.5608 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.422e-05/0.2603, allocations: 23.92 kB / 0.5609 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.2608, allocations: 461.1 kB / 0.5613 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.2609, allocations: 38.56 kB / 0.5613 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.261, allocations: 12.86 kB / 0.5614 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.261, allocations: 0 / 0.5614 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.261, allocations: 34.56 kB / 0.5614 GB, free: 1.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.261, allocations: 0 / 0.5614 GB, free: 1.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004062/0.2614, allocations: 113.6 kB / 0.5615 GB, free: 1.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.2615, allocations: 51.41 kB / 0.5615 GB, free: 1.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.2616, allocations: 113.8 kB / 0.5616 GB, free: 1.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2616, allocations: 25.7 kB / 0.5617 GB, free: 1.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.2616, allocations: 100.1 kB / 0.5618 GB, free: 1.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.2617, allocations: 15.78 kB / 0.5618 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.2617, allocations: 25.72 kB / 0.5618 GB, free: 1.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2618, allocations: 322.8 kB / 0.5621 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.2619, allocations: 19.92 kB / 0.5621 GB, free: 1.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.2619, allocations: 39.42 kB / 0.5622 GB, free: 1.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.262, allocations: 63.69 kB / 0.5622 GB, free: 1.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.262, allocations: 0 / 0.5622 GB, free: 1.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001553/0.2622, allocations: 85.59 kB / 0.5623 GB, free: 0.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2622, allocations: 4 kB / 0.5623 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.2622, allocations: 4 kB / 0.5623 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2622, allocations: 0 / 0.5623 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.2623, allocations: 11.98 kB / 0.5623 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2623, allocations: 8.094 kB / 0.5623 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.2623, allocations: 4.375 kB / 0.5623 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2623, allocations: 4 kB / 0.5624 GB, free: 0.8828 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 7.552e-05/0.2624, allocations: 121.7 kB / 0.5625 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.2624, allocations: 3.953 kB / 0.5625 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.2625, allocations: 11.84 kB / 0.5625 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2625, allocations: 0 / 0.5625 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2625, allocations: 3.984 kB / 0.5625 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2625, allocations: 0 / 0.5625 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.2626, allocations: 173.6 kB / 0.5627 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2626, allocations: 4 kB / 0.5627 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.2627, allocations: 12 kB / 0.5627 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2627, allocations: 0 / 0.5627 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2627, allocations: 0 / 0.5627 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2627, allocations: 0 / 0.5627 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2627, allocations: 4 kB / 0.5627 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.263, allocations: 183.4 kB / 0.5628 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.263, allocations: 81.06 kB / 0.5629 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.263, allocations: 4.031 kB / 0.5629 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/0.2631, allocations: 3.984 kB / 0.5629 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.2631, allocations: 4 kB / 0.5629 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2631, allocations: 4 kB / 0.5629 GB, free: 188 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.2632, allocations: 91.27 kB / 0.563 GB, free: 96 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2632, allocations: 0 / 0.563 GB, free: 96 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.2634, allocations: 11.88 kB / 0.563 GB, free: 84 kB / 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.0005339/0.2639, allocations: 0.7086 MB / 0.5637 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.2641, allocations: 31.98 kB / 0.5638 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2641, allocations: 0 / 0.5638 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.406e-05/0.2641, allocations: 24.17 kB / 0.5638 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.2644, allocations: 10.5 kB / 0.5638 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.2657, allocations: 1.375 MB / 0.5651 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.2659, allocations: 0.6885 MB / 0.5658 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.51e-05/0.266, allocations: 0 / 0.5658 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.266, allocations: 19.66 kB / 0.5658 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.266, allocations: 0 / 0.5658 GB, free: 13.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.2881, allocations: 1.494 MB / 0.5673 GB, free: 11.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.176, allocations: 10.09 kB / 0.5673 GB, free: 11.64 MB / 414.1 MB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.649644531993545]