Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.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.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") translateModel(PlanarMechanics.Examples.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 181 kB / 15.43 MB, free: 5.77 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.301/1.301, allocations: 225.7 MB / 241.9 MB, free: 404 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.0007823/0.0007824, allocations: 95.61 kB / 293.1 MB, free: 12.9 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.0402/0.0402, allocations: 9.09 MB / 353.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002948, allocations: 8.188 kB / 416.4 MB, free: 88.19 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07966/0.07997, allocations: 52.4 MB / 468.8 MB, free: 40.35 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.02525/0.1053, allocations: 40.16 MB / 0.497 GB, free: 72 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.1238, allocations: 10.54 MB / 0.5073 GB, free: 5.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007022/0.1308, allocations: 163.7 kB / 0.5074 GB, free: 5.012 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.1322, allocations: 377.9 kB / 0.5078 GB, free: 4.641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.1362, allocations: 1.467 MB / 0.5092 GB, free: 3.168 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.1367, allocations: 187.7 kB / 0.5094 GB, free: 2.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003945/0.1406, allocations: 4.07 MB / 0.5134 GB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.142, allocations: 1.046 MB / 0.5144 GB, free: 13.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.1433, allocations: 0.9878 MB / 0.5154 GB, free: 12.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.1449, allocations: 1.533 MB / 0.5169 GB, free: 11.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003145/0.1453, allocations: 156 kB / 0.517 GB, free: 11.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.1466, allocations: 0.7839 MB / 0.5178 GB, free: 10.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.1476, allocations: 1.297 MB / 0.5191 GB, free: 9.059 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.1492, allocations: 1.768 MB / 0.5208 GB, free: 7.273 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.1543, allocations: 5.142 MB / 0.5258 GB, free: 2.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1543, allocations: 0 / 0.5258 GB, free: 2.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1543, allocations: 3.938 kB / 0.5258 GB, free: 2.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001518/0.1545, allocations: 0 / 0.5258 GB, free: 2.105 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1368 * Number of variables: 1368 Notification: Performance of Generate backend data structure: time 0.2048/0.3593, allocations: 4.967 MB / 0.5307 GB, free: 67.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3594, allocations: 9.375 kB / 0.5307 GB, free: 67.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006902/0.3663, allocations: 1.875 MB / 0.5325 GB, free: 66.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0039/0.3702, allocations: 1.559 MB / 0.534 GB, free: 66.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.3705, allocations: 187.4 kB / 0.5342 GB, free: 66.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007168/0.3712, allocations: 244.8 kB / 0.5344 GB, free: 66.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.3842, allocations: 9.29 MB / 0.5435 GB, free: 63.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.54e-05/0.3843, allocations: 33.7 kB / 0.5435 GB, free: 63.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003358/0.3847, allocations: 121.9 kB / 0.5437 GB, free: 63.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003028/0.3877, allocations: 2.071 MB / 0.5457 GB, free: 62.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/0.4037, allocations: 8.208 MB / 0.5537 GB, free: 56.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03629/0.44, allocations: 30.03 MB / 0.583 GB, free: 26.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006196/0.4463, allocations: 3.024 MB / 0.586 GB, free: 22.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.4477, allocations: 1.112 MB / 0.5871 GB, free: 21.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006118/0.4538, allocations: 6.287 MB / 0.5932 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4539, allocations: 55.86 kB / 0.5932 GB, free: 14.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 4.398e-06/0.4539, allocations: 0 / 0.5932 GB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=233): time 0.01954/0.4734, allocations: 8.296 MB / 0.6014 GB, free: 6.445 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.4735, allocations: 73.41 kB / 0.6014 GB, free: 6.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004384/0.4779, allocations: 3.038 MB / 0.6044 GB, free: 3.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.4781, allocations: 65.7 kB / 0.6045 GB, free: 3.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.4793, allocations: 2.428 MB / 0.6068 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006765/0.48, allocations: 0.8392 MB / 0.6076 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/0.4803, allocations: 96 kB / 0.6077 GB, free: 15.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004162/0.4807, allocations: 0.5169 MB / 0.6082 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002932/0.4837, allocations: 1.61 MB / 0.6098 GB, free: 13.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004891/0.4886, allocations: 4.236 MB / 0.6139 GB, free: 8.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008699/0.4973, allocations: 6.37 MB / 0.6202 GB, free: 0.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.156e-05/0.4974, allocations: 24 kB / 0.6202 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of matching and sorting (n=659) (initialization): time 0.01158/0.509, allocations: 6.447 MB / 0.6265 GB, free: 10.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.5091, allocations: 44 kB / 0.6265 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/0.5093, allocations: 88 kB / 0.6266 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.5111, allocations: 0.7077 MB / 0.6273 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/0.5145, allocations: 1.053 MB / 0.6283 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.5267, allocations: 11.09 MB / 0.6392 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/0.5307, allocations: 259.8 kB / 0.6394 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009355/0.5317, allocations: 287.9 kB / 0.6397 GB, free: 12.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 574 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,17,100.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.003781/0.5355, allocations: 1.793 MB / 0.6414 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006279/0.5361, allocations: 280.3 kB / 0.6417 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005804/0.5419, allocations: 3.12 MB / 0.6448 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001157/0.5421, allocations: 31.98 kB / 0.6448 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/0.5421, allocations: 8 kB / 0.6448 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.5421, allocations: 11.95 kB / 0.6448 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.5583, allocations: 8.299 MB / 0.6529 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.558e-05/0.5584, allocations: 4 kB / 0.6529 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.5596, allocations: 303.5 kB / 0.6532 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.561, allocations: 0.5311 MB / 0.6537 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/0.5612, allocations: 47.92 kB / 0.6538 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008966/0.5702, allocations: 9.172 MB / 0.6627 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/0.5702, allocations: 15.86 kB / 0.6627 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007656/0.5779, allocations: 4.665 MB / 0.6673 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.5789, allocations: 373.4 kB / 0.6676 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000658/0.5796, allocations: 44 kB / 0.6677 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.581, allocations: 91.89 kB / 0.6678 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/0.5813, allocations: 149.7 kB / 0.6679 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/0.5815, allocations: 63.98 kB / 0.668 GB, free: 14.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003613/0.5851, allocations: 1.945 MB / 0.6699 GB, free: 12.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5852, allocations: 0 / 0.6699 GB, free: 12.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004694/0.5899, allocations: 0.9009 MB / 0.6708 GB, free: 11.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute4.phi,revolute4.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 (170): * Single equations (assignments): 161 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,15,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005938/0.5905, allocations: 194.6 kB / 0.6709 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007589/0.5981, allocations: 4.66 MB / 0.6755 GB, free: 6.484 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.5981, allocations: 4.375 kB / 0.6755 GB, free: 6.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002663/0.6008, allocations: 1.965 MB / 0.6774 GB, free: 4.441 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/0.6046, allocations: 450.8 kB / 0.6778 GB, free: 4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.6213, allocations: 9.859 MB / 0.6875 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004299/0.6257, allocations: 2.932 MB / 0.6903 GB, free: 7.102 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003783/0.6295, allocations: 1.378 MB / 0.6917 GB, free: 5.719 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006492/0.6302, allocations: 211.4 kB / 0.6919 GB, free: 5.512 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6302, allocations: 0 / 0.6919 GB, free: 5.512 MB / 458.7 MB Notification: Performance of Templates: time 0.2489/0.8791, allocations: 34.09 MB / 0.7252 GB, free: 133.5 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.sim & ./PlanarMechanics_PlanarMechanics.Examples.KinematicLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe 2>&1)