Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 179.9 kB / 15.43 MB, free: 5.762 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.454/1.454, 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.0008787/0.0008784, allocations: 100.7 kB / 293 MB, free: 4.801 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.03969/0.03969, allocations: 9.091 MB / 353.3 MB, free: 3.051 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004421, allocations: 8 kB / 416.4 MB, free: 3.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2652, allocations: 52.38 MB / 468.8 MB, free: 68.13 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.01722/0.2825, allocations: 24.83 MB / 493.6 MB, free: 43.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2947, allocations: 7.377 MB / 0.4892 GB, free: 35.51 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004395/0.2991, allocations: 95.81 kB / 0.4893 GB, free: 35.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009358/0.3001, allocations: 310.5 kB / 0.4896 GB, free: 35.11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.303, allocations: 1.308 MB / 0.4909 GB, free: 33.8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.3033, allocations: 123.9 kB / 0.491 GB, free: 33.68 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002817/0.3062, allocations: 3.498 MB / 0.4944 GB, free: 30.17 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.3073, allocations: 0.8396 MB / 0.4952 GB, free: 29.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.3084, allocations: 0.8128 MB / 0.496 GB, free: 28.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.3097, allocations: 1.304 MB / 0.4973 GB, free: 27.17 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.31, allocations: 128 kB / 0.4974 GB, free: 27.05 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.3112, allocations: 0.7682 MB / 0.4982 GB, free: 26.28 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007559/0.312, allocations: 1.114 MB / 0.4993 GB, free: 25.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000969/0.313, allocations: 1.492 MB / 0.5007 GB, free: 23.65 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.316, allocations: 4.496 MB / 0.5051 GB, free: 19.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.316, allocations: 0 / 0.5051 GB, free: 19.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.316, allocations: 0 / 0.5051 GB, free: 19.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.883e-05/0.3161, allocations: 0 / 0.5051 GB, free: 19.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.005962/0.3221, allocations: 3.251 MB / 0.5083 GB, free: 15.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3221, allocations: 16.03 kB / 0.5083 GB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005653/0.3278, allocations: 1.802 MB / 0.5101 GB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.33, allocations: 1.355 MB / 0.5114 GB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.3301, allocations: 152 kB / 0.5115 GB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.3304, allocations: 199.7 kB / 0.5117 GB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009657/0.3401, allocations: 7.951 MB / 0.5195 GB, free: 3.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.323e-05/0.3402, allocations: 31.7 kB / 0.5195 GB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.3404, allocations: 95.86 kB / 0.5196 GB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002268/0.3427, allocations: 1.844 MB / 0.5214 GB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.3552, allocations: 7.137 MB / 0.5284 GB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03258/0.3878, allocations: 24.17 MB / 0.552 GB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2018/0.5896, allocations: 2.362 MB / 0.5543 GB, free: 86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.5919, allocations: 0.8256 MB / 0.5551 GB, free: 85.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006854/0.5987, allocations: 4.739 MB / 0.5597 GB, free: 83.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.5988, allocations: 45.25 kB / 0.5598 GB, free: 83.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.206e-06/0.5988, allocations: 0 / 0.5598 GB, free: 83.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.01311/0.6119, allocations: 7.07 MB / 0.5667 GB, free: 80.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.612, allocations: 66.11 kB / 0.5667 GB, free: 80.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003145/0.6152, allocations: 2.598 MB / 0.5693 GB, free: 79.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-05/0.6153, allocations: 46.08 kB / 0.5693 GB, free: 79.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007866/0.6161, allocations: 2.087 MB / 0.5714 GB, free: 77.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.6164, allocations: 0.5635 MB / 0.5719 GB, free: 77.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.6165, allocations: 75.64 kB / 0.572 GB, free: 77.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6167, allocations: 476.4 kB / 0.5724 GB, free: 76.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.6184, allocations: 1.304 MB / 0.5737 GB, free: 76.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.6206, allocations: 3.432 MB / 0.5771 GB, free: 72.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/0.6246, allocations: 5.097 MB / 0.582 GB, free: 66.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-05/0.6247, allocations: 20 kB / 0.5821 GB, free: 66.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005923/0.6306, allocations: 4.794 MB / 0.5867 GB, free: 62.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.6307, allocations: 36 kB / 0.5868 GB, free: 62.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-05/0.6307, allocations: 76 kB / 0.5868 GB, free: 62.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.631, allocations: 188.8 kB / 0.587 GB, free: 61.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.6333, allocations: 0.9123 MB / 0.5879 GB, free: 60.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.6348, allocations: 2.172 MB / 0.59 GB, free: 58.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.637, allocations: 215.9 kB / 0.5902 GB, free: 58.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.6372, allocations: 229.7 kB / 0.5905 GB, free: 58.18 MB / 378.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 (478): * Single equations (assignments): 473 * 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.001685/0.6389, allocations: 1.559 MB / 0.592 GB, free: 56.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.6391, allocations: 225.6 kB / 0.5922 GB, free: 56.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.6416, allocations: 1.96 MB / 0.5941 GB, free: 54.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-05/0.6417, allocations: 27.98 kB / 0.5941 GB, free: 54.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6417, allocations: 0 / 0.5941 GB, free: 54.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6417, allocations: 8.906 kB / 0.5941 GB, free: 54.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00693/0.6487, allocations: 5.653 MB / 0.5997 GB, free: 48.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.6487, allocations: 4 kB / 0.5997 GB, free: 48.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000838/0.6495, allocations: 239.7 kB / 0.5999 GB, free: 48.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.6497, allocations: 84.97 kB / 0.6 GB, free: 48.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.6498, allocations: 25.33 kB / 0.6 GB, free: 48.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.6511, allocations: 1.928 MB / 0.6019 GB, free: 46.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6511, allocations: 0 / 0.6019 GB, free: 46.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.6546, allocations: 3.049 MB / 0.6049 GB, free: 43.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/0.6552, allocations: 314.2 kB / 0.6052 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.6554, allocations: 24 kB / 0.6052 GB, free: 42.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/0.6562, allocations: 79.91 kB / 0.6053 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.6563, allocations: 84.75 kB / 0.6053 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/0.6564, allocations: 41.33 kB / 0.6054 GB, free: 42.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002074/0.6585, allocations: 1.672 MB / 0.607 GB, free: 40.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6585, allocations: 0 / 0.607 GB, free: 40.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00269/0.6612, allocations: 0.6643 MB / 0.6077 GB, free: 40.23 MB / 378.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.0003143/0.6615, allocations: 156 kB / 0.6078 GB, free: 40.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004208/0.6658, allocations: 3.126 MB / 0.6109 GB, free: 36.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6658, allocations: 0 / 0.6109 GB, free: 36.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.6669, allocations: 0.9946 MB / 0.6118 GB, free: 35.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.669, allocations: 357.9 kB / 0.6122 GB, free: 35.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008249/0.6772, allocations: 8.006 MB / 0.62 GB, free: 27.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.6791, allocations: 2.563 MB / 0.6225 GB, free: 24.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002482/0.6816, allocations: 1.204 MB / 0.6237 GB, free: 23.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.682, allocations: 171.4 kB / 0.6238 GB, free: 23.57 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.682, allocations: 0 / 0.6238 GB, free: 23.57 MB / 378.7 MB Notification: Performance of Templates: time 0.03661/0.7186, allocations: 23.31 MB / 0.6466 GB, free: 444 kB / 378.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile (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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1)