Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.001528/0.001528, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001726/0.001726, allocations: 222.8 kB / 23 MB, free: 4.914 MB / 14.72 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 1.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.04717/0.04717, allocations: 9.242 MB / 322.4 MB, free: 9.852 MB / 254.1 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: translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.89 kB / 448.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09512, allocations: 55.48 MB / 0.4926 GB, free: 6.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.007873/0.103, allocations: 6.218 MB / 0.4986 GB, free: 284 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.1072, allocations: 2.274 MB / 0.5009 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.1077, allocations: 27.94 kB / 0.5009 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.1084, allocations: 321.9 kB / 0.5012 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.1109, allocations: 1.308 MB / 0.5025 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1112, allocations: 79.84 kB / 0.5025 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.1133, allocations: 2.139 MB / 0.5046 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006993/0.114, allocations: 0.5867 MB / 0.5052 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008199/0.1149, allocations: 0.7704 MB / 0.506 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.1163, allocations: 1.199 MB / 0.5071 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002924/0.1166, allocations: 204 kB / 0.5073 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1178, allocations: 0.7177 MB / 0.508 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000946/0.1187, allocations: 1.079 MB / 0.5091 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009142/0.1196, allocations: 0.9275 MB / 0.51 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.1241, allocations: 4.49 MB / 0.5144 GB, free: 104 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1241, allocations: 4 kB / 0.5144 GB, free: 100 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1241, allocations: 0 / 0.5144 GB, free: 100 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.595e-05/0.1242, allocations: 0 / 0.5144 GB, free: 100 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.1908/0.315, allocations: 3.363 MB / 0.5177 GB, free: 24.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.315, allocations: 11.19 kB / 0.5177 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006012/0.3211, allocations: 1.726 MB / 0.5193 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.3234, allocations: 1.151 MB / 0.5205 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-05/0.3235, allocations: 129.6 kB / 0.5206 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/0.3238, allocations: 159.6 kB / 0.5207 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009195/0.333, allocations: 7.202 MB / 0.5278 GB, free: 22.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/0.3331, allocations: 14.75 kB / 0.5278 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.3333, allocations: 86.72 kB / 0.5279 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00284/0.3361, allocations: 1.731 MB / 0.5296 GB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.3477, allocations: 6.578 MB / 0.536 GB, free: 19.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.3697, allocations: 19.02 MB / 0.5546 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/0.3727, allocations: 1.491 MB / 0.556 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.3734, allocations: 0.6308 MB / 0.5566 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004055/0.3775, allocations: 2.027 MB / 0.5586 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.3775, allocations: 39.22 kB / 0.5587 GB, free: 14.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 3.196e-06/0.3775, allocations: 0 / 0.5587 GB, free: 14.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=120): time 0.01083/0.3884, allocations: 5.396 MB / 0.5639 GB, free: 8.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.3884, allocations: 60.41 kB / 0.564 GB, free: 8.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/0.3911, allocations: 1.925 MB / 0.5659 GB, free: 6.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/0.3911, allocations: 41.7 kB / 0.5659 GB, free: 6.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.3925, allocations: 1.933 MB / 0.5678 GB, free: 4.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.3929, allocations: 476.2 kB / 0.5682 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008987/0.3938, allocations: 0.679 MB / 0.5689 GB, free: 3.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.394, allocations: 334 kB / 0.5692 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.3958, allocations: 1.103 MB / 0.5703 GB, free: 2.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00338/0.3991, allocations: 2.963 MB / 0.5732 GB, free: 14.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005633/0.4048, allocations: 4.373 MB / 0.5775 GB, free: 8.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-05/0.4048, allocations: 20 kB / 0.5775 GB, free: 8.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006824/0.4116, allocations: 4.117 MB / 0.5815 GB, free: 4.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.4117, allocations: 32 kB / 0.5815 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.982e-05/0.4118, allocations: 68 kB / 0.5816 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/0.4123, allocations: 203.5 kB / 0.5818 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.4144, allocations: 0.729 MB / 0.5825 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.4175, allocations: 2.555 MB / 0.585 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.4194, allocations: 164.5 kB / 0.5852 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002803/0.4196, allocations: 200 kB / 0.5854 GB, free: 0.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (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 (395): * Single equations (assignments): 390 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002159/0.4218, allocations: 1.437 MB / 0.5868 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.422, allocations: 158.9 kB / 0.5869 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.4248, allocations: 1.584 MB / 0.5885 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.712e-05/0.4249, allocations: 27.98 kB / 0.5885 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4249, allocations: 3.938 kB / 0.5885 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.4249, allocations: 8.531 kB / 0.5885 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007126/0.432, allocations: 3.877 MB / 0.5923 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.432, allocations: 4 kB / 0.5923 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/0.4326, allocations: 151.8 kB / 0.5924 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/0.433, allocations: 125.7 kB / 0.5925 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/0.433, allocations: 31.97 kB / 0.5926 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.4353, allocations: 2.019 MB / 0.5945 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4353, allocations: 4 kB / 0.5946 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003772/0.4391, allocations: 2.534 MB / 0.597 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.4395, allocations: 150.9 kB / 0.5972 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.4397, allocations: 20 kB / 0.5972 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005895/0.4403, allocations: 55.92 kB / 0.5972 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.4404, allocations: 68.83 kB / 0.5973 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/0.4405, allocations: 43.98 kB / 0.5974 GB, free: 4.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001684/0.4421, allocations: 1.134 MB / 0.5985 GB, free: 3.023 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4421, allocations: 0 / 0.5985 GB, free: 3.023 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002257/0.4444, allocations: 0.5468 MB / 0.599 GB, free: 2.477 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (88): * Single equations (assignments): 83 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003032/0.4447, allocations: 143 kB / 0.5991 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004192/0.4489, allocations: 2.552 MB / 0.6016 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4489, allocations: 4 kB / 0.6016 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.4501, allocations: 0.7811 MB / 0.6024 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4511, allocations: 218.3 kB / 0.6026 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009565/0.4607, allocations: 5.936 MB / 0.6084 GB, free: 8.766 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/0.4631, allocations: 1.794 MB / 0.6101 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.4637, allocations: 163.4 kB / 0.6103 GB, free: 6.785 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4637, allocations: 0 / 0.6103 GB, free: 6.785 MB / 446.1 MB Notification: Performance of Templates: time 0.06427/0.528, allocations: 48.18 MB / 0.6573 GB, free: 6.707 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.466201475821435] Failed to read output from testmodel.py, exit status != 0: 0.5367795899510384 0.5509945270000001 0.42383474200000004 Calling exit ...