Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.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.0009613/0.0009613, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00336/0.004321, 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.001358/0.001358, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.002978, 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 1.009/1.009, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09229/1.101, 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.0282/0.0282, allocations: 7.183 MB / 251.1 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004753/0.03295, allocations: 2.553 MB / 253.7 MB, free: 5.328 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.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 254.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.89e-05, allocations: 2.312 kB / 255 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.006548/0.006567, allocations: 7.936 MB / 262.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004503/0.01107, allocations: 2.606 MB / 265.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008814/0.01195, allocations: 35.88 kB / 265.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.01258, allocations: 397.4 kB / 265.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.01527, allocations: 1.404 MB / 267.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.01559, allocations: 119.6 kB / 267.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.01807, allocations: 2.522 MB / 270 MB, free: 5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.0191, allocations: 0.7298 MB / 270.7 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.02092, allocations: 1.375 MB / 272.1 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.02226, allocations: 1.235 MB / 273.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.02252, allocations: 224 kB / 273.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.02394, allocations: 0.8152 MB / 274.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1307/0.1546, allocations: 1.135 MB / 275.5 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.1565, allocations: 0.6699 MB / 276.1 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004585/0.1611, allocations: 3.054 MB / 279.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.72e-05/0.1611, allocations: 2.188 kB / 279.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1611, allocations: 0 / 279.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001906/0.1613, allocations: 0 / 279.2 MB, free: 4.664 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: 1180 * Number of variables: 1180 Notification: Performance of Generate backend data structure: time 0.007533/0.1688, allocations: 3.707 MB / 282.9 MB, free: 3.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1688, allocations: 13.47 kB / 282.9 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/0.172, allocations: 1.016 MB / 283.9 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.1738, allocations: 0.9529 MB / 284.9 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.895e-05/0.1739, allocations: 144.8 kB / 285 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.1741, allocations: 185.9 kB / 285.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005204/0.1794, allocations: 3.406 MB / 288.6 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/0.1794, allocations: 23.58 kB / 288.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.1796, allocations: 95.56 kB / 288.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00188/0.1815, allocations: 1.79 MB / 290.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006072/0.1876, allocations: 1.924 MB / 292.4 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01994/0.2075, allocations: 17.55 MB / 310 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.2096, allocations: 0.925 MB / 310.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.2099, allocations: 216.8 kB / 311.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003174/0.213, allocations: 1.931 MB / 313.1 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2131, allocations: 42.09 kB / 313.1 MB, free: 20 kB / 282.7 MB Notification: Performance of pre-optimization done (n=119): time 4.217e-06/0.2131, allocations: 1.562 kB / 313.1 MB, free: 20 kB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.004426/0.2175, allocations: 2.229 MB / 315.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.2175, allocations: 62.56 kB / 315.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.2191, allocations: 1.591 MB / 317 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.2192, allocations: 40.89 kB / 317 MB, free: 12.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.2203, allocations: 2.161 MB / 319.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.2206, allocations: 494.5 kB / 319.7 MB, free: 9.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/0.2212, allocations: 0.7287 MB / 320.4 MB, free: 9.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.2213, allocations: 346.5 kB / 320.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.2219, allocations: 384.8 kB / 321.1 MB, free: 8.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.2232, allocations: 2.455 MB / 323.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.226, allocations: 3.311 MB / 326.9 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.959e-05/0.2261, allocations: 28 kB / 326.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.002896/0.229, allocations: 2.46 MB / 329.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.229, allocations: 40 kB / 329.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.306e-05/0.2291, allocations: 76.88 kB / 329.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.205e-05/0.2292, allocations: 103.9 kB / 329.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.2309, allocations: 0.9437 MB / 330.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.068e-05/0.2309, allocations: 147.4 kB / 330.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.2323, allocations: 152 kB / 330.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.2325, allocations: 193.9 kB / 331 MB, free: 12.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 21 (springDamper.colorConnector_a[1],springDamper.colorConnector_a[2],springDamper.colorConnector_a[3],springDamper.colorConnector_b[1],springDamper.colorConnector_b[2],springDamper.colorConnector_b[3],springDamper.color[1],springDamper.color[2],springDamper.color[3],springDamper.color_a[1],springDamper.color_a[2],springDamper.color_a[3],springDamper.color_b[1],springDamper.color_b[2],springDamper.color_b[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (467): * Single equations (assignments): 462 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001244/0.2338, allocations: 420.1 kB / 331.4 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.234, allocations: 119.9 kB / 331.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.235, allocations: 0.5612 MB / 332.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.108e-05/0.2351, allocations: 23.98 kB / 332.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.2351, allocations: 0 / 332.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.2351, allocations: 9.203 kB / 332.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/0.2388, allocations: 2.43 MB / 334.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.2388, allocations: 4 kB / 334.6 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.2393, allocations: 215.7 kB / 334.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.2396, allocations: 166.6 kB / 334.9 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.2396, allocations: 12 kB / 334.9 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.2397, allocations: 27.98 kB / 335 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.2397, allocations: 15.94 kB / 335 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/0.2397, allocations: 4.25 kB / 335 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2407, allocations: 1.063 MB / 336.1 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.2409, allocations: 27.98 kB / 336.1 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.2412, allocations: 31.98 kB / 336.1 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.2413, allocations: 88.3 kB / 336.2 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/0.2413, allocations: 39.16 kB / 336.2 MB, free: 7.535 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006429/0.242, allocations: 0.6128 MB / 336.8 MB, free: 7.004 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.242, allocations: 0 / 336.8 MB, free: 7.004 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002055/0.244, allocations: 0.6092 MB / 337.5 MB, free: 6.395 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.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 (97): * Single equations (assignments): 92 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003004/0.2443, allocations: 147.3 kB / 337.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.2461, allocations: 1.416 MB / 339 MB, free: 4.887 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001209/0.2462, allocations: 59.92 kB / 339.1 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.2465, allocations: 270.1 kB / 339.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.2477, allocations: 417 kB / 339.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.258, allocations: 5.628 MB / 345.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00095/0.2589, allocations: 0.8887 MB / 346.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001229/0.2602, allocations: 295.5 kB / 346.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/0.2608, allocations: 364.3 kB / 346.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2608, allocations: 3.938 kB / 346.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of Templates: time 0.03135/0.2922, allocations: 19.43 MB / 366.3 MB, free: 9.801 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.188218708150089]