Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.00236/0.00236, allocations: 93.47 kB / 19.44 MB, free: 336 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.002895/0.002895, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.595/1.595, allocations: 177.1 MB / 203.1 MB, free: 5.262 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.05515/0.05515, allocations: 7.188 MB / 266.7 MB, free: 5.961 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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.578e-05, allocations: 6.031 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.007159/0.007185, allocations: 8.391 MB / 346.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004746/0.01193, allocations: 2.622 MB / 349.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008272/0.01276, allocations: 39.88 kB / 349.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009018/0.01366, allocations: 389.3 kB / 349.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.01714, allocations: 1.489 MB / 351.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.01754, allocations: 155.6 kB / 351.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003403/0.02095, allocations: 2.597 MB / 353.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.02234, allocations: 0.8147 MB / 354.6 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.02441, allocations: 1.399 MB / 356 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.02681, allocations: 1.325 MB / 357.3 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000504/0.02731, allocations: 236 kB / 357.6 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.02908, allocations: 0.8386 MB / 358.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.03046, allocations: 1.27 MB / 359.7 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.03166, allocations: 0.8331 MB / 360.5 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007008/0.03867, allocations: 4.999 MB / 365.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.03867, allocations: 3.984 kB / 365.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.03867, allocations: 0 / 365.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001538/0.03883, allocations: 0 / 365.5 MB, free: 15.05 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: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.01206/0.05089, allocations: 4.616 MB / 370.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.05095, allocations: 12.61 kB / 370.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008179/0.05912, allocations: 2.21 MB / 372.4 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/0.06315, allocations: 1.254 MB / 373.6 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.06334, allocations: 156.1 kB / 373.8 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005492/0.06388, allocations: 204.2 kB / 374 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.07404, allocations: 4.551 MB / 378.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-05/0.07412, allocations: 27.7 kB / 378.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/0.07442, allocations: 99.86 kB / 378.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003595/0.07802, allocations: 1.852 MB / 380.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009359/0.08738, allocations: 2.877 MB / 383.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1864/0.2737, allocations: 36.76 MB / 420.1 MB, free: 54.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.278, allocations: 1.206 MB / 421.3 MB, free: 54.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008424/0.2788, allocations: 399.1 kB / 421.7 MB, free: 54.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006265/0.2851, allocations: 2.767 MB / 424.5 MB, free: 54.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2851, allocations: 45.55 kB / 424.5 MB, free: 54.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.996e-06/0.2851, allocations: 0 / 424.5 MB, free: 54.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.0102/0.2953, allocations: 4.639 MB / 429.2 MB, free: 53.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.2953, allocations: 67.62 kB / 429.2 MB, free: 53.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.298, allocations: 2.631 MB / 431.9 MB, free: 52.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.2981, allocations: 49.48 kB / 431.9 MB, free: 52.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009268/0.299, allocations: 2.445 MB / 434.4 MB, free: 50.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.2993, allocations: 0.6521 MB / 435 MB, free: 49.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.3003, allocations: 1.023 MB / 436 MB, free: 49.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3004, allocations: 0.5385 MB / 436.6 MB, free: 48.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3016, allocations: 0.5468 MB / 437.1 MB, free: 48.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.3037, allocations: 3.848 MB / 441 MB, free: 44.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/0.3071, allocations: 4.761 MB / 445.7 MB, free: 39.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-05/0.3071, allocations: 20 kB / 445.8 MB, free: 39.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=520) (initialization): time 0.005076/0.3122, allocations: 3.477 MB / 449.2 MB, free: 35.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.3122, allocations: 43.94 kB / 449.3 MB, free: 35.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.288e-05/0.3123, allocations: 72 kB / 449.4 MB, free: 35.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004466/0.3127, allocations: 196.3 kB / 449.5 MB, free: 35.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/0.3151, allocations: 0.9007 MB / 450.4 MB, free: 34.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.3165, allocations: 2.45 MB / 452.9 MB, free: 32.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.3186, allocations: 199.9 kB / 453.1 MB, free: 31.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/0.3188, allocations: 234.1 kB / 453.3 MB, free: 31.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (486): * Single equations (assignments): 481 * Array equations: 4 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.3198, allocations: 0.5688 MB / 453.9 MB, free: 31.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.3201, allocations: 238.6 kB / 454.1 MB, free: 30.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.3221, allocations: 1.07 MB / 455.2 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.283e-05/0.3222, allocations: 30.62 kB / 455.2 MB, free: 29.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3222, allocations: 4 kB / 455.2 MB, free: 29.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.3222, allocations: 7.922 kB / 455.2 MB, free: 29.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007786/0.33, allocations: 4.687 MB / 459.9 MB, free: 24.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.33, allocations: 4 kB / 459.9 MB, free: 24.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/0.3309, allocations: 231.7 kB / 460.1 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.3312, allocations: 87.59 kB / 460.2 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.3313, allocations: 27.28 kB / 460.3 MB, free: 24.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.3323, allocations: 2.234 MB / 462.5 MB, free: 22.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3323, allocations: 4 kB / 462.5 MB, free: 22.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.3349, allocations: 1.645 MB / 464.1 MB, free: 20.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.3353, allocations: 182.7 kB / 464.3 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.3355, allocations: 24 kB / 464.3 MB, free: 20.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/0.3362, allocations: 71.86 kB / 464.4 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.3364, allocations: 84.77 kB / 464.5 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/0.3365, allocations: 40 kB / 464.5 MB, free: 20.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001706/0.3382, allocations: 1.118 MB / 465.7 MB, free: 19.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3382, allocations: 0 / 465.7 MB, free: 19.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00279/0.341, allocations: 0.6596 MB / 466.3 MB, free: 18.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * 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 (124): * Single equations (assignments): 119 * Array equations: 4 * 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 {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002773/0.3413, allocations: 154.4 kB / 466.5 MB, free: 18.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003359/0.3446, allocations: 2.282 MB / 468.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3446, allocations: 0 / 468.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000863/0.3455, allocations: 0.6775 MB / 469.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3467, allocations: 289.7 kB / 469.7 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007538/0.3542, allocations: 5.434 MB / 475.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.3559, allocations: 1.816 MB / 477 MB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001985/0.3579, allocations: 0.9982 MB / 478 MB, free: 6.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.3582, allocations: 156.5 kB / 478.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of SimCode: time 1.944e-06/0.3582, allocations: 0 / 478.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of Templates: time 0.03674/0.395, allocations: 19.62 MB / 497.7 MB, free: 3.148 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.535022479016334]