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.0007618/0.0007618, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.00121/0.00121, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8596/0.8596, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.02616/0.02616, allocations: 7.108 MB / 267.1 MB, free: 6.32 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: 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.723e-06/1.723e-06, allocations: 0 / 393.6 MB, free: 3.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.946e-05, allocations: 4.672 kB / 393.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.007741/0.00777, allocations: 7.223 MB / 400.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.01097, allocations: 2.424 MB / 403.3 MB, free: 9.816 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005074/0.01147, allocations: 31.94 kB / 403.3 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.01203, allocations: 377.4 kB / 403.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.01372, allocations: 1.4 MB / 405.1 MB, free: 8.008 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.01395, allocations: 111.7 kB / 405.2 MB, free: 7.898 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.01564, allocations: 2.481 MB / 407.7 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.01622, allocations: 0.6738 MB / 408.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008763/0.0171, allocations: 1.329 MB / 409.7 MB, free: 3.387 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009372/0.01803, allocations: 1.282 MB / 411 MB, free: 2.102 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.0182, allocations: 224 kB / 411.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007373/0.01894, allocations: 0.7995 MB / 412 MB, free: 1.082 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1335/0.1524, allocations: 1.253 MB / 413.2 MB, free: 18.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.1536, allocations: 0.7984 MB / 414 MB, free: 18.22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.1578, allocations: 4.919 MB / 418.9 MB, free: 17.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1578, allocations: 4.594 kB / 418.9 MB, free: 17.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1578, allocations: 0 / 418.9 MB, free: 17.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.735e-05/0.1578, allocations: 0 / 418.9 MB, free: 17.99 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: 1172 * Number of variables: 1172 Notification: Performance of Generate backend data structure: time 0.004421/0.1622, allocations: 3.237 MB / 422.2 MB, free: 16.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1623, allocations: 9.344 kB / 422.2 MB, free: 16.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.1657, allocations: 1.797 MB / 424 MB, free: 16.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.1672, allocations: 1.265 MB / 425.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.1673, allocations: 144.5 kB / 425.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.1676, allocations: 182.7 kB / 425.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006943/0.1745, allocations: 8.135 MB / 433.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.1745, allocations: 17.97 kB / 433.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.1747, allocations: 93.67 kB / 433.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001714/0.1764, allocations: 2.005 MB / 435.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006478/0.1829, allocations: 7.181 MB / 443 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01604/0.199, allocations: 21.79 MB / 464.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.2016, allocations: 1.72 MB / 466.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006608/0.2023, allocations: 0.6739 MB / 467.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002995/0.2053, allocations: 2.453 MB / 469.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.2053, allocations: 39.56 kB / 469.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=114): time 2.695e-06/0.2053, allocations: 2.719 kB / 469.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.00551/0.2108, allocations: 4.512 MB / 474.2 MB, free: 7.941 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.2108, allocations: 64.39 kB / 474.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.2129, allocations: 2.214 MB / 476.5 MB, free: 5.652 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.2129, allocations: 44.36 kB / 476.5 MB, free: 5.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000803/0.2138, allocations: 2.213 MB / 478.7 MB, free: 3.406 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.214, allocations: 479.9 kB / 479.2 MB, free: 2.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006347/0.2146, allocations: 0.7545 MB / 480 MB, free: 2.184 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.2147, allocations: 341.9 kB / 480.3 MB, free: 1.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.2159, allocations: 1.171 MB / 481.5 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.2181, allocations: 3.333 MB / 484.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/0.2217, allocations: 4.807 MB / 489.6 MB, free: 6.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/0.2217, allocations: 20 kB / 489.6 MB, free: 6.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.004187/0.2259, allocations: 4.428 MB / 494 MB, free: 2.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.226, allocations: 40 kB / 494.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-05/0.226, allocations: 79.94 kB / 494.2 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.23e-05/0.2261, allocations: 100 kB / 494.3 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.2274, allocations: 0.8461 MB / 495.1 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-05/0.2275, allocations: 147.9 kB / 495.2 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.2286, allocations: 183.9 kB / 495.4 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.2288, allocations: 229.8 kB / 495.7 MB, free: 472 kB / 378.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 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (459): * Single equations (assignments): 454 * 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.002022/0.2308, allocations: 1.57 MB / 497.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.2309, allocations: 182.8 kB / 497.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.2323, allocations: 1.387 MB / 498.8 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.778e-05/0.2324, allocations: 27.98 kB / 498.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2324, allocations: 0 / 498.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.2324, allocations: 14 kB / 498.8 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.2364, allocations: 3.801 MB / 0.4908 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.2364, allocations: 8 kB / 0.4909 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.2368, allocations: 187.6 kB / 0.491 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.2369, allocations: 8 kB / 0.491 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.2369, allocations: 31.98 kB / 0.4911 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.2369, allocations: 11.98 kB / 0.4911 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.2369, allocations: 12.31 kB / 0.4911 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.2392, allocations: 2.343 MB / 0.4934 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.2393, allocations: 170.9 kB / 0.4935 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.2395, allocations: 34.33 kB / 0.4936 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.2398, allocations: 51.95 kB / 0.4936 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.2399, allocations: 76.36 kB / 0.4937 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.2399, allocations: 39.98 kB / 0.4937 GB, free: 6.355 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001118/0.241, allocations: 1.297 MB / 0.495 GB, free: 5.066 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.241, allocations: 1.641 kB / 0.495 GB, free: 5.066 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001566/0.2426, allocations: 0.5934 MB / 0.4956 GB, free: 4.477 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (92): * Single equations (assignments): 87 * 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.000245/0.2429, allocations: 161.6 kB / 0.4957 GB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.2451, allocations: 2.543 MB / 0.4982 GB, free: 1.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2451, allocations: 0 / 0.4982 GB, free: 1.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007683/0.2459, allocations: 0.5952 MB / 0.4988 GB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/0.2466, allocations: 250 kB / 0.499 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/0.2534, allocations: 6.61 MB / 0.5055 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.2551, allocations: 2.002 MB / 0.5075 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/0.2554, allocations: 182.6 kB / 0.5076 GB, free: 8.027 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2554, allocations: 0 / 0.5076 GB, free: 8.027 MB / 410.7 MB Notification: Performance of Templates: time 0.02807/0.2835, allocations: 38.28 MB / 0.545 GB, free: 1.875 MB / 442.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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.6986508294939995] Failed to read output from testmodel.py, exit status != 0: 0.290460254997015 0.29826676300000005 0.138754916 Calling exit ...