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.0009263/0.0009263, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.0009519/0.0009519, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9785/0.9785, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.03172/0.03172, allocations: 7.187 MB / 268.2 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 1.112e-06/1.112e-06, allocations: 0 / 340.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.972e-05, allocations: 6.031 kB / 340.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.02357/0.02358, allocations: 13.02 MB / 353.1 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008558/0.03214, allocations: 4.027 MB / 357.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.0346, allocations: 63.75 kB / 357.2 MB, free: 9.801 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.03573, allocations: 400.6 kB / 357.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.03824, allocations: 0.9666 MB / 358.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.03967, allocations: 0.9747 MB / 359.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002387/0.04205, allocations: 2.283 MB / 361.8 MB, free: 5.164 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.04396, allocations: 2.057 MB / 363.9 MB, free: 3.035 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.04551, allocations: 1.614 MB / 365.5 MB, free: 1.418 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.04675, allocations: 1.087 MB / 366.6 MB, free: 336 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000354/0.0471, allocations: 308 kB / 366.9 MB, free: 28 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009619/0.04807, allocations: 0.7413 MB / 367.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006205/0.04869, allocations: 1.009 MB / 368.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.0497, allocations: 0.982 MB / 369.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.05191, allocations: 2.561 MB / 372.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.05192, allocations: 0 / 372.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.05192, allocations: 3.938 kB / 372.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.244e-05/0.05196, allocations: 7.938 kB / 372.2 MB, free: 10.71 MB / 346.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.005709/0.05767, allocations: 4.26 MB / 376.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.05771, allocations: 8.625 kB / 376.5 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006001/0.05831, allocations: 0.5302 MB / 377 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.05942, allocations: 1.006 MB / 378 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.05954, allocations: 214 kB / 378.2 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/0.0598, allocations: 292.2 kB / 378.5 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003361/0.06316, allocations: 3.451 MB / 381.9 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-05/0.06324, allocations: 39.67 kB / 382 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.06341, allocations: 132 kB / 382.1 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003364/0.06374, allocations: 428.2 kB / 382.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.06587, allocations: 1.429 MB / 384 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.08016, allocations: 25.54 MB / 409.5 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.08264, allocations: 0.9982 MB / 410.5 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.08299, allocations: 301.5 kB / 410.8 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003039/0.08603, allocations: 2.635 MB / 413.4 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.08605, allocations: 50.33 kB / 413.5 MB, free: 15.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 3.376e-06/0.08606, allocations: 11.92 kB / 413.5 MB, free: 15.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=140): time 0.00989/0.09595, allocations: 5.578 MB / 419.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.09598, allocations: 68.72 kB / 419.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.09727, allocations: 1.665 MB / 420.8 MB, free: 8.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.09733, allocations: 45.7 kB / 420.8 MB, free: 8.289 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007839/0.09811, allocations: 1.887 MB / 422.7 MB, free: 6.379 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.09843, allocations: 0.5737 MB / 423.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006078/0.09904, allocations: 0.782 MB / 424.1 MB, free: 5.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.09917, allocations: 0.5237 MB / 424.6 MB, free: 4.477 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.09962, allocations: 415.3 kB / 425 MB, free: 4.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.1014, allocations: 3.643 MB / 428.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.1043, allocations: 4.584 MB / 433.2 MB, free: 8.855 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-05/0.1043, allocations: 24 kB / 433.3 MB, free: 8.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.003425/0.1077, allocations: 3.255 MB / 436.5 MB, free: 5.566 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.1078, allocations: 40 kB / 436.5 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.956e-05/0.1078, allocations: 80.16 kB / 436.6 MB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/0.1083, allocations: 279.4 kB / 436.9 MB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.1097, allocations: 0.8577 MB / 437.8 MB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.1124, allocations: 3.179 MB / 440.9 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.114, allocations: 163.9 kB / 441.1 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.1142, allocations: 200 kB / 441.3 MB, free: 0.6719 MB / 410.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.0006915/0.1149, allocations: 464.6 kB / 441.7 MB, free: 208 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1509/0.2658, allocations: 234.9 kB / 442 MB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.2677, allocations: 1.263 MB / 443.2 MB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.2677, allocations: 15.19 kB / 443.3 MB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2677, allocations: 3.219 kB / 443.3 MB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.2677, allocations: 6.844 kB / 443.3 MB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.2721, allocations: 3.381 MB / 446.6 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.2721, allocations: 6.219 kB / 446.6 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.2726, allocations: 201.2 kB / 446.8 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003512/0.273, allocations: 167.8 kB / 447 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/0.2731, allocations: 33.27 kB / 447 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.2745, allocations: 2.472 MB / 449.5 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.2745, allocations: 10.31 kB / 449.5 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.2762, allocations: 1.737 MB / 451.3 MB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.2764, allocations: 165.1 kB / 451.4 MB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.2766, allocations: 30.77 kB / 451.5 MB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.2769, allocations: 22.69 kB / 451.5 MB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.277, allocations: 108.5 kB / 451.6 MB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.2771, allocations: 27.34 kB / 451.6 MB, free: 113.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005283/0.2776, allocations: 0.7065 MB / 452.3 MB, free: 113.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2776, allocations: 0 / 452.3 MB, free: 113.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001819/0.2794, allocations: 0.6287 MB / 452.9 MB, free: 113.2 MB / 410.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.0001917/0.2796, allocations: 129 kB / 453.1 MB, free: 113.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.282, allocations: 2.062 MB / 455.1 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.282, allocations: 0 / 455.1 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006227/0.2826, allocations: 0.7475 MB / 455.9 MB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.2836, allocations: 410.5 kB / 456.3 MB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/0.2887, allocations: 4.259 MB / 460.5 MB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.2892, allocations: 0.5515 MB / 461.1 MB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008902/0.2901, allocations: 297.1 kB / 461.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/0.2907, allocations: 425.3 kB / 461.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.094e-06/0.2907, allocations: 0 / 461.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of Templates: time 0.03671/0.3275, allocations: 28.17 MB / 490 MB, free: 103.7 MB / 410.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: 3.6009735399857163]