Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 177.2 kB / 15.43 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007583/0.0007582, allocations: 95.78 kB / 293 MB, free: 4.77 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04126/0.04126, allocations: 9.093 MB / 353.3 MB, free: 3.062 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 11.98 kB / 416.4 MB, free: 3.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2041, allocations: 52.38 MB / 468.8 MB, free: 68.14 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.02768/0.2319, allocations: 42.79 MB / 0.4996 GB, free: 25.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.2501, allocations: 13.2 MB / 0.5125 GB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009823/0.26, allocations: 191.6 kB / 0.5126 GB, free: 11.11 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.2621, allocations: 0.5714 MB / 0.5132 GB, free: 10.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005626/0.2678, allocations: 2.414 MB / 0.5156 GB, free: 8.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.269, allocations: 0.5149 MB / 0.5161 GB, free: 7.594 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006039/0.2751, allocations: 7.172 MB / 0.5231 GB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004946/0.28, allocations: 3.598 MB / 0.5266 GB, free: 12.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.283, allocations: 1.599 MB / 0.5281 GB, free: 11.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003542/0.2865, allocations: 2.499 MB / 0.5306 GB, free: 8.539 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008941/0.2875, allocations: 204 kB / 0.5308 GB, free: 8.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.2902, allocations: 1.069 MB / 0.5318 GB, free: 7.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00224/0.2925, allocations: 2.138 MB / 0.5339 GB, free: 5.125 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00277/0.2953, allocations: 2.649 MB / 0.5365 GB, free: 2.453 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008984/0.3043, allocations: 8.011 MB / 0.5443 GB, free: 10.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.3043, allocations: 0 / 0.5443 GB, free: 10.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.3043, allocations: 0 / 0.5443 GB, free: 10.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003051/0.3046, allocations: 3.938 kB / 0.5443 GB, free: 10.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2075 * Number of variables: 2075 Notification: Performance of Generate backend data structure: time 0.01338/0.318, allocations: 5.431 MB / 0.5496 GB, free: 4.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3181, allocations: 12.03 kB / 0.5496 GB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.3295, allocations: 3.487 MB / 0.553 GB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2105/0.54, allocations: 2.744 MB / 0.5557 GB, free: 84.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.5403, allocations: 272.7 kB / 0.556 GB, free: 84.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008675/0.5411, allocations: 354.8 kB / 0.5563 GB, free: 84.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/0.5589, allocations: 14.02 MB / 0.57 GB, free: 77.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.245e-05/0.5591, allocations: 53.09 kB / 0.5701 GB, free: 77.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004196/0.5595, allocations: 182 kB / 0.5702 GB, free: 77.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003461/0.563, allocations: 3.137 MB / 0.5733 GB, free: 74.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01898/0.582, allocations: 12.16 MB / 0.5852 GB, free: 62.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05346/0.6355, allocations: 52.08 MB / 0.636 GB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.6458, allocations: 5.055 MB / 0.641 GB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002319/0.6482, allocations: 1.791 MB / 0.6427 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0128/0.661, allocations: 8.011 MB / 0.6505 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.6611, allocations: 59.81 kB / 0.6506 GB, free: 10.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=242): time 5.23e-06/0.6611, allocations: 0 / 0.6506 GB, free: 10.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=272): time 0.02874/0.6898, allocations: 14.41 MB / 0.6647 GB, free: 11.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.69, allocations: 158.5 kB / 0.6648 GB, free: 11.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007853/0.6978, allocations: 5.343 MB / 0.67 GB, free: 6.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003865/0.6983, allocations: 61.7 kB / 0.6701 GB, free: 5.973 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00287/0.7011, allocations: 4.092 MB / 0.6741 GB, free: 1.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.7022, allocations: 1.034 MB / 0.6751 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.7026, allocations: 160 kB / 0.6753 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004481/0.703, allocations: 0.6615 MB / 0.6759 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003773/0.7068, allocations: 2.511 MB / 0.6784 GB, free: 13.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007547/0.7144, allocations: 7.337 MB / 0.6855 GB, free: 3.699 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/0.7265, allocations: 10.71 MB / 0.696 GB, free: 6.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/0.7266, allocations: 48 kB / 0.696 GB, free: 6.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.0165/0.7431, allocations: 9.865 MB / 0.7057 GB, free: 12.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.7433, allocations: 80 kB / 0.7057 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001953/0.7435, allocations: 168 kB / 0.7059 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009155/0.7444, allocations: 466 kB / 0.7063 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005264/0.7497, allocations: 1.852 MB / 0.7081 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005335/0.755, allocations: 4.888 MB / 0.7129 GB, free: 4.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/0.7598, allocations: 415.5 kB / 0.7133 GB, free: 4.566 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006288/0.7605, allocations: 496 kB / 0.7138 GB, free: 4.082 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 772 * 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 (1008): * Single equations (assignments): 998 * Array equations: 8 * 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.004169/0.7646, allocations: 2.856 MB / 0.7166 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006531/0.7653, allocations: 461.9 kB / 0.717 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.7698, allocations: 2.967 MB / 0.7199 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/0.7698, allocations: 28 kB / 0.7199 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.7699, allocations: 8 kB / 0.7199 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/0.7699, allocations: 11.95 kB / 0.72 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.7842, allocations: 9.096 MB / 0.7288 GB, free: 4.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.7843, allocations: 8.844 kB / 0.7289 GB, free: 4.438 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.7858, allocations: 387.4 kB / 0.7292 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006271/0.7864, allocations: 241.4 kB / 0.7295 GB, free: 3.816 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.7866, allocations: 59.97 kB / 0.7295 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2124/0.9989, allocations: 4.024 MB / 0.7334 GB, free: 155.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/0.999, allocations: 13.06 kB / 0.7335 GB, free: 155.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007755/1.007, allocations: 5.63 MB / 0.7389 GB, free: 154.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.008, allocations: 0.5217 MB / 0.7395 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/1.008, allocations: 55.7 kB / 0.7395 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.01, allocations: 106.6 kB / 0.7396 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/1.01, allocations: 157.8 kB / 0.7398 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.01, allocations: 83.25 kB / 0.7398 GB, free: 154.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004649/1.015, allocations: 3.337 MB / 0.7431 GB, free: 153.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.015, allocations: 1.062 kB / 0.7431 GB, free: 153.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005904/1.021, allocations: 1.26 MB / 0.7443 GB, free: 153 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (207): * Single equations (assignments): 199 * 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.0004065/1.021, allocations: 196.3 kB / 0.7445 GB, free: 152.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009905/1.031, allocations: 6.131 MB / 0.7505 GB, free: 150.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.031, allocations: 0 / 0.7505 GB, free: 150.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002163/1.033, allocations: 1.79 MB / 0.7523 GB, free: 150 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007303/1.041, allocations: 0.6243 MB / 0.7529 GB, free: 149.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/1.06, allocations: 15.08 MB / 0.7676 GB, free: 140.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003641/1.063, allocations: 4.237 MB / 0.7717 GB, free: 137.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005781/1.069, allocations: 2.705 MB / 0.7744 GB, free: 135.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/1.07, allocations: 334.2 kB / 0.7747 GB, free: 135.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/1.07, allocations: 0 / 0.7747 GB, free: 135.3 MB / 474.7 MB Notification: Performance of Templates: time 0.06787/1.138, allocations: 42.93 MB / 0.8166 GB, free: 93.29 MB / 474.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile (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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1)