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.0008535/0.0008535, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.000938/0.000938, allocations: 173 kB / 23.03 MB, free: 1.547 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.8955/0.8955, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.02838/0.02838, allocations: 7.184 MB / 267.1 MB, free: 6.074 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.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.833e-06/1.833e-06, allocations: 0 / 338.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.01e-05, allocations: 8.312 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.006857/0.006887, allocations: 10.44 MB / 349.3 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.01229, allocations: 2.973 MB / 352.3 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.01362, allocations: 47.88 kB / 352.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.01462, allocations: 464.7 kB / 352.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.01872, allocations: 1.8 MB / 354.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.01921, allocations: 167.6 kB / 354.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.02243, allocations: 3.218 MB / 358 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.02354, allocations: 1.013 MB / 359 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.02528, allocations: 1.746 MB / 360.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.02701, allocations: 1.632 MB / 362.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006898/0.0277, allocations: 296 kB / 362.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.02921, allocations: 0.8815 MB / 363.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.03038, allocations: 1.589 MB / 365.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.0314, allocations: 1.039 MB / 366.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.03471, allocations: 4.011 MB / 370.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.03471, allocations: 0 / 370.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.03472, allocations: 0 / 370.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.008e-05/0.03478, allocations: 0 / 370.2 MB, free: 10.8 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.005956/0.04073, allocations: 4.951 MB / 375.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.04077, allocations: 12.62 kB / 375.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005952/0.04672, allocations: 2.436 MB / 377.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.04892, allocations: 1.521 MB / 379.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.04905, allocations: 193.2 kB / 379.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/0.04947, allocations: 256.2 kB / 379.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007474/0.05694, allocations: 5.054 MB / 384.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.35e-05/0.05701, allocations: 23.81 kB / 384.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/0.0573, allocations: 115.8 kB / 384.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002728/0.06003, allocations: 2.303 MB / 387 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007371/0.0674, allocations: 2.879 MB / 389.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2132/0.2806, allocations: 31.79 MB / 421.7 MB, free: 46.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/0.2856, allocations: 1.347 MB / 423 MB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.2867, allocations: 433 kB / 423.5 MB, free: 46.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.2986, allocations: 3.25 MB / 426.7 MB, free: 46.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.2987, allocations: 51.83 kB / 426.8 MB, free: 45.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=159): time 5.23e-06/0.2987, allocations: 3.625 kB / 426.8 MB, free: 45.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01937/0.318, allocations: 5.121 MB / 431.9 MB, free: 44.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.3181, allocations: 67.84 kB / 431.9 MB, free: 44.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005753/0.3238, allocations: 2.41 MB / 434.4 MB, free: 44.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.3239, allocations: 54.83 kB / 434.4 MB, free: 44.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004104/0.328, allocations: 2.869 MB / 437.3 MB, free: 42.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004/0.3284, allocations: 0.7207 MB / 438 MB, free: 42.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.3294, allocations: 1.068 MB / 439.1 MB, free: 41.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.3295, allocations: 0.52 MB / 439.6 MB, free: 41.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004057/0.3335, allocations: 0.5289 MB / 440.1 MB, free: 41.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.3356, allocations: 4.664 MB / 444.8 MB, free: 35.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009652/0.3453, allocations: 5.732 MB / 450.5 MB, free: 29.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.33e-05/0.3453, allocations: 31.94 kB / 450.5 MB, free: 29 MB / 330.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.008221/0.3536, allocations: 4.177 MB / 454.7 MB, free: 25.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.3536, allocations: 51.47 kB / 454.8 MB, free: 25.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.194e-05/0.3537, allocations: 96 kB / 454.9 MB, free: 25.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000567/0.3542, allocations: 337.7 kB / 455.2 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.3558, allocations: 1.11 MB / 456.3 MB, free: 23.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.3577, allocations: 3.113 MB / 459.4 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.3592, allocations: 246.2 kB / 459.7 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.3595, allocations: 296.5 kB / 459.9 MB, free: 20.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * 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 (609): * Single equations (assignments): 603 * 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.0008981/0.3604, allocations: 0.5565 MB / 460.5 MB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.3606, allocations: 290.4 kB / 460.8 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.362, allocations: 1.243 MB / 462 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.925e-05/0.3621, allocations: 43.95 kB / 462.1 MB, free: 18.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3621, allocations: 6.953 kB / 462.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.3621, allocations: 7.969 kB / 462.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.3676, allocations: 4.571 MB / 466.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3676, allocations: 7.984 kB / 466.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.3682, allocations: 251.6 kB / 466.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/0.3686, allocations: 199.9 kB / 467.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.657e-05/0.3686, allocations: 35.98 kB / 467.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.37, allocations: 2.436 MB / 469.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.37, allocations: 7.938 kB / 469.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3719, allocations: 1.845 MB / 471.4 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.3722, allocations: 214.4 kB / 471.6 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.3724, allocations: 39.92 kB / 471.7 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.3728, allocations: 83.62 kB / 471.8 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.373, allocations: 113 kB / 471.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.373, allocations: 57.94 kB / 471.9 MB, free: 8.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001006/0.374, allocations: 1.039 MB / 473 MB, free: 6.949 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.374, allocations: 4 kB / 473 MB, free: 6.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002442/0.3765, allocations: 0.8266 MB / 473.8 MB, free: 6.121 MB / 330.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 (142): * Single equations (assignments): 136 * 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.0003401/0.3768, allocations: 169.5 kB / 474 MB, free: 5.949 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.3803, allocations: 2.463 MB / 476.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3803, allocations: 0 / 476.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007151/0.381, allocations: 0.7443 MB / 477.2 MB, free: 2.727 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.382, allocations: 319.9 kB / 477.5 MB, free: 2.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009531/0.3916, allocations: 6.737 MB / 484.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.3928, allocations: 1.111 MB / 485.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002064/0.3948, allocations: 1.194 MB / 486.5 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/0.3952, allocations: 184.5 kB / 486.7 MB, free: 9.074 MB / 346.7 MB Notification: Performance of SimCode: time 1.803e-06/0.3952, allocations: 0 / 486.7 MB, free: 9.074 MB / 346.7 MB Notification: Performance of Templates: time 0.03378/0.429, allocations: 21.6 MB / 0.4964 GB, free: 3.914 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.726352605037391]