Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.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.WheelBasedCranCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab") translateModel(PlanarMechanics.Examples.WheelBasedCranCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 180.9 kB / 15.43 MB, free: 6.207 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.297/1.297, allocations: 225.7 MB / 241.9 MB, free: 380 kB / 186.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.0008091/0.0008091, allocations: 94.44 kB / 293.1 MB, free: 12.89 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.04159/0.04159, allocations: 9.103 MB / 353.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003173, allocations: 8.734 kB / 416.4 MB, free: 88.26 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08358/0.08392, allocations: 52.4 MB / 468.8 MB, free: 40.33 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCranCrab): time 0.01599/0.09995, allocations: 24.39 MB / 493.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009574/0.1096, allocations: 7.226 MB / 0.4886 GB, free: 8.309 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/0.1133, allocations: 99.81 kB / 0.4887 GB, free: 8.211 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.1141, allocations: 298.5 kB / 0.489 GB, free: 7.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.1177, allocations: 1.312 MB / 0.4903 GB, free: 6.602 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.1182, allocations: 83.91 kB / 0.4904 GB, free: 6.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.1209, allocations: 3.432 MB / 0.4937 GB, free: 3.078 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.1219, allocations: 0.7514 MB / 0.4945 GB, free: 2.301 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.1232, allocations: 0.7856 MB / 0.4952 GB, free: 1.512 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.1249, allocations: 1.261 MB / 0.4965 GB, free: 252 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005109/0.1254, allocations: 128 kB / 0.4966 GB, free: 124 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.127, allocations: 0.741 MB / 0.4973 GB, free: 15.38 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.1283, allocations: 1.118 MB / 0.4984 GB, free: 14.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.1298, allocations: 1.461 MB / 0.4998 GB, free: 12.78 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00432/0.1342, allocations: 4.469 MB / 0.5042 GB, free: 8.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1342, allocations: 0 / 0.5042 GB, free: 8.297 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1342, allocations: 0 / 0.5042 GB, free: 8.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.224e-05/0.1343, allocations: 4 kB / 0.5042 GB, free: 8.293 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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.009304/0.1436, allocations: 4.086 MB / 0.5082 GB, free: 4.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1436, allocations: 12.03 kB / 0.5082 GB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006572/0.1502, allocations: 1.798 MB / 0.51 GB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.153, allocations: 1.322 MB / 0.5113 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.1532, allocations: 147.9 kB / 0.5114 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004665/0.1536, allocations: 184.1 kB / 0.5116 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.1656, allocations: 8.341 MB / 0.5197 GB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.05e-05/0.1657, allocations: 27.72 kB / 0.5197 GB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/0.166, allocations: 87.86 kB / 0.5198 GB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/0.1686, allocations: 1.946 MB / 0.5217 GB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2243/0.3929, allocations: 7.514 MB / 0.5291 GB, free: 61.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03157/0.4245, allocations: 26.37 MB / 0.5548 GB, free: 46.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006155/0.4307, allocations: 2.595 MB / 0.5573 GB, free: 45.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.432, allocations: 0.8645 MB / 0.5582 GB, free: 44.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006734/0.4388, allocations: 5.774 MB / 0.5638 GB, free: 39.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4389, allocations: 45.41 kB / 0.5639 GB, free: 39.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=141): time 3.366e-06/0.4389, allocations: 4 kB / 0.5639 GB, free: 39.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=156): time 0.01301/0.4519, allocations: 6.923 MB / 0.5706 GB, free: 36.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.452, allocations: 67.86 kB / 0.5707 GB, free: 35.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/0.4551, allocations: 2.597 MB / 0.5732 GB, free: 33.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.535e-05/0.4552, allocations: 45.7 kB / 0.5733 GB, free: 33.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008937/0.4561, allocations: 2.137 MB / 0.5754 GB, free: 31.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/0.4565, allocations: 0.5862 MB / 0.5759 GB, free: 30.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.4566, allocations: 81.17 kB / 0.576 GB, free: 30.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4568, allocations: 491.3 kB / 0.5765 GB, free: 30.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.4584, allocations: 1.296 MB / 0.5778 GB, free: 29.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.4608, allocations: 3.695 MB / 0.5814 GB, free: 24.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/0.4651, allocations: 5.417 MB / 0.5867 GB, free: 17.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.781e-05/0.4652, allocations: 28 kB / 0.5867 GB, free: 17.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.006594/0.4718, allocations: 5.078 MB / 0.5916 GB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.4718, allocations: 40 kB / 0.5917 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.886e-05/0.4719, allocations: 84 kB / 0.5918 GB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.4725, allocations: 266.1 kB / 0.592 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.4747, allocations: 0.9322 MB / 0.5929 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.4773, allocations: 2.922 MB / 0.5958 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.4795, allocations: 200.6 kB / 0.596 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.4798, allocations: 257.7 kB / 0.5962 GB, free: 7.668 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (510): * Single equations (assignments): 505 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001862/0.4816, allocations: 1.609 MB / 0.5978 GB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.4819, allocations: 225.7 kB / 0.598 GB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.4845, allocations: 1.956 MB / 0.5999 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.801e-05/0.4846, allocations: 33.69 kB / 0.5999 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4846, allocations: 0 / 0.5999 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4846, allocations: 7.969 kB / 0.5999 GB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00756/0.4922, allocations: 5.957 MB / 0.6058 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.4922, allocations: 4 kB / 0.6058 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/0.493, allocations: 212.3 kB / 0.606 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/0.4935, allocations: 172.7 kB / 0.6061 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/0.4935, allocations: 31.94 kB / 0.6062 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.496, allocations: 2.411 MB / 0.6085 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.477e-05/0.496, allocations: 16.05 kB / 0.6085 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/0.5, allocations: 3.109 MB / 0.6116 GB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/0.5006, allocations: 318.1 kB / 0.6119 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.5008, allocations: 28.28 kB / 0.6119 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/0.5015, allocations: 59.94 kB / 0.612 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.5017, allocations: 104.7 kB / 0.6121 GB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.84e-05/0.5018, allocations: 55.66 kB / 0.6121 GB, free: 7.008 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00222/0.504, allocations: 1.645 MB / 0.6137 GB, free: 5.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.504, allocations: 0 / 0.6137 GB, free: 5.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002703/0.5067, allocations: 0.6861 MB / 0.6144 GB, free: 4.664 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,revolute.phi,revolute.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 (118): * Single equations (assignments): 113 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003517/0.5071, allocations: 173.3 kB / 0.6146 GB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004795/0.5119, allocations: 3.215 MB / 0.6177 GB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5119, allocations: 4.062 kB / 0.6177 GB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.5133, allocations: 1.009 MB / 0.6187 GB, free: 272 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.5161, allocations: 358.2 kB / 0.619 GB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.5273, allocations: 8.277 MB / 0.6271 GB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002705/0.5301, allocations: 2.583 MB / 0.6296 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003101/0.5332, allocations: 1.279 MB / 0.6309 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.5336, allocations: 175.4 kB / 0.631 GB, free: 3.473 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5336, allocations: 0 / 0.631 GB, free: 3.473 MB / 394.7 MB Notification: Performance of Templates: time 0.04201/0.5756, allocations: 23.74 MB / 0.6542 GB, free: 11.91 MB / 426.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe 2>&1)