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.001331/0.001331, allocations: 84.73 kB / 19.44 MB, free: 356 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.001515/0.001515, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.444/1.444, allocations: 177.1 MB / 203.1 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.04887/0.04887, allocations: 7.173 MB / 266.7 MB, free: 6.109 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.413e-06/1.413e-06, allocations: 0 / 338.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.631e-05, allocations: 2.312 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.01081/0.01084, allocations: 11.94 MB / 350.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009713/0.02055, allocations: 3.974 MB / 354 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.02261, allocations: 63.75 kB / 354.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.02379, allocations: 396.7 kB / 354.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.02696, allocations: 0.9627 MB / 355.5 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.02892, allocations: 0.9826 MB / 356.4 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003415/0.03234, allocations: 2.283 MB / 358.7 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.03532, allocations: 2.057 MB / 360.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.03774, allocations: 1.594 MB / 362.4 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.03942, allocations: 0.9854 MB / 363.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004539/0.03988, allocations: 308 kB / 363.7 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.04119, allocations: 0.7374 MB / 364.4 MB, free: 152 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.04224, allocations: 1.009 MB / 365.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.04357, allocations: 0.9664 MB / 366.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005304/0.04888, allocations: 3.945 MB / 370.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.04888, allocations: 0 / 370.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.04889, allocations: 0 / 370.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.113e-05/0.04898, allocations: 3.938 kB / 370.3 MB, free: 10.2 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.01144/0.06041, allocations: 4.213 MB / 374.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.06046, allocations: 12.62 kB / 374.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.0615, allocations: 0.5419 MB / 375.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.06366, allocations: 1.085 MB / 376.2 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.06388, allocations: 210.1 kB / 376.4 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000699/0.06458, allocations: 288.3 kB / 376.7 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009339/0.07392, allocations: 4.764 MB / 381.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.07403, allocations: 31.72 kB / 381.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.07432, allocations: 128 kB / 381.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006568/0.07497, allocations: 436.2 kB / 382 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007868/0.08284, allocations: 3.381 MB / 385.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/0.1097, allocations: 20.43 MB / 405.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005296/0.115, allocations: 1.542 MB / 407.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.1163, allocations: 0.6674 MB / 408 MB, free: 3.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1167/0.233, allocations: 3.442 MB / 411.5 MB, free: 79.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.233, allocations: 48.78 kB / 411.5 MB, free: 79.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=102): time 3.005e-06/0.233, allocations: 0 / 411.5 MB, free: 79.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.02121/0.2542, allocations: 9.486 MB / 421 MB, free: 77.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.2543, allocations: 67.66 kB / 421.1 MB, free: 77.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.256, allocations: 1.785 MB / 422.9 MB, free: 76.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.77e-05/0.2561, allocations: 45.55 kB / 422.9 MB, free: 76.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/0.2567, allocations: 1.799 MB / 424.7 MB, free: 74.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.257, allocations: 0.5456 MB / 425.2 MB, free: 74.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00072/0.2578, allocations: 0.7391 MB / 426 MB, free: 73.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.271e-05/0.2578, allocations: 345.9 kB / 426.3 MB, free: 73.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.2592, allocations: 1.214 MB / 427.5 MB, free: 72.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.2611, allocations: 3.42 MB / 431 MB, free: 67.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.265, allocations: 5.114 MB / 436.1 MB, free: 61.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.268e-05/0.2651, allocations: 23.5 kB / 436.1 MB, free: 61.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.006199/0.2713, allocations: 5.013 MB / 441.1 MB, free: 56.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.2713, allocations: 36 kB / 441.1 MB, free: 56.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.205e-05/0.2714, allocations: 80 kB / 441.2 MB, free: 56.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000873/0.2722, allocations: 394.1 kB / 441.6 MB, free: 55.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.2746, allocations: 0.8928 MB / 442.5 MB, free: 55.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/0.2788, allocations: 4.152 MB / 446.6 MB, free: 50.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.2815, allocations: 211.8 kB / 446.9 MB, free: 50.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002764/0.2818, allocations: 232 kB / 447.1 MB, free: 50.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 352 * 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 (464): * Single equations (assignments): 463 * 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.001417/0.2832, allocations: 0.9313 MB / 448 MB, free: 49.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/0.2836, allocations: 226.8 kB / 448.2 MB, free: 49.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/0.2871, allocations: 2.578 MB / 450.8 MB, free: 46.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.2871, allocations: 12 kB / 450.8 MB, free: 46.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.2871, allocations: 4 kB / 450.8 MB, free: 46.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.2871, allocations: 11.97 kB / 450.8 MB, free: 46.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008519/0.2956, allocations: 5.787 MB / 456.6 MB, free: 40.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.2956, allocations: 4.469 kB / 456.6 MB, free: 40.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009802/0.2966, allocations: 275.6 kB / 456.9 MB, free: 40.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006731/0.2973, allocations: 285.9 kB / 457.2 MB, free: 40.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.194e-05/0.2974, allocations: 32 kB / 457.2 MB, free: 40.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/0.3005, allocations: 3.317 MB / 460.5 MB, free: 36.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3005, allocations: 7.938 kB / 460.5 MB, free: 36.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/0.3046, allocations: 3.923 MB / 464.5 MB, free: 32.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.305, allocations: 158.8 kB / 464.6 MB, free: 32.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.3052, allocations: 32 kB / 464.6 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/0.306, allocations: 103.8 kB / 464.7 MB, free: 32.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.3062, allocations: 100.7 kB / 464.8 MB, free: 32.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/0.3062, allocations: 44 kB / 464.9 MB, free: 32.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001208/0.3074, allocations: 0.9751 MB / 465.9 MB, free: 31.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3074, allocations: 0 / 465.9 MB, free: 31.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002486/0.3099, allocations: 0.6289 MB / 466.5 MB, free: 30.74 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.000242/0.3102, allocations: 146 kB / 466.6 MB, free: 30.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004135/0.3143, allocations: 3.193 MB / 469.8 MB, free: 27.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.3143, allocations: 7.391 kB / 469.8 MB, free: 27.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.3156, allocations: 1.209 MB / 471 MB, free: 26.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.3172, allocations: 419.9 kB / 471.5 MB, free: 25.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006279/0.3235, allocations: 5.032 MB / 476.5 MB, free: 20.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.3246, allocations: 1.251 MB / 477.7 MB, free: 19.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001802/0.3264, allocations: 0.8462 MB / 478.6 MB, free: 18.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/0.3269, allocations: 152.5 kB / 478.7 MB, free: 18.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3269, allocations: 0 / 478.7 MB, free: 18.4 MB / 330.7 MB Notification: Performance of Templates: time 0.03888/0.3658, allocations: 26.03 MB / 0.4929 GB, free: 8.582 MB / 346.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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.25013396400027]