Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007631/0.0007631, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007579/0.0007579, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8656/0.8656, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.02729/0.02729, allocations: 7.116 MB / 266.3 MB, free: 6.316 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PlanarMechanics.Examples.PendulumExcited,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_PendulumExcited",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.Examples.PendulumExcited,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_PendulumExcited",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 392.4 MB, free: 3.996 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.84e-05, allocations: 6.219 kB / 392.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.00655/0.006568, allocations: 7.535 MB / 399.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0037/0.01027, allocations: 2.53 MB / 402.5 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.01072, allocations: 35.88 kB / 402.5 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.01144, allocations: 385.4 kB / 402.9 MB, free: 9.461 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.01305, allocations: 1.466 MB / 404.3 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.01327, allocations: 155.7 kB / 404.5 MB, free: 7.836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.01477, allocations: 2.578 MB / 407.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006235/0.0154, allocations: 0.8235 MB / 407.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009939/0.01639, allocations: 1.407 MB / 409.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.01756, allocations: 1.332 MB / 410.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.01777, allocations: 240 kB / 410.9 MB, free: 1.426 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007577/0.01853, allocations: 0.8229 MB / 411.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1455/0.164, allocations: 1.274 MB / 413 MB, free: 17.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.1657, allocations: 0.8335 MB / 413.8 MB, free: 17.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006012/0.1717, allocations: 5.064 MB / 418.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1717, allocations: 1.219 kB / 418.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1717, allocations: 0 / 418.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001071/0.1718, allocations: 3.156 kB / 418.9 MB, free: 17.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1181 * Number of variables: 1181 Notification: Performance of Generate backend data structure: time 0.007883/0.1797, allocations: 4.303 MB / 423.2 MB, free: 16.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1798, allocations: 11.19 kB / 423.2 MB, free: 16.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005637/0.1803, allocations: 0.5456 MB / 423.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003834/0.1842, allocations: 1.868 MB / 425.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.1858, allocations: 1.305 MB / 426.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.039e-05/0.1859, allocations: 157.2 kB / 427 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.1862, allocations: 194.1 kB / 427.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006587/0.1928, allocations: 8.174 MB / 435.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.1928, allocations: 20.53 kB / 435.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.193, allocations: 96.17 kB / 435.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001398/0.1944, allocations: 1.918 MB / 437.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006228/0.2007, allocations: 7.357 MB / 444.8 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01715/0.2178, allocations: 23.42 MB / 468.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.2211, allocations: 1.962 MB / 470.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007808/0.2218, allocations: 0.8019 MB / 471 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002936/0.2248, allocations: 2.641 MB / 473.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2248, allocations: 43.56 kB / 473.7 MB, free: 7.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=130): time 2.364e-06/0.2248, allocations: 0 / 473.7 MB, free: 7.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.00619/0.231, allocations: 4.807 MB / 478.5 MB, free: 2.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.231, allocations: 64.41 kB / 478.5 MB, free: 2.898 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.2331, allocations: 2.624 MB / 481.2 MB, free: 244 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.2332, allocations: 47.75 kB / 481.2 MB, free: 192 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008434/0.234, allocations: 2.139 MB / 483.3 MB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.2343, allocations: 0.5482 MB / 483.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007777/0.2351, allocations: 0.7427 MB / 484.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.2351, allocations: 305.1 kB / 484.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.2364, allocations: 1.229 MB / 486.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/0.2383, allocations: 3.291 MB / 489.4 MB, free: 6.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/0.2419, allocations: 4.887 MB / 494.3 MB, free: 1.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/0.2419, allocations: 20 kB / 494.4 MB, free: 1.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.004459/0.2463, allocations: 4.618 MB / 499 MB, free: 12.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.2464, allocations: 39.94 kB / 499 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/0.2464, allocations: 72 kB / 499.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003428/0.2468, allocations: 243.6 kB / 499.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.2481, allocations: 0.8227 MB / 0.4884 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.25, allocations: 2.717 MB / 0.4911 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.2512, allocations: 194.8 kB / 0.4913 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.2514, allocations: 220 kB / 0.4915 GB, free: 8.117 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 21 (worldForce.arrowTorque.twoHeadedArrow,worldForce.arrowTorque.headAtOrigin,worldForce.arrowForce.twoHeadedArrow,worldForce.arrowForce.headAtOrigin,cutForce.arrowForce.twoHeadedArrow,cutForce.arrowForce.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (445): * Single equations (assignments): 440 * Array equations: 4 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001885/0.2533, allocations: 1.58 MB / 0.493 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.2535, allocations: 226.4 kB / 0.4932 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.2554, allocations: 1.912 MB / 0.4951 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/0.2555, allocations: 28.69 kB / 0.4951 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2555, allocations: 0 / 0.4951 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2555, allocations: 7.969 kB / 0.4951 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005995/0.2615, allocations: 5.511 MB / 0.5005 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2615, allocations: 4 kB / 0.5005 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.262, allocations: 215.7 kB / 0.5007 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002238/0.2622, allocations: 133.2 kB / 0.5008 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.2623, allocations: 30.64 kB / 0.5009 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.2638, allocations: 2.402 MB / 0.5032 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.2638, allocations: 11.94 kB / 0.5032 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.2667, allocations: 3.044 MB / 0.5062 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.2669, allocations: 226.5 kB / 0.5064 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.2671, allocations: 23.98 kB / 0.5064 GB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.2675, allocations: 67.92 kB / 0.5065 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.2677, allocations: 99.2 kB / 0.5066 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.2677, allocations: 43.98 kB / 0.5066 GB, free: 8.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001603/0.2693, allocations: 1.608 MB / 0.5082 GB, free: 6.664 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2693, allocations: 0 / 0.5082 GB, free: 6.664 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001825/0.2711, allocations: 0.6367 MB / 0.5088 GB, free: 6.027 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (revolute.phi,revolute.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 (109): * Single equations (assignments): 104 * Array equations: 4 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003152/0.2743, allocations: 3.676 MB / 0.5124 GB, free: 2.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.2775, allocations: 2.904 MB / 0.5153 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2775, allocations: 0 / 0.5153 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008462/0.2783, allocations: 0.9506 MB / 0.5162 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.2794, allocations: 398.9 kB / 0.5166 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/0.3032, allocations: 26.66 MB / 0.5426 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.3049, allocations: 2.033 MB / 0.5446 GB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001505/0.3064, allocations: 1.14 MB / 0.5457 GB, free: 13.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/0.3076, allocations: 1.309 MB / 0.547 GB, free: 12.07 MB / 458.7 MB Notification: Performance of SimCode: time 7.02e-07/0.3076, allocations: 0 / 0.547 GB, free: 12.07 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1841/0.4917, allocations: 45.89 MB / 0.5918 GB, free: 154.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.898/9.389, allocations: 6.703 kB / 0.5918 GB, free: 154.1 MB / 474.7 MB " [Timeout remaining time 651] (rm -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.sim & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.Examples.PendulumExcited_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 PlanarMechanics_PlanarMechanics_Examples_PendulumExcited.fmu > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.166547450236976] Failed to read output from testmodel.py, exit status != 0: 9.497925383038819 9.50612131 9.332957286 Calling exit ...