Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.0006479/0.0006479, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009458/0.001594, allocations: 444 kB / 10.41 MB, free: 276 kB / 10.45 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.0006857/0.0006857, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009288/0.001614, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.9152/0.9152, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08375/0.9989, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.02827/0.02827, allocations: 7.179 MB / 251.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004039/0.03231, allocations: 2.557 MB / 253.9 MB, free: 5.203 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.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 255.2 MB, free: 3.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.923e-05, allocations: 2.312 kB / 255.2 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.01046/0.01048, allocations: 13.75 MB / 268.9 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007813/0.0183, allocations: 4.756 MB / 273.7 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.02035, allocations: 87.62 kB / 273.7 MB, free: 1.254 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1181/0.1385, allocations: 1.681 MB / 275.4 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00561/0.1441, allocations: 2.667 MB / 278.1 MB, free: 1.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1452, allocations: 0.5689 MB / 278.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00629/0.1515, allocations: 5.529 MB / 284.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003218/0.1547, allocations: 2.782 MB / 287 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003797/0.1585, allocations: 2.859 MB / 289.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.1616, allocations: 2.526 MB / 292.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.1626, allocations: 387.3 kB / 292.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.1647, allocations: 1.198 MB / 293.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.1663, allocations: 2.16 MB / 296.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.1679, allocations: 1.238 MB / 297.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005117/0.173, allocations: 5.364 MB / 302.7 MB, free: 7.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.173, allocations: 5.062 kB / 302.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.173, allocations: 0 / 302.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000256/0.1732, allocations: 0 / 302.7 MB, free: 7.117 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2081 * Number of variables: 2081 Notification: Performance of Generate backend data structure: time 0.008306/0.1816, allocations: 7.037 MB / 309.7 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1816, allocations: 9.641 kB / 309.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.186, allocations: 1.798 MB / 311.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.1886, allocations: 2.121 MB / 313.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.1887, allocations: 272.6 kB / 313.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/0.1892, allocations: 358.6 kB / 314.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008448/0.1976, allocations: 6.467 MB / 320.8 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.1977, allocations: 58.95 kB / 320.8 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004131/0.1981, allocations: 175.9 kB / 321 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003163/0.2013, allocations: 2.643 MB / 323.6 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008154/0.2095, allocations: 3.477 MB / 327.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03875/0.2482, allocations: 40.08 MB / 367.2 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005623/0.2538, allocations: 2.779 MB / 370 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.2544, allocations: 466.6 kB / 370.4 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00609/0.2605, allocations: 4.443 MB / 374.9 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.2606, allocations: 55.88 kB / 374.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=240): time 3.817e-06/0.2606, allocations: 0 / 374.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=268): time 0.01262/0.2732, allocations: 6.598 MB / 381.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.2733, allocations: 154.5 kB / 381.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.2762, allocations: 3.933 MB / 385.6 MB, free: 5.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.2763, allocations: 61.7 kB / 385.7 MB, free: 5.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.2779, allocations: 4.096 MB / 389.8 MB, free: 1.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/0.2785, allocations: 1.042 MB / 390.8 MB, free: 0.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.2797, allocations: 1.573 MB / 392.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.2798, allocations: 305.1 kB / 392.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.2813, allocations: 0.9926 MB / 393.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/0.2848, allocations: 5.734 MB / 399.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005992/0.2908, allocations: 8.082 MB / 407.5 MB, free: 10.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.608e-05/0.2908, allocations: 48 kB / 407.5 MB, free: 10.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.006615/0.2975, allocations: 5.555 MB / 413.1 MB, free: 5.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/0.2975, allocations: 80 kB / 413.2 MB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/0.2977, allocations: 188.1 kB / 413.3 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006442/0.2983, allocations: 429.5 kB / 413.8 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/0.3016, allocations: 2.043 MB / 415.8 MB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.3043, allocations: 3.737 MB / 419.5 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/0.3081, allocations: 355.7 kB / 419.9 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005414/0.3087, allocations: 428 kB / 420.3 MB, free: 13.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1029): * Single equations (assignments): 1021 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,17,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001592/0.3103, allocations: 0.7776 MB / 421.1 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004962/0.3108, allocations: 291.6 kB / 421.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.3123, allocations: 1.223 MB / 422.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/0.3123, allocations: 24 kB / 422.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3123, allocations: 7.938 kB / 422.6 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.3123, allocations: 11.95 kB / 422.6 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00692/0.3192, allocations: 5.083 MB / 427.7 MB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-05/0.3193, allocations: 19.98 kB / 427.7 MB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009279/0.3202, allocations: 379.5 kB / 428.1 MB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007912/0.321, allocations: 377 kB / 428.5 MB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007262/0.3217, allocations: 411 kB / 428.9 MB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.3218, allocations: 55.94 kB / 428.9 MB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.3238, allocations: 2.966 MB / 431.9 MB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.3238, allocations: 11.94 kB / 431.9 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1354/0.4591, allocations: 2.285 MB / 434.2 MB, free: 125 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007432/0.4599, allocations: 54.09 kB / 434.2 MB, free: 125 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008853/0.4608, allocations: 41.75 kB / 434.3 MB, free: 125 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.461, allocations: 160.4 kB / 434.4 MB, free: 125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-05/0.4611, allocations: 63.08 kB / 434.5 MB, free: 125 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001726/0.4629, allocations: 1.422 MB / 435.9 MB, free: 124.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4629, allocations: 0.8125 kB / 435.9 MB, free: 124.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003795/0.4666, allocations: 1.288 MB / 437.2 MB, free: 124.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel,prismatic3D.s,prismatic3D.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 (203): * Single equations (assignments): 195 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,15,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003384/0.467, allocations: 190.2 kB / 437.4 MB, free: 124.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004246/0.4712, allocations: 3.635 MB / 441 MB, free: 124.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002567/0.4715, allocations: 131.9 kB / 441.2 MB, free: 124.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.4735, allocations: 1.608 MB / 442.8 MB, free: 123.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.4759, allocations: 3.5 MB / 446.3 MB, free: 121.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.489, allocations: 10.12 MB / 456.4 MB, free: 117.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.4903, allocations: 1.647 MB / 458 MB, free: 117.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001592/0.4919, allocations: 0.6442 MB / 458.7 MB, free: 117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/0.4927, allocations: 0.6667 MB / 459.3 MB, free: 116.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.4927, allocations: 0 / 459.3 MB, free: 116.9 MB / 410.7 MB Notification: Performance of Templates: time 0.0515/0.5442, allocations: 36.23 MB / 495.6 MB, free: 88.61 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.361506726592779]