Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.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.00115/0.00115, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001309/0.001309, allocations: 169.7 kB / 23.27 MB, free: 1.227 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 1.219/1.219, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.04694/0.04694, allocations: 7.19 MB / 267.4 MB, free: 5.918 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.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 339.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.368e-05, allocations: 2.312 kB / 339.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.01056/0.0106, allocations: 13.02 MB / 352.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.0214, allocations: 4.034 MB / 356.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004071/0.02547, allocations: 63.75 kB / 356.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.02762, allocations: 400.6 kB / 356.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.03248, allocations: 0.9549 MB / 357.8 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.03477, allocations: 0.9864 MB / 358.8 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005181/0.03995, allocations: 2.283 MB / 361 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003964/0.04391, allocations: 2.065 MB / 363.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003567/0.04748, allocations: 1.61 MB / 364.7 MB, free: 364 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.04978, allocations: 1.091 MB / 365.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009226/0.05071, allocations: 312 kB / 366.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.05231, allocations: 0.7295 MB / 366.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008677/0.05318, allocations: 1.013 MB / 367.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.05542, allocations: 0.982 MB / 368.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.05995, allocations: 2.565 MB / 371.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.05996, allocations: 4 kB / 371.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.05996, allocations: 3.938 kB / 371.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002032/0.06017, allocations: 0 / 371.4 MB, free: 9.645 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: 869 * Number of variables: 869 Notification: Performance of Generate backend data structure: time 0.009473/0.06964, allocations: 4.265 MB / 375.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.551e-05/0.06972, allocations: 8.625 kB / 375.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000971/0.07069, allocations: 0.5302 MB / 376.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.07245, allocations: 1.002 MB / 377.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.0726, allocations: 214 kB / 377.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.07293, allocations: 288.3 kB / 377.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005137/0.07807, allocations: 3.459 MB / 381.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001608/0.07823, allocations: 35.7 kB / 381.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.07842, allocations: 128 kB / 381.3 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004284/0.07885, allocations: 424.2 kB / 381.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.08176, allocations: 1.441 MB / 383.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02188/0.1036, allocations: 25.52 MB / 408.7 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.1066, allocations: 1.002 MB / 409.7 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.1071, allocations: 298.5 kB / 410 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2229/0.33, allocations: 2.65 MB / 412.6 MB, free: 75.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.33, allocations: 48.83 kB / 412.7 MB, free: 75.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=102): time 6.452e-06/0.33, allocations: 1.562 kB / 412.7 MB, free: 75.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.01418/0.3442, allocations: 5.581 MB / 418.3 MB, free: 74.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3442, allocations: 68.12 kB / 418.3 MB, free: 74.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.3459, allocations: 1.664 MB / 420 MB, free: 74.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.346, allocations: 45.02 kB / 420 MB, free: 74.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008465/0.3468, allocations: 1.895 MB / 421.9 MB, free: 73.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004171/0.3472, allocations: 0.5679 MB / 422.5 MB, free: 73.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006975/0.3479, allocations: 0.7855 MB / 423.3 MB, free: 72.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.348, allocations: 0.5198 MB / 423.8 MB, free: 72.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.3486, allocations: 418.7 kB / 424.2 MB, free: 72.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.3503, allocations: 3.642 MB / 427.9 MB, free: 68.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/0.3536, allocations: 4.596 MB / 432.5 MB, free: 63.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-05/0.3536, allocations: 24 kB / 432.5 MB, free: 63.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.004067/0.3577, allocations: 3.257 MB / 435.7 MB, free: 60.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.3578, allocations: 44.25 kB / 435.8 MB, free: 60.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.621e-05/0.3578, allocations: 76 kB / 435.9 MB, free: 60.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.3584, allocations: 288.8 kB / 436.1 MB, free: 60.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.3599, allocations: 0.8583 MB / 437 MB, free: 59.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.3623, allocations: 3.162 MB / 440.2 MB, free: 56.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.3644, allocations: 167.9 kB / 440.3 MB, free: 55.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.3646, allocations: 204 kB / 440.5 MB, free: 55.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 18 (revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[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 (466): * Single equations (assignments): 465 * Array equations: 0 * 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,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001128/0.3657, allocations: 464.6 kB / 441 MB, free: 55.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.3661, allocations: 238.7 kB / 441.2 MB, free: 55.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.3675, allocations: 1.258 MB / 442.5 MB, free: 53.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.3676, allocations: 12 kB / 442.5 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.3676, allocations: 4 kB / 442.5 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.3676, allocations: 11.91 kB / 442.5 MB, free: 53.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004903/0.3725, allocations: 3.377 MB / 445.9 MB, free: 50.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3725, allocations: 4 kB / 445.9 MB, free: 50.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.373, allocations: 212.2 kB / 446.1 MB, free: 50.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003795/0.3734, allocations: 169.1 kB / 446.2 MB, free: 50.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.3735, allocations: 31.98 kB / 446.3 MB, free: 50.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.3753, allocations: 2.486 MB / 448.8 MB, free: 47.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3753, allocations: 4 kB / 448.8 MB, free: 47.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.3773, allocations: 1.737 MB / 450.5 MB, free: 45.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.3778, allocations: 162.8 kB / 450.7 MB, free: 45.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3779, allocations: 27.94 kB / 450.7 MB, free: 45.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.3783, allocations: 28 kB / 450.7 MB, free: 45.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.3785, allocations: 100.8 kB / 450.8 MB, free: 45.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.3785, allocations: 31.94 kB / 450.8 MB, free: 45.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007293/0.3793, allocations: 0.7055 MB / 451.5 MB, free: 44.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.3793, allocations: 0 / 451.5 MB, free: 44.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002817/0.3821, allocations: 0.6289 MB / 452.2 MB, free: 44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (121): * Single equations (assignments): 120 * Array equations: 0 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002668/0.3823, allocations: 138.6 kB / 452.3 MB, free: 43.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.3851, allocations: 2.06 MB / 454.4 MB, free: 41.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.3851, allocations: 0 / 454.4 MB, free: 41.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006899/0.3858, allocations: 0.7385 MB / 455.1 MB, free: 41.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.3871, allocations: 421.5 kB / 455.5 MB, free: 40.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/0.3934, allocations: 4.253 MB / 459.8 MB, free: 36.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.3939, allocations: 0.5548 MB / 460.3 MB, free: 35.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00102/0.395, allocations: 299.2 kB / 460.6 MB, free: 35.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/0.3956, allocations: 422 kB / 461 MB, free: 35.02 MB / 330.7 MB Notification: Performance of SimCode: time 2.545e-06/0.3956, allocations: 4 kB / 461 MB, free: 35.02 MB / 330.7 MB Notification: Performance of Templates: time 0.04114/0.4367, allocations: 27.58 MB / 488.6 MB, free: 7.723 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.MeasureDemo -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.180981807876378]