Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.001316/0.001316, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001414/0.001414, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001909/0.001909, allocations: 60.78 kB / 378.5 MB, free: 3.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3207, allocations: 53.38 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00904/0.3298, allocations: 7.148 MB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006465/0.3362, allocations: 3.218 MB / 442.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008259/0.3371, allocations: 43.81 kB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.3388, allocations: 0.8015 MB / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.3418, allocations: 1.316 MB / 444.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3429, allocations: 0.4911 MB / 444.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003392/0.3463, allocations: 2.554 MB / 447.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.3477, allocations: 1.086 MB / 448.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.3488, allocations: 0.7667 MB / 449.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.3505, allocations: 1.207 MB / 450.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003082/0.3508, allocations: 136 kB / 450.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.3524, allocations: 0.9008 MB / 451.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000994/0.3534, allocations: 1.005 MB / 452.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.3546, allocations: 1.184 MB / 453.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004614/0.3593, allocations: 3.945 MB / 457.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3593, allocations: 4 kB / 457.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3593, allocations: 0 / 457.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.864e-05/0.3593, allocations: 0 / 457.7 MB, free: 13.02 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005362/0.3647, allocations: 2.88 MB / 460.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3647, allocations: 8.031 kB / 460.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005551/0.3653, allocations: 454 kB / 461.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/0.3709, allocations: 1.664 MB / 462.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.3739, allocations: 1.481 MB / 464.2 MB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.374, allocations: 118.8 kB / 464.3 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003353/0.3743, allocations: 155.8 kB / 464.5 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009478/0.3838, allocations: 6.363 MB / 470.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/0.3839, allocations: 39.69 kB / 470.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/0.3841, allocations: 79.89 kB / 471 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/0.3865, allocations: 1.433 MB / 472.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.3968, allocations: 5.669 MB / 478.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03296/0.4297, allocations: 26.13 MB / 0.4924 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/0.434, allocations: 1.732 MB / 0.4941 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.4354, allocations: 0.9365 MB / 0.495 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/0.4355, allocations: 11.98 kB / 0.495 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.4355, allocations: 54.48 kB / 0.495 GB, free: 10.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.837e-06/0.4355, allocations: 0 / 0.495 GB, free: 10.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.0213/0.4568, allocations: 8.488 MB / 0.5033 GB, free: 1.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.457, allocations: 140.5 kB / 0.5035 GB, free: 1.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00449/0.4615, allocations: 2.832 MB / 0.5062 GB, free: 14.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.4617, allocations: 37.7 kB / 0.5063 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/0.4634, allocations: 2.163 MB / 0.5084 GB, free: 12.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005414/0.4639, allocations: 456.6 kB / 0.5088 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.4651, allocations: 0.8893 MB / 0.5097 GB, free: 11.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4652, allocations: 301.1 kB / 0.51 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.4676, allocations: 1.406 MB / 0.5113 GB, free: 9.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004993/0.4726, allocations: 4.242 MB / 0.5155 GB, free: 3.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008369/0.4809, allocations: 6.121 MB / 0.5215 GB, free: 12.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.108e-05/0.481, allocations: 28 kB / 0.5215 GB, free: 12.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01235/0.4934, allocations: 6.08 MB / 0.5274 GB, free: 6.129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.4934, allocations: 52.03 kB / 0.5275 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/0.4936, allocations: 103.9 kB / 0.5276 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00228/0.4958, allocations: 0.7928 MB / 0.5283 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/0.4989, allocations: 0.9825 MB / 0.5293 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006259/0.5052, allocations: 4.383 MB / 0.5336 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/0.5082, allocations: 251.6 kB / 0.5338 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005525/0.5087, allocations: 272 kB / 0.5341 GB, free: 15.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (533): * Single equations (assignments): 529 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002144/0.5109, allocations: 1.368 MB / 0.5354 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004319/0.5113, allocations: 250.3 kB / 0.5357 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.5152, allocations: 1.845 MB / 0.5375 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-05/0.5152, allocations: 15.94 kB / 0.5375 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5152, allocations: 4 kB / 0.5375 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.5152, allocations: 7.984 kB / 0.5375 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009107/0.5244, allocations: 4.738 MB / 0.5421 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.5244, allocations: 0 / 0.5421 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.525, allocations: 135.9 kB / 0.5422 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/0.527, allocations: 0.6482 MB / 0.5429 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.5271, allocations: 19.98 kB / 0.5429 GB, free: 6.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005386/0.5325, allocations: 3.853 MB / 0.5467 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5325, allocations: 0 / 0.5467 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2403/0.7728, allocations: 3.689 MB / 0.5503 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/0.7735, allocations: 234.3 kB / 0.5505 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.7737, allocations: 23.27 kB / 0.5505 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008494/0.7745, allocations: 62.19 kB / 0.5506 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.7747, allocations: 55.55 kB / 0.5506 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/0.7748, allocations: 30.92 kB / 0.5506 GB, free: 113.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002709/0.7775, allocations: 1.758 MB / 0.5524 GB, free: 113.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7775, allocations: 0 / 0.5524 GB, free: 113.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002962/0.7805, allocations: 0.6253 MB / 0.553 GB, free: 113.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (75): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005349/0.7858, allocations: 4.321 MB / 0.5572 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004411/0.7902, allocations: 3.29 MB / 0.5604 GB, free: 110.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.7902, allocations: 0 / 0.5604 GB, free: 110.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009522/0.7912, allocations: 0.8694 MB / 0.5613 GB, free: 110 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.7927, allocations: 257.2 kB / 0.5615 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03129/0.824, allocations: 30.23 MB / 0.591 GB, free: 80.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.8254, allocations: 2.192 MB / 0.5932 GB, free: 77.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002361/0.8278, allocations: 1.392 MB / 0.5945 GB, free: 76.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009417/0.8287, allocations: 1.049 MB / 0.5956 GB, free: 75.39 MB / 462.1 MB Notification: Performance of SimCode: time 1.733e-06/0.8287, allocations: 0 / 0.5956 GB, free: 75.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07951/0.9083, allocations: 45.43 MB / 0.6399 GB, free: 30.26 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.45/19.36, allocations: 7.922 kB / 0.6399 GB, free: 30.25 MB / 462.1 MB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.734242849051952] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 19.468181747943163 19.478186137 19.116658746 Calling exit ...