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.001058/0.001058, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001531/0.001531, allocations: 169 kB / 23.28 MB, free: 1.223 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 1.111/1.111, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.02962/0.02962, allocations: 7.203 MB / 267.4 MB, free: 5.91 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 339.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.579e-05, allocations: 2.312 kB / 339.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.006901/0.006927, allocations: 8.186 MB / 347.5 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.01253, allocations: 2.608 MB / 350.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.0137, allocations: 35.88 kB / 350.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009971/0.0147, allocations: 385.3 kB / 350.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002927/0.01763, allocations: 1.493 MB / 352 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.0181, allocations: 159.6 kB / 352.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003206/0.0213, allocations: 2.594 MB / 354.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.02276, allocations: 0.8709 MB / 355.6 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.02439, allocations: 1.43 MB / 357.1 MB, free: 8.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.02634, allocations: 1.344 MB / 358.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.02664, allocations: 240 kB / 358.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.02779, allocations: 0.8307 MB / 359.5 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007931/0.02859, allocations: 1.297 MB / 360.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006241/0.02921, allocations: 0.8408 MB / 361.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.03192, allocations: 3.346 MB / 365 MB, free: 176 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.03193, allocations: 4 kB / 365 MB, free: 172 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.03193, allocations: 0 / 365 MB, free: 172 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.03195, allocations: 0 / 365 MB, free: 172 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.006173/0.03813, allocations: 4.573 MB / 369.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.03819, allocations: 16.62 kB / 369.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.04131, allocations: 1.271 MB / 370.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.04305, allocations: 1.218 MB / 372 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.04321, allocations: 152.1 kB / 372.2 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.04354, allocations: 200.1 kB / 372.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004465/0.048, allocations: 3.736 MB / 376.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/0.04805, allocations: 20.05 kB / 376.1 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.04824, allocations: 99.8 kB / 376.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/0.04983, allocations: 1.732 MB / 378 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/0.05352, allocations: 1.974 MB / 379.9 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02019/0.07371, allocations: 25.22 MB / 405.2 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.07598, allocations: 1.005 MB / 406.2 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.07632, allocations: 271.7 kB / 406.4 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003041/0.07936, allocations: 2.201 MB / 408.6 MB, free: 3.211 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.07939, allocations: 46.39 kB / 408.7 MB, free: 3.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=135): time 3.607e-06/0.0794, allocations: 0 / 408.7 MB, free: 3.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=149): time 0.004639/0.08404, allocations: 2.587 MB / 411.3 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.08408, allocations: 68.34 kB / 411.3 MB, free: 500 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2125/0.2966, allocations: 1.882 MB / 413.2 MB, free: 72.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.2969, allocations: 45.42 kB / 413.2 MB, free: 72.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.2979, allocations: 2.289 MB / 415.5 MB, free: 71.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000408/0.2984, allocations: 0.5983 MB / 416.1 MB, free: 70.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007129/0.2991, allocations: 0.8284 MB / 417 MB, free: 70.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2992, allocations: 0.5301 MB / 417.5 MB, free: 70.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.2997, allocations: 311.3 kB / 417.8 MB, free: 70.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.3014, allocations: 3.382 MB / 421.2 MB, free: 66.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/0.3044, allocations: 4.142 MB / 425.3 MB, free: 62.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.36e-05/0.3044, allocations: 25.28 kB / 425.3 MB, free: 62.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.003873/0.3083, allocations: 2.903 MB / 428.2 MB, free: 61.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.3083, allocations: 37.25 kB / 428.3 MB, free: 61.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.269e-05/0.3084, allocations: 69.34 kB / 428.4 MB, free: 61.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003797/0.3088, allocations: 188.2 kB / 428.5 MB, free: 61.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.3101, allocations: 0.8094 MB / 429.3 MB, free: 61.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.3116, allocations: 2.621 MB / 432 MB, free: 59.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.3128, allocations: 154.4 kB / 432.1 MB, free: 59.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.313, allocations: 192.1 kB / 432.3 MB, free: 59.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 330 * 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 (454): * Single equations (assignments): 449 * 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.0008393/0.3139, allocations: 457.9 kB / 432.8 MB, free: 59.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.314, allocations: 229.4 kB / 433 MB, free: 59.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009981/0.315, allocations: 0.8854 MB / 433.9 MB, free: 58.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.073e-05/0.3151, allocations: 16.75 kB / 433.9 MB, free: 58.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3151, allocations: 6.969 kB / 433.9 MB, free: 58.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.3151, allocations: 3.844 kB / 433.9 MB, free: 58.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.3187, allocations: 3.097 MB / 437 MB, free: 57.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3187, allocations: 4 kB / 437 MB, free: 57.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.3191, allocations: 194.1 kB / 437.2 MB, free: 57.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.3193, allocations: 86.5 kB / 437.3 MB, free: 57.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.3193, allocations: 29.97 kB / 437.3 MB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009883/0.3203, allocations: 2.335 MB / 439.6 MB, free: 54.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3203, allocations: 7.938 kB / 439.6 MB, free: 54.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.3215, allocations: 1.396 MB / 441 MB, free: 53.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.3217, allocations: 166.1 kB / 441.2 MB, free: 53.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.3218, allocations: 35.64 kB / 441.2 MB, free: 53.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.3221, allocations: 35.48 kB / 441.3 MB, free: 53.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.3222, allocations: 97.05 kB / 441.4 MB, free: 53.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.3223, allocations: 39.66 kB / 441.4 MB, free: 52.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005265/0.3228, allocations: 0.7757 MB / 442.2 MB, free: 52.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3228, allocations: 4.031 kB / 442.2 MB, free: 52.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001608/0.3244, allocations: 0.6516 MB / 442.8 MB, free: 51.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (114): * Single equations (assignments): 109 * 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.000243/0.3246, allocations: 161.4 kB / 443 MB, free: 51.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.3262, allocations: 1.77 MB / 444.8 MB, free: 50.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3262, allocations: 0 / 444.8 MB, free: 50.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.3267, allocations: 0.5709 MB / 445.3 MB, free: 49.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.3274, allocations: 288.2 kB / 445.6 MB, free: 49.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/0.3332, allocations: 5.454 MB / 451.1 MB, free: 44.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/0.334, allocations: 0.913 MB / 452 MB, free: 43.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008506/0.3349, allocations: 286.8 kB / 452.3 MB, free: 42.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/0.3355, allocations: 390.1 kB / 452.6 MB, free: 42.56 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3355, allocations: 0 / 452.6 MB, free: 42.56 MB / 330.7 MB Notification: Performance of Templates: time 0.03487/0.3703, allocations: 21.15 MB / 473.8 MB, free: 21.71 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.makefile [Timeout 660] (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 & ./PlanarMechanics_PlanarMechanics.Examples.PendulumExcited -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8522327952086926]