Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 110.4 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.0442/0.0442, allocations: 9.12 MB / 300.3 MB, free: 5.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 59.91 kB / 415.3 MB, free: 21.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07503/0.07614, allocations: 51.44 MB / 466.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.008029/0.08419, allocations: 8.176 MB / 474.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004194/0.08841, allocations: 2.521 MB / 477.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008074/0.08924, allocations: 31.94 kB / 477.5 MB, free: 7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008248/0.09008, allocations: 353.7 kB / 477.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.09297, allocations: 1.354 MB / 479.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.0934, allocations: 123.7 kB / 479.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002659/0.09608, allocations: 2.447 MB / 481.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.09716, allocations: 0.8055 MB / 482.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.09835, allocations: 0.8637 MB / 483.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.09998, allocations: 1.257 MB / 484.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005334/0.1005, allocations: 220 kB / 484.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.1021, allocations: 0.8075 MB / 485.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.1034, allocations: 1.212 MB / 486.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.1052, allocations: 1.545 MB / 488.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.1103, allocations: 4.951 MB / 493.4 MB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1103, allocations: 0 / 493.4 MB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1103, allocations: 4 kB / 493.4 MB, free: 7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.1104, allocations: 0 / 493.4 MB, free: 7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1172 * Number of variables: 1172 Notification: Performance of Generate backend data structure: time 0.006683/0.1171, allocations: 3.261 MB / 496.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1172, allocations: 8.031 kB / 496.7 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00677/0.1239, allocations: 1.771 MB / 498.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.1265, allocations: 1.294 MB / 499.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.635e-05/0.1266, allocations: 139.8 kB / 499.9 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004449/0.127, allocations: 192.2 kB / 0.4883 GB, free: 232 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.1378, allocations: 8.065 MB / 0.4962 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/0.1379, allocations: 15.88 kB / 0.4962 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003135/0.1382, allocations: 91.86 kB / 0.4963 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003214/0.1414, allocations: 2 MB / 0.4983 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2026/0.344, allocations: 7.133 MB / 0.5052 GB, free: 39.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.3728, allocations: 24.07 MB / 0.5287 GB, free: 24.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003746/0.3766, allocations: 2.149 MB / 0.5308 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009441/0.3776, allocations: 0.725 MB / 0.5315 GB, free: 22.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004546/0.3821, allocations: 3.991 MB / 0.5354 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3822, allocations: 43.5 kB / 0.5355 GB, free: 18.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 3.667e-06/0.3822, allocations: 0 / 0.5355 GB, free: 18.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.007282/0.3895, allocations: 4.375 MB / 0.5398 GB, free: 16.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.3895, allocations: 63.91 kB / 0.5398 GB, free: 16.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.3919, allocations: 2.578 MB / 0.5423 GB, free: 15.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.392, allocations: 36.77 kB / 0.5424 GB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007228/0.3927, allocations: 2.118 MB / 0.5444 GB, free: 13.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.3929, allocations: 456.6 kB / 0.5449 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006668/0.3936, allocations: 0.7585 MB / 0.5456 GB, free: 12.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.3936, allocations: 301.1 kB / 0.5459 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.3951, allocations: 1.171 MB / 0.547 GB, free: 10.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.3971, allocations: 3.317 MB / 0.5503 GB, free: 6.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/0.4007, allocations: 4.793 MB / 0.555 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/0.4007, allocations: 24 kB / 0.555 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.00638/0.4071, allocations: 4.426 MB / 0.5593 GB, free: 12.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.4072, allocations: 39.94 kB / 0.5594 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.386e-05/0.4073, allocations: 76 kB / 0.5594 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.4074, allocations: 104 kB / 0.5595 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/0.4097, allocations: 0.8383 MB / 0.5603 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001098/0.4099, allocations: 147.4 kB / 0.5605 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.4118, allocations: 180.2 kB / 0.5607 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/0.4121, allocations: 227.1 kB / 0.5609 GB, free: 10.69 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (459): * Single equations (assignments): 454 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002081/0.4142, allocations: 1.574 MB / 0.5624 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.4144, allocations: 217.2 kB / 0.5626 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.4167, allocations: 1.405 MB / 0.564 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.4168, allocations: 7.969 kB / 0.564 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.4168, allocations: 1.312 kB / 0.564 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/0.4172, allocations: 282.4 kB / 0.5643 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.4174, allocations: 16 kB / 0.5643 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.4181, allocations: 44.83 kB / 0.5643 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4182, allocations: 48.92 kB / 0.5644 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002242/0.4205, allocations: 1.339 MB / 0.5657 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003048/0.4235, allocations: 2.305 MB / 0.5679 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007572/0.4243, allocations: 0.57 MB / 0.5685 GB, free: 2.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002367/0.4267, allocations: 1.655 MB / 0.5701 GB, free: 1.184 MB / 398.1 MB Notification: Performance of Backend: time 2.31e-07/0.4267, allocations: 0 / 0.5701 GB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00411/0.4308, allocations: 2.275 MB / 0.5723 GB, free: 14.95 MB / 414.1 MB Notification: Performance of SimCode: time 0.01019/0.441, allocations: 6.63 MB / 0.5788 GB, free: 8.305 MB / 414.1 MB Notification: Performance of Templates: time 0.05309/0.4941, allocations: 31.34 MB / 0.6094 GB, free: 9.105 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1)