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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 107 kB / 16.41 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 191.7 kB / 19.35 MB, free: 3.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04707/0.04707, allocations: 9.138 MB / 306.3 MB, free: 3.762 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00201/0.00201, allocations: 63.89 kB / 423.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1311, allocations: 51.44 MB / 474.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.01658/0.1477, allocations: 13.79 MB / 488.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.1603, allocations: 4.03 MB / 492.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003493/0.1638, allocations: 55.88 kB / 492.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.1652, allocations: 384.7 kB / 493 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.1689, allocations: 0.9049 MB / 494 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.171, allocations: 0.9754 MB / 494.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0038/0.1748, allocations: 2.23 MB / 497.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003658/0.1785, allocations: 2.758 MB / 499.9 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.18, allocations: 1.02 MB / 0.4892 GB, free: 6.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.1818, allocations: 1.237 MB / 0.4904 GB, free: 4.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004534/0.1823, allocations: 312 kB / 0.4907 GB, free: 4.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.1836, allocations: 0.714 MB / 0.4914 GB, free: 3.973 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.1847, allocations: 0.9623 MB / 0.4923 GB, free: 3.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.1863, allocations: 1.489 MB / 0.4938 GB, free: 1.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.1913, allocations: 3.899 MB / 0.4976 GB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1913, allocations: 0 / 0.4976 GB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1913, allocations: 0 / 0.4976 GB, free: 13.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.925e-05/0.1914, allocations: 0 / 0.4976 GB, free: 13.6 MB / 382.1 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.0109/0.2023, allocations: 4.234 MB / 0.5017 GB, free: 9.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/0.2024, allocations: 12.03 kB / 0.5017 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006719/0.2031, allocations: 310.9 kB / 0.502 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.205, allocations: 1.144 MB / 0.5032 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.2052, allocations: 214 kB / 0.5034 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004334/0.2056, allocations: 299.8 kB / 0.5036 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008904/0.2146, allocations: 4.736 MB / 0.5083 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.2147, allocations: 39.75 kB / 0.5083 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/0.215, allocations: 128 kB / 0.5084 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006234/0.2157, allocations: 428.2 kB / 0.5088 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2879/0.5036, allocations: 3.369 MB / 0.5121 GB, free: 41.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/0.5257, allocations: 21.59 MB / 0.5332 GB, free: 26.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/0.5304, allocations: 1.918 MB / 0.5351 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.5315, allocations: 0.6927 MB / 0.5358 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006255/0.5378, allocations: 5.558 MB / 0.5412 GB, free: 20.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.5378, allocations: 43.69 kB / 0.5412 GB, free: 20.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 3.176e-06/0.5378, allocations: 0 / 0.5412 GB, free: 20.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.02069/0.5585, allocations: 9.6 MB / 0.5506 GB, free: 15.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.5586, allocations: 64.72 kB / 0.5507 GB, free: 15.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.5606, allocations: 1.819 MB / 0.5525 GB, free: 13.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/0.5607, allocations: 53.7 kB / 0.5525 GB, free: 13.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000703/0.5614, allocations: 1.807 MB / 0.5543 GB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.5617, allocations: 0.5451 MB / 0.5548 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006993/0.5624, allocations: 0.7508 MB / 0.5555 GB, free: 10.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.5625, allocations: 353.9 kB / 0.5559 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.5639, allocations: 1.229 MB / 0.5571 GB, free: 8.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.5662, allocations: 3.412 MB / 0.5604 GB, free: 4.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005635/0.5718, allocations: 5.12 MB / 0.5654 GB, free: 13.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-05/0.5719, allocations: 24 kB / 0.5654 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.00945/0.5814, allocations: 4.821 MB / 0.5701 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.5815, allocations: 36.94 kB / 0.5702 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-05/0.5815, allocations: 80 kB / 0.5702 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009423/0.5825, allocations: 375.8 kB / 0.5706 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/0.5853, allocations: 0.8929 MB / 0.5715 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006049/0.5913, allocations: 4.289 MB / 0.5757 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/0.594, allocations: 219.8 kB / 0.5759 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/0.5943, allocations: 228 kB / 0.5761 GB, free: 2.82 MB / 398.1 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.001604/0.5959, allocations: 0.9287 MB / 0.577 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.5963, allocations: 210.6 kB / 0.5772 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/0.6008, allocations: 2.603 MB / 0.5797 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/0.6008, allocations: 12 kB / 0.5798 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6009, allocations: 7.938 kB / 0.5798 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.6009, allocations: 7.922 kB / 0.5798 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.6125, allocations: 6.432 MB / 0.586 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.6126, allocations: 4 kB / 0.5861 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.6137, allocations: 271.6 kB / 0.5863 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007091/0.6144, allocations: 260.6 kB / 0.5866 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.079e-05/0.6145, allocations: 31.94 kB / 0.5866 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/0.619, allocations: 3.45 MB / 0.59 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.619, allocations: 8 kB / 0.59 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/0.6247, allocations: 3.917 MB / 0.5938 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/0.6253, allocations: 249.2 kB / 0.594 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.6255, allocations: 35.94 kB / 0.5941 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/0.6264, allocations: 103.9 kB / 0.5942 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.6266, allocations: 96.7 kB / 0.5943 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.6267, allocations: 32 kB / 0.5943 GB, free: 15.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.6284, allocations: 1.092 MB / 0.5954 GB, free: 14.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6284, allocations: 0 / 0.5954 GB, free: 14.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002804/0.6312, allocations: 0.6367 MB / 0.596 GB, free: 14.14 MB / 430.1 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.0002661/0.6315, allocations: 139 kB / 0.5961 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005389/0.6369, allocations: 3.319 MB / 0.5993 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6369, allocations: 4.5 kB / 0.5994 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.6387, allocations: 1.271 MB / 0.6006 GB, free: 9.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.6407, allocations: 455.3 kB / 0.601 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00842/0.6491, allocations: 5.055 MB / 0.606 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/0.651, allocations: 1.826 MB / 0.6077 GB, free: 1.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002126/0.6531, allocations: 0.8589 MB / 0.6086 GB, free: 1.121 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.6536, allocations: 155.3 kB / 0.6087 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6537, allocations: 0 / 0.6087 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of Templates: time 0.05244/0.7061, allocations: 27.53 MB / 0.6356 GB, free: 5.504 MB / 462.1 MB " [Timeout remaining time 659] 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.879410213790834]