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.001013/0.001013, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009461/0.001959, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007225/0.0007225, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008959/0.001618, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9866/0.9866, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.091, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.0284/0.0284, allocations: 7.186 MB / 251.1 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004748/0.03315, allocations: 2.557 MB / 253.7 MB, free: 5.324 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.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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 254.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.345e-05, allocations: 2.312 kB / 255 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.006303/0.006327, allocations: 6.861 MB / 261.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005113/0.01144, allocations: 2.44 MB / 264.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.01209, allocations: 31.88 kB / 264.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.01266, allocations: 341.9 kB / 264.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.01485, allocations: 1.346 MB / 266 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.01507, allocations: 83.77 kB / 266 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.01692, allocations: 2.226 MB / 268.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005217/0.01744, allocations: 0.6308 MB / 268.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008899/0.01833, allocations: 1.223 MB / 270.1 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009006/0.01923, allocations: 1.099 MB / 271.2 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.01941, allocations: 204 kB / 271.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009656/0.02037, allocations: 0.8074 MB / 272.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005664/0.02094, allocations: 1.001 MB / 273.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004667/0.02141, allocations: 0.584 MB / 273.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1501/0.1715, allocations: 2.748 MB / 276.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.13e-05/0.1716, allocations: 0 / 276.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1716, allocations: 0 / 276.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001356/0.1717, allocations: 0 / 276.6 MB, free: 5.656 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1025 * Number of variables: 1025 Notification: Performance of Generate backend data structure: time 0.005735/0.1774, allocations: 3.48 MB / 280 MB, free: 4.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1775, allocations: 12.3 kB / 280.1 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/0.1804, allocations: 0.9494 MB / 281 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.1818, allocations: 0.8823 MB / 281.9 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.1819, allocations: 125.5 kB / 282 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.1822, allocations: 158.2 kB / 282.2 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004112/0.1863, allocations: 2.962 MB / 285.1 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.309e-05/0.1863, allocations: 23.02 kB / 285.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.1865, allocations: 81.77 kB / 285.2 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001675/0.1882, allocations: 1.556 MB / 286.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/0.1918, allocations: 1.693 MB / 288.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.2045, allocations: 15.46 MB / 303.9 MB, free: 8.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.2061, allocations: 0.7803 MB / 304.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.2064, allocations: 185 kB / 304.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002013/0.2084, allocations: 1.645 MB / 306.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.2084, allocations: 42.66 kB / 306.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=111): time 2.395e-06/0.2084, allocations: 0 / 306.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=125): time 0.004747/0.2131, allocations: 2.738 MB / 309.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.2132, allocations: 68.25 kB / 309.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.2142, allocations: 1.369 MB / 310.8 MB, free: 2.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.2143, allocations: 41.7 kB / 310.8 MB, free: 2.391 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000881/0.2152, allocations: 1.873 MB / 312.7 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.2154, allocations: 485.8 kB / 313.1 MB, free: 140 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000648/0.2161, allocations: 0.6551 MB / 313.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2162, allocations: 338.4 kB / 314.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/0.2166, allocations: 351.3 kB / 314.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.2179, allocations: 2.142 MB / 316.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/0.2202, allocations: 2.934 MB / 319.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/0.2202, allocations: 20 kB / 319.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.002373/0.2226, allocations: 2.24 MB / 321.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.2226, allocations: 35.98 kB / 321.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.822e-05/0.2227, allocations: 68 kB / 321.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.223, allocations: 165.3 kB / 322.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.2243, allocations: 0.8067 MB / 322.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.2257, allocations: 1.926 MB / 324.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/0.2266, allocations: 135.1 kB / 324.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/0.2268, allocations: 168 kB / 325.1 MB, free: 2.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 299 * 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 (404): * Single equations (assignments): 399 * 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.001167/0.228, allocations: 378.8 kB / 325.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.2281, allocations: 116.5 kB / 325.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007992/0.2289, allocations: 0.6139 MB / 326.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.993e-05/0.229, allocations: 16 kB / 326.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.229, allocations: 0 / 326.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.229, allocations: 7.969 kB / 326.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.2321, allocations: 2.308 MB / 328.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.2321, allocations: 8.062 kB / 328.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.2325, allocations: 163.8 kB / 328.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.2327, allocations: 148.9 kB / 328.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/0.2329, allocations: 145.3 kB / 329 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.233, allocations: 20 kB / 329 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009665/0.2339, allocations: 1.426 MB / 330.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2339, allocations: 4 kB / 330.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.235, allocations: 1.01 MB / 331.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.2351, allocations: 22.58 kB / 331.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.2353, allocations: 24 kB / 331.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/0.2354, allocations: 76.73 kB / 331.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.2355, allocations: 32 kB / 331.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000475/0.236, allocations: 0.5242 MB / 332.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.236, allocations: 4 kB / 332.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001564/0.2375, allocations: 0.5624 MB / 332.7 MB, free: 11.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (93): * Single equations (assignments): 88 * 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.0002867/0.2378, allocations: 129 kB / 332.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.2393, allocations: 1.423 MB / 334.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001053/0.2394, allocations: 57.58 kB / 334.3 MB, free: 9.586 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.2398, allocations: 407.2 kB / 334.7 MB, free: 9.184 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/0.2405, allocations: 360.8 kB / 335 MB, free: 8.848 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/0.2475, allocations: 4.907 MB / 339.9 MB, free: 3.871 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/0.2483, allocations: 0.7964 MB / 340.7 MB, free: 3.047 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006225/0.2489, allocations: 256 kB / 341 MB, free: 2.797 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.2493, allocations: 309.3 kB / 341.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of SimCode: time 1.884e-06/0.2493, allocations: 0 / 341.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of Templates: time 0.02727/0.2766, allocations: 18.66 MB / 360 MB, free: 168 kB / 330.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3323428444564342]