Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.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.0007964/0.0007964, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007999/0.0007999, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9004/0.9004, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.02648/0.02648, allocations: 7.117 MB / 267.1 MB, free: 6.305 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.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") translateModel(PlanarMechanics.Examples.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 393.6 MB, free: 3.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.75e-05, allocations: 6.219 kB / 393.6 MB, free: 3.488 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.007252/0.007279, allocations: 9.365 MB / 403 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005172/0.01245, allocations: 2.86 MB / 405.9 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.01384, allocations: 51.81 kB / 405.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000898/0.01474, allocations: 476.7 kB / 406.4 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.01837, allocations: 1.761 MB / 408.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.0188, allocations: 171.6 kB / 408.3 MB, free: 4.746 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003613/0.02242, allocations: 3.166 MB / 411.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.024, allocations: 0.9657 MB / 412.4 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1624/0.1864, allocations: 1.729 MB / 414.2 MB, free: 16.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.1886, allocations: 1.608 MB / 415.8 MB, free: 16.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005825/0.1892, allocations: 291.6 kB / 416.1 MB, free: 16.72 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.1906, allocations: 0.8804 MB / 417 MB, free: 16.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.1917, allocations: 1.573 MB / 418.5 MB, free: 16.72 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.1929, allocations: 1.035 MB / 419.6 MB, free: 16.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005906/0.1988, allocations: 6.042 MB / 425.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1988, allocations: 0 / 425.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1988, allocations: 0 / 425.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002427/0.1991, allocations: 0.9375 kB / 425.6 MB, free: 15.56 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: 1467 * Number of variables: 1467 Notification: Performance of Generate backend data structure: time 0.009095/0.2082, allocations: 4.605 MB / 430.2 MB, free: 13.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2082, allocations: 10.69 kB / 430.2 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004054/0.2122, allocations: 1.938 MB / 432.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.2146, allocations: 1.551 MB / 433.7 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.2148, allocations: 191.8 kB / 433.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/0.2152, allocations: 257.3 kB / 434.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.2255, allocations: 9.798 MB / 443.9 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8e-05/0.2256, allocations: 28.33 kB / 444 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.2259, allocations: 123.8 kB / 444.1 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001985/0.2279, allocations: 2.305 MB / 446.4 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.2424, allocations: 8.47 MB / 454.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0385/0.2809, allocations: 27.69 MB / 482.6 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.2854, allocations: 2.352 MB / 484.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.2867, allocations: 0.974 MB / 485.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006689/0.2934, allocations: 3.644 MB / 489.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.2935, allocations: 55.86 kB / 489.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=159): time 4.448e-06/0.2935, allocations: 0 / 489.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=181): time 0.01233/0.3058, allocations: 8.227 MB / 497.8 MB, free: 15.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.3059, allocations: 68.72 kB / 497.9 MB, free: 15.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/0.3091, allocations: 2.701 MB / 0.4888 GB, free: 12.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.3092, allocations: 49.7 kB / 0.4889 GB, free: 12.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.3107, allocations: 2.723 MB / 0.4916 GB, free: 9.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006182/0.3113, allocations: 0.6943 MB / 0.4922 GB, free: 9.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.3124, allocations: 0.9841 MB / 0.4932 GB, free: 8.281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3125, allocations: 349.9 kB / 0.4935 GB, free: 7.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/0.3145, allocations: 1.567 MB / 0.4951 GB, free: 6.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003382/0.3179, allocations: 4.351 MB / 0.4993 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006177/0.3241, allocations: 6.392 MB / 0.5055 GB, free: 8.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.67e-05/0.3242, allocations: 28 kB / 0.5056 GB, free: 8.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.009985/0.3341, allocations: 5.994 MB / 0.5114 GB, free: 2.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.3342, allocations: 44 kB / 0.5115 GB, free: 2.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.576e-05/0.3343, allocations: 100.8 kB / 0.5116 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.3349, allocations: 347 kB / 0.5119 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/0.3374, allocations: 1.092 MB / 0.513 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.3406, allocations: 3.535 MB / 0.5164 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/0.3435, allocations: 255.9 kB / 0.5167 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006283/0.3441, allocations: 299.6 kB / 0.5169 GB, free: 13.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 30 (distance.arrowColor[3],distance.arrowColor[2],distance.arrowColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (597): * Single equations (assignments): 591 * Array equations: 5 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003273/0.3474, allocations: 1.879 MB / 0.5188 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/0.3478, allocations: 242.7 kB / 0.519 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.3506, allocations: 2.361 MB / 0.5213 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-05/0.3507, allocations: 43.97 kB / 0.5214 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3507, allocations: 7.938 kB / 0.5214 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.3507, allocations: 13.64 kB / 0.5214 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008591/0.3593, allocations: 5.562 MB / 0.5268 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.3593, allocations: 4 kB / 0.5268 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/0.3599, allocations: 259.7 kB / 0.5271 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003689/0.3602, allocations: 221.1 kB / 0.5273 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/0.3603, allocations: 37.47 kB / 0.5273 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.3625, allocations: 2.8 MB / 0.53 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3625, allocations: 7.938 kB / 0.53 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.3664, allocations: 3.671 MB / 0.5336 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.367, allocations: 214.5 kB / 0.5338 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.3672, allocations: 31.05 kB / 0.5339 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.3677, allocations: 83.84 kB / 0.5339 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.3679, allocations: 113 kB / 0.5341 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.3679, allocations: 59.98 kB / 0.5341 GB, free: 11.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001976/0.3699, allocations: 1.553 MB / 0.5356 GB, free: 9.746 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3699, allocations: 0 / 0.5356 GB, free: 9.746 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003104/0.373, allocations: 0.8236 MB / 0.5364 GB, free: 8.926 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (143): * Single equations (assignments): 137 * Array equations: 5 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004057/0.3734, allocations: 170.3 kB / 0.5366 GB, free: 8.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005219/0.3786, allocations: 3.696 MB / 0.5402 GB, free: 5.055 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.3786, allocations: 0 / 0.5402 GB, free: 5.055 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.3802, allocations: 1.131 MB / 0.5413 GB, free: 3.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.3816, allocations: 294.5 kB / 0.5416 GB, free: 3.633 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.3944, allocations: 8.314 MB / 0.5497 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/0.3971, allocations: 2.473 MB / 0.5521 GB, free: 8.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008358/0.3979, allocations: 232.4 kB / 0.5523 GB, free: 8.504 MB / 458.7 MB Notification: Performance of SimCode: time 2.645e-06/0.3979, allocations: 8 kB / 0.5524 GB, free: 8.496 MB / 458.7 MB Notification: Performance of Templates: time 0.2144/0.6123, allocations: 66.82 MB / 0.6176 GB, free: 130.2 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.723931805230677] Failed to read output from testmodel.py, exit status != 0: 0.6186731848865747 0.62367379 0.42348068199999994 Calling exit ...