Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.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.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") translateModel(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008391/0.0008392, allocations: 174.7 kB / 15.43 MB, free: 6.203 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.365/1.365, allocations: 225.7 MB / 241.9 MB, free: 14.64 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.0007365/0.0007366, allocations: 95.95 kB / 293 MB, free: 4.773 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.04167/0.04167, allocations: 9.094 MB / 353.3 MB, free: 3.039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003218, allocations: 12 kB / 416.4 MB, free: 3.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2212, allocations: 52.38 MB / 468.8 MB, free: 68.12 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.01876/0.24, allocations: 28.04 MB / 496.8 MB, free: 40 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.2523, allocations: 7.999 MB / 0.493 GB, free: 31.67 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003752/0.2561, allocations: 111.8 kB / 0.4931 GB, free: 31.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.2568, allocations: 298.5 kB / 0.4934 GB, free: 31.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.2591, allocations: 1.331 MB / 0.4947 GB, free: 29.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.2594, allocations: 119.9 kB / 0.4948 GB, free: 29.81 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.2615, allocations: 3.548 MB / 0.4982 GB, free: 26.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.2622, allocations: 0.8077 MB / 0.499 GB, free: 25.42 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005822/0.2628, allocations: 0.8245 MB / 0.4998 GB, free: 24.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.2638, allocations: 1.315 MB / 0.5011 GB, free: 23.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.264, allocations: 128 kB / 0.5012 GB, free: 23.14 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009662/0.265, allocations: 0.7488 MB / 0.502 GB, free: 22.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00061/0.2656, allocations: 1.137 MB / 0.5031 GB, free: 21.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008044/0.2664, allocations: 1.512 MB / 0.5046 GB, free: 19.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.269, allocations: 4.531 MB / 0.509 GB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.269, allocations: 8 kB / 0.509 GB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.269, allocations: 0 / 0.509 GB, free: 15.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.702e-05/0.2691, allocations: 4 kB / 0.509 GB, free: 15.17 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: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.00628/0.2754, allocations: 3.698 MB / 0.5126 GB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2754, allocations: 8.031 kB / 0.5126 GB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005214/0.2806, allocations: 1.814 MB / 0.5144 GB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2823, allocations: 1.357 MB / 0.5157 GB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.2824, allocations: 152.1 kB / 0.5159 GB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.2827, allocations: 203.7 kB / 0.5161 GB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008515/0.2913, allocations: 8.231 MB / 0.5241 GB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.883e-05/0.2913, allocations: 23.81 kB / 0.5241 GB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.2916, allocations: 95.86 kB / 0.5242 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002637/0.2942, allocations: 1.911 MB / 0.5261 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.3061, allocations: 7.387 MB / 0.5333 GB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2368/0.5429, allocations: 25.61 MB / 0.5583 GB, free: 70.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005596/0.5485, allocations: 2.614 MB / 0.5609 GB, free: 70.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.5497, allocations: 0.9069 MB / 0.5617 GB, free: 70.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005958/0.5557, allocations: 5.092 MB / 0.5667 GB, free: 67.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.5557, allocations: 42.84 kB / 0.5668 GB, free: 67.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 3.567e-06/0.5558, allocations: 0 / 0.5668 GB, free: 67.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=176): time 0.01111/0.5669, allocations: 5.454 MB / 0.5721 GB, free: 65.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.5669, allocations: 67.25 kB / 0.5721 GB, free: 65.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/0.5697, allocations: 2.596 MB / 0.5747 GB, free: 64.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.5698, allocations: 50.64 kB / 0.5747 GB, free: 64.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008163/0.5706, allocations: 2.098 MB / 0.5768 GB, free: 62.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.571, allocations: 0.6467 MB / 0.5774 GB, free: 62.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.5711, allocations: 85.31 kB / 0.5775 GB, free: 62.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5713, allocations: 485.5 kB / 0.578 GB, free: 61.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.573, allocations: 1.356 MB / 0.5793 GB, free: 61.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.5754, allocations: 3.609 MB / 0.5828 GB, free: 57.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004261/0.5797, allocations: 5.406 MB / 0.5881 GB, free: 51.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.736e-05/0.5797, allocations: 24 kB / 0.5881 GB, free: 51.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.006603/0.5863, allocations: 5.184 MB / 0.5932 GB, free: 46.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.5864, allocations: 40 kB / 0.5932 GB, free: 45.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.759e-05/0.5865, allocations: 80 kB / 0.5933 GB, free: 45.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007663/0.5872, allocations: 358 kB / 0.5936 GB, free: 45.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.5895, allocations: 0.9162 MB / 0.5945 GB, free: 44.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/0.5932, allocations: 3.834 MB / 0.5983 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.5958, allocations: 199.9 kB / 0.5985 GB, free: 40.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/0.596, allocations: 244 kB / 0.5987 GB, free: 40.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 358 * Number of states: 0 () * Number of discrete variables: 18 (revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[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 (498): * Single equations (assignments): 493 * 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,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002278/0.5983, allocations: 1.608 MB / 0.6003 GB, free: 38.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/0.5987, allocations: 232.9 kB / 0.6005 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.6019, allocations: 2.331 MB / 0.6028 GB, free: 36.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.09e-05/0.602, allocations: 34.17 kB / 0.6028 GB, free: 36.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.602, allocations: 7.938 kB / 0.6028 GB, free: 36.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.602, allocations: 7.969 kB / 0.6028 GB, free: 36.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00858/0.6106, allocations: 6.474 MB / 0.6091 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.6106, allocations: 8.406 kB / 0.6091 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.6114, allocations: 243.7 kB / 0.6094 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005867/0.612, allocations: 264.2 kB / 0.6096 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/0.6121, allocations: 28 kB / 0.6096 GB, free: 28.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.6149, allocations: 3.144 MB / 0.6127 GB, free: 25.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6149, allocations: 4 kB / 0.6127 GB, free: 25.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003967/0.6189, allocations: 3.596 MB / 0.6162 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/0.6195, allocations: 314.5 kB / 0.6165 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.6198, allocations: 24.66 kB / 0.6165 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007248/0.6205, allocations: 86.08 kB / 0.6166 GB, free: 21.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.6207, allocations: 111.6 kB / 0.6167 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.6208, allocations: 51.98 kB / 0.6168 GB, free: 21.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001954/0.6228, allocations: 1.661 MB / 0.6184 GB, free: 19.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.6228, allocations: 0 / 0.6184 GB, free: 19.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002831/0.6256, allocations: 0.7239 MB / 0.6191 GB, free: 18.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.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 (132): * Single equations (assignments): 127 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003288/0.6259, allocations: 168.4 kB / 0.6193 GB, free: 18.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004332/0.6303, allocations: 3.394 MB / 0.6226 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6303, allocations: 0 / 0.6226 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.6316, allocations: 1.17 MB / 0.6237 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.6341, allocations: 374 kB / 0.6241 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/0.6429, allocations: 8.367 MB / 0.6323 GB, free: 5.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/0.6449, allocations: 2.627 MB / 0.6348 GB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002617/0.6475, allocations: 1.275 MB / 0.6361 GB, free: 1.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.6479, allocations: 179.4 kB / 0.6362 GB, free: 1.305 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6479, allocations: 0 / 0.6362 GB, free: 1.305 MB / 378.7 MB Notification: Performance of Templates: time 0.04716/0.695, allocations: 25.72 MB / 0.6614 GB, free: 7.777 MB / 410.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.DoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe 2>&1)