Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.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.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 180.9 kB / 15.43 MB, free: 5.773 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.302/1.302, allocations: 225.7 MB / 241.9 MB, free: 372 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.0008434/0.0008433, allocations: 100.7 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.04089/0.04089, allocations: 9.086 MB / 353.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 10.58 kB / 416.4 MB, free: 88.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09332, allocations: 52.39 MB / 468.8 MB, free: 40.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01615/0.1095, allocations: 25.6 MB / 494.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.1215, allocations: 7.501 MB / 0.4901 GB, free: 6.812 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004584/0.1261, allocations: 111.7 kB / 0.4902 GB, free: 6.703 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008642/0.127, allocations: 322.4 kB / 0.4905 GB, free: 6.387 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.1298, allocations: 1.327 MB / 0.4918 GB, free: 5.055 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.1302, allocations: 139.8 kB / 0.4919 GB, free: 4.918 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.1329, allocations: 3.779 MB / 0.4956 GB, free: 1.129 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008718/0.1338, allocations: 0.8666 MB / 0.4965 GB, free: 240 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.1348, allocations: 0.8752 MB / 0.4973 GB, free: 15.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.1368, allocations: 1.401 MB / 0.4987 GB, free: 13.95 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.1372, allocations: 144 kB / 0.4988 GB, free: 13.8 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.1387, allocations: 0.7605 MB / 0.4996 GB, free: 13.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.14, allocations: 1.235 MB / 0.5008 GB, free: 11.81 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.1418, allocations: 1.636 MB / 0.5024 GB, free: 10.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00601/0.1478, allocations: 4.842 MB / 0.5071 GB, free: 5.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1479, allocations: 4 kB / 0.5071 GB, free: 5.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1479, allocations: 0 / 0.5071 GB, free: 5.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001428/0.148, allocations: 3.938 kB / 0.5071 GB, free: 5.289 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.006119/0.1542, allocations: 2.922 MB / 0.51 GB, free: 2.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1542, allocations: 8.031 kB / 0.51 GB, free: 2.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006559/0.1608, allocations: 1.884 MB / 0.5118 GB, free: 416 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/0.1643, allocations: 1.421 MB / 0.5132 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.1644, allocations: 164.3 kB / 0.5134 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000435/0.1649, allocations: 212.2 kB / 0.5136 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.1771, allocations: 8.659 MB / 0.522 GB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.127e-05/0.1772, allocations: 23.72 kB / 0.5221 GB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/0.1775, allocations: 103.8 kB / 0.5222 GB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003026/0.1805, allocations: 2.091 MB / 0.5242 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1909/0.3714, allocations: 7.466 MB / 0.5315 GB, free: 61.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03466/0.4061, allocations: 27.09 MB / 0.5579 GB, free: 44.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.4103, allocations: 2.172 MB / 0.5601 GB, free: 43.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.4117, allocations: 0.9451 MB / 0.561 GB, free: 42.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007346/0.4191, allocations: 5.569 MB / 0.5664 GB, free: 38.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.4191, allocations: 47.05 kB / 0.5665 GB, free: 38.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 3.176e-06/0.4191, allocations: 0 / 0.5665 GB, free: 38.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.01097/0.4301, allocations: 6.94 MB / 0.5732 GB, free: 33.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.4301, allocations: 64.41 kB / 0.5733 GB, free: 33.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/0.4332, allocations: 2.904 MB / 0.5761 GB, free: 30.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.4332, allocations: 44.98 kB / 0.5762 GB, free: 30.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008733/0.4341, allocations: 2.359 MB / 0.5785 GB, free: 28.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.4344, allocations: 0.5153 MB / 0.579 GB, free: 27.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.4345, allocations: 89.5 kB / 0.5791 GB, free: 27.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4347, allocations: 487.3 kB / 0.5795 GB, free: 26.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.4363, allocations: 1.336 MB / 0.5808 GB, free: 25.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.4389, allocations: 3.776 MB / 0.5845 GB, free: 20.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004357/0.4433, allocations: 5.474 MB / 0.5899 GB, free: 13.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.07e-05/0.4434, allocations: 28 kB / 0.5899 GB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.006799/0.4502, allocations: 5.577 MB / 0.5954 GB, free: 8.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.4502, allocations: 40 kB / 0.5954 GB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.818e-05/0.4503, allocations: 88 kB / 0.5955 GB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.4509, allocations: 377.9 kB / 0.5958 GB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/0.4532, allocations: 0.9123 MB / 0.5967 GB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005219/0.4584, allocations: 8.266 MB / 0.6048 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.4616, allocations: 228.9 kB / 0.605 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004909/0.4621, allocations: 257.9 kB / 0.6053 GB, free: 13.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[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 (505): * Single equations (assignments): 495 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,10,66.7%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002766/0.4649, allocations: 1.701 MB / 0.6069 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.4652, allocations: 236.9 kB / 0.6072 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/0.4685, allocations: 2.237 MB / 0.6093 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001658/0.4687, allocations: 45.16 kB / 0.6094 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.4687, allocations: 7.938 kB / 0.6094 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.4688, allocations: 4.266 kB / 0.6094 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009072/0.4778, allocations: 5.774 MB / 0.615 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.4779, allocations: 0 / 0.615 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.4786, allocations: 179.7 kB / 0.6152 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000355/0.4789, allocations: 156 kB / 0.6153 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.479, allocations: 29.16 kB / 0.6154 GB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/0.4824, allocations: 4.688 MB / 0.62 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4824, allocations: 4 kB / 0.62 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/0.4865, allocations: 2.994 MB / 0.6229 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/0.4871, allocations: 337.9 kB / 0.6232 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.4874, allocations: 33.41 kB / 0.6232 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/0.4882, allocations: 55.94 kB / 0.6233 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4883, allocations: 84.89 kB / 0.6234 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/0.4884, allocations: 37.33 kB / 0.6234 GB, free: 10.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002729/0.4911, allocations: 1.851 MB / 0.6252 GB, free: 8.258 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4912, allocations: 0 / 0.6252 GB, free: 8.258 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003348/0.4945, allocations: 0.7254 MB / 0.6259 GB, free: 7.539 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (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 (103): * Single equations (assignments): 95 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,2,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.0003294/0.4949, allocations: 160.4 kB / 0.6261 GB, free: 7.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00581/0.5007, allocations: 3.673 MB / 0.6297 GB, free: 3.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5007, allocations: 4 kB / 0.6297 GB, free: 3.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.5022, allocations: 1.115 MB / 0.6308 GB, free: 2.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.505, allocations: 388.1 kB / 0.6311 GB, free: 2.129 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.5177, allocations: 8.583 MB / 0.6395 GB, free: 9.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/0.5205, allocations: 2.75 MB / 0.6422 GB, free: 6.703 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003036/0.5236, allocations: 1.21 MB / 0.6434 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.524, allocations: 175.4 kB / 0.6435 GB, free: 5.316 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.524, allocations: 0 / 0.6435 GB, free: 5.316 MB / 410.7 MB Notification: Performance of Templates: time 0.04682/0.5708, allocations: 25.29 MB / 0.6682 GB, free: 12.21 MB / 442.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1)