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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 107 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 250 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04598/0.04598, allocations: 9.232 MB / 314.3 MB, free: 80 kB / 238.1 MB [Timeout remaining time 90] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 63.89 kB / 437.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.115, allocations: 54.25 MB / 492 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.0153/0.1302, allocations: 13.84 MB / 0.494 GB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009713/0.14, allocations: 4.05 MB / 0.498 GB, free: 4.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.1423, allocations: 59.88 kB / 0.498 GB, free: 4.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.1435, allocations: 392.7 kB / 0.4984 GB, free: 3.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.146, allocations: 0.9244 MB / 0.4993 GB, free: 2.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.1478, allocations: 0.9869 MB / 0.5003 GB, free: 1.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2725/0.4203, allocations: 2.22 MB / 0.5024 GB, free: 5.059 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003453/0.4237, allocations: 2.127 MB / 0.5045 GB, free: 4.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.4253, allocations: 1.027 MB / 0.5055 GB, free: 4.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.427, allocations: 1.279 MB / 0.5068 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000533/0.4275, allocations: 309.7 kB / 0.507 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.429, allocations: 0.7404 MB / 0.5078 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009762/0.43, allocations: 0.9806 MB / 0.5087 GB, free: 4.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.4314, allocations: 1.486 MB / 0.5102 GB, free: 4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005517/0.4369, allocations: 3.906 MB / 0.514 GB, free: 2.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4369, allocations: 0 / 0.514 GB, free: 2.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4369, allocations: 1.406 kB / 0.514 GB, free: 2.785 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001561/0.4371, allocations: 0 / 0.514 GB, free: 2.785 MB / 366.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.0117/0.4488, allocations: 4.233 MB / 0.5181 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4488, allocations: 10.12 kB / 0.5181 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006479/0.4495, allocations: 306.9 kB / 0.5184 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.4513, allocations: 1.146 MB / 0.5196 GB, free: 156 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.4515, allocations: 212.1 kB / 0.5198 GB, free: 64 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005072/0.452, allocations: 304.5 kB / 0.52 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008497/0.4605, allocations: 4.738 MB / 0.5247 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.4606, allocations: 42.72 kB / 0.5247 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/0.4609, allocations: 127.3 kB / 0.5248 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005115/0.4614, allocations: 428.9 kB / 0.5252 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006918/0.4683, allocations: 3.373 MB / 0.5285 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02387/0.4922, allocations: 21.6 MB / 0.5496 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005048/0.4972, allocations: 1.886 MB / 0.5515 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.4983, allocations: 0.6674 MB / 0.5521 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007323/0.5057, allocations: 5.551 MB / 0.5575 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.5057, allocations: 39.56 kB / 0.5576 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.867e-06/0.5057, allocations: 4 kB / 0.5576 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.02217/0.5279, allocations: 9.589 MB / 0.567 GB, free: 5.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.5279, allocations: 64.72 kB / 0.567 GB, free: 5.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.5304, allocations: 1.822 MB / 0.5688 GB, free: 3.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.412e-05/0.5305, allocations: 49.69 kB / 0.5688 GB, free: 3.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.5318, allocations: 1.808 MB / 0.5706 GB, free: 1.781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005074/0.5323, allocations: 0.553 MB / 0.5711 GB, free: 1.234 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009899/0.5333, allocations: 0.7469 MB / 0.5719 GB, free: 492 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5335, allocations: 361.9 kB / 0.5722 GB, free: 124 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.5353, allocations: 1.214 MB / 0.5734 GB, free: 14.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003667/0.539, allocations: 3.418 MB / 0.5767 GB, free: 10.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006275/0.5452, allocations: 5.118 MB / 0.5817 GB, free: 4.562 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.29e-05/0.5453, allocations: 24 kB / 0.5818 GB, free: 4.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.007491/0.5528, allocations: 4.818 MB / 0.5865 GB, free: 188 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.5528, allocations: 36 kB / 0.5865 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-05/0.5529, allocations: 80 kB / 0.5866 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008978/0.5538, allocations: 366.9 kB / 0.5869 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/0.5564, allocations: 0.8937 MB / 0.5878 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005858/0.5622, allocations: 4.305 MB / 0.592 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.565, allocations: 211.8 kB / 0.5922 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/0.5653, allocations: 236 kB / 0.5924 GB, free: 9.988 MB / 446.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.001863/0.5671, allocations: 0.9218 MB / 0.5933 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.5675, allocations: 198.7 kB / 0.5935 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/0.5718, allocations: 2.591 MB / 0.5961 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.5718, allocations: 12.88 kB / 0.5961 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.5718, allocations: 4 kB / 0.5961 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.5719, allocations: 11.91 kB / 0.5961 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.5836, allocations: 6.425 MB / 0.6024 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.5836, allocations: 4 kB / 0.6024 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.5846, allocations: 271.5 kB / 0.6026 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007045/0.5853, allocations: 265.1 kB / 0.6029 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.873e-05/0.5854, allocations: 31.92 kB / 0.6029 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004509/0.5899, allocations: 3.46 MB / 0.6063 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.5899, allocations: 7.938 kB / 0.6063 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005919/0.5959, allocations: 3.893 MB / 0.6101 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.5969, allocations: 259.8 kB / 0.6103 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.5971, allocations: 27.98 kB / 0.6104 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008621/0.598, allocations: 103.9 kB / 0.6105 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.5982, allocations: 96.75 kB / 0.6106 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/0.5983, allocations: 39.98 kB / 0.6106 GB, free: 7.055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00203/0.6004, allocations: 1.088 MB / 0.6117 GB, free: 5.977 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6004, allocations: 0 / 0.6117 GB, free: 5.977 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00345/0.6038, allocations: 0.6328 MB / 0.6123 GB, free: 5.344 MB / 462.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.0003038/0.6041, allocations: 146.1 kB / 0.6124 GB, free: 5.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005234/0.6093, allocations: 3.198 MB / 0.6155 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6094, allocations: 0 / 0.6155 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.6111, allocations: 1.213 MB / 0.6167 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.6128, allocations: 451.6 kB / 0.6172 GB, free: 356 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008334/0.6211, allocations: 5.233 MB / 0.6223 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.6229, allocations: 1.829 MB / 0.6241 GB, free: 9.168 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006261/0.6235, allocations: 175.4 kB / 0.6242 GB, free: 8.996 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6235, allocations: 0 / 0.6242 GB, free: 8.996 MB / 478.1 MB Notification: Performance of Templates: time 0.06708/0.6906, allocations: 44.67 MB / 0.6678 GB, free: 12.39 MB / 0.5137 GB [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]