Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 103.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04826/0.04826, allocations: 9.248 MB / 311.9 MB, free: 0.7773 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.89 kB / 434.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1134, allocations: 54.26 MB / 488.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.00865/0.122, allocations: 7.038 MB / 495.8 MB, free: 128 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004517/0.1265, allocations: 2.379 MB / 498.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006712/0.1272, allocations: 27.94 kB / 498.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007028/0.1279, allocations: 322 kB / 498.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002762/0.1307, allocations: 1.3 MB / 499.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.131, allocations: 83.83 kB / 499.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002657/0.1336, allocations: 2.157 MB / 0.4903 GB, free: 9.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008/0.1344, allocations: 0.6022 MB / 0.4909 GB, free: 9.227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009345/0.1353, allocations: 0.7471 MB / 0.4916 GB, free: 8.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.1369, allocations: 1.246 MB / 0.4929 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.1373, allocations: 204 kB / 0.4931 GB, free: 7.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.1388, allocations: 0.8385 MB / 0.4939 GB, free: 6.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.1399, allocations: 1.087 MB / 0.4949 GB, free: 5.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.1412, allocations: 1.355 MB / 0.4963 GB, free: 3.734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00596/0.1472, allocations: 4.509 MB / 0.5007 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1472, allocations: 0 / 0.5007 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1472, allocations: 4 kB / 0.5007 GB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.435e-05/0.1473, allocations: 0 / 0.5007 GB, free: 15.2 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.007638/0.1549, allocations: 3.429 MB / 0.504 GB, free: 11.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.155, allocations: 12.03 kB / 0.504 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006549/0.1615, allocations: 1.731 MB / 0.5057 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.1639, allocations: 1.198 MB / 0.5069 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.164, allocations: 123.3 kB / 0.507 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/0.1644, allocations: 160.2 kB / 0.5072 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.1759, allocations: 7.212 MB / 0.5142 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.547e-05/0.176, allocations: 19.83 kB / 0.5142 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.1763, allocations: 75.88 kB / 0.5143 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2732/0.4495, allocations: 1.727 MB / 0.516 GB, free: 33.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/0.4651, allocations: 6.594 MB / 0.5224 GB, free: 31.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04754/0.5126, allocations: 21.15 MB / 0.5431 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006058/0.5187, allocations: 1.956 MB / 0.545 GB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.5199, allocations: 0.6339 MB / 0.5456 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005808/0.5257, allocations: 3.28 MB / 0.5488 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.5258, allocations: 46.84 kB / 0.5488 GB, free: 13.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 4.538e-06/0.5258, allocations: 4 kB / 0.5489 GB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01523/0.541, allocations: 5.572 MB / 0.5543 GB, free: 8.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5411, allocations: 64.34 kB / 0.5544 GB, free: 8.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/0.5451, allocations: 2.274 MB / 0.5566 GB, free: 6.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.5452, allocations: 41.7 kB / 0.5566 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.5462, allocations: 1.915 MB / 0.5585 GB, free: 4.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.5466, allocations: 471.7 kB / 0.5589 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009268/0.5475, allocations: 0.6711 MB / 0.5596 GB, free: 2.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.5476, allocations: 305.1 kB / 0.5599 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.5495, allocations: 1.096 MB / 0.561 GB, free: 1.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00385/0.5533, allocations: 2.966 MB / 0.5638 GB, free: 13.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007862/0.5612, allocations: 4.381 MB / 0.5681 GB, free: 8.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/0.5613, allocations: 20 kB / 0.5681 GB, free: 8.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009733/0.571, allocations: 4.131 MB / 0.5722 GB, free: 4.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.5711, allocations: 40.12 kB / 0.5722 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/0.5712, allocations: 69.56 kB / 0.5723 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.5719, allocations: 200.7 kB / 0.5725 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/0.5745, allocations: 0.7291 MB / 0.5732 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.5782, allocations: 2.708 MB / 0.5758 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/0.581, allocations: 161.5 kB / 0.576 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005681/0.5816, allocations: 204.4 kB / 0.5762 GB, free: 40 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (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 (395): * Single equations (assignments): 390 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002834/0.5844, allocations: 1.426 MB / 0.5776 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/0.5849, allocations: 198.7 kB / 0.5778 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.5883, allocations: 1.607 MB / 0.5793 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001226/0.5884, allocations: 27.92 kB / 0.5794 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.5884, allocations: 4 kB / 0.5794 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.5884, allocations: 7.922 kB / 0.5794 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.5992, allocations: 4.862 MB / 0.5841 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.5992, allocations: 8.031 kB / 0.5841 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007505/0.6, allocations: 159.8 kB / 0.5843 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.6004, allocations: 108.8 kB / 0.5844 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.286e-05/0.6005, allocations: 27.98 kB / 0.5844 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.6032, allocations: 2.169 MB / 0.5865 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.6033, allocations: 4 kB / 0.5865 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004372/0.6076, allocations: 2.554 MB / 0.589 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007995/0.6084, allocations: 275.8 kB / 0.5893 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004663/0.6089, allocations: 24.06 kB / 0.5893 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009529/0.6098, allocations: 55.92 kB / 0.5894 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.61, allocations: 60.86 kB / 0.5894 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/0.6101, allocations: 36.5 kB / 0.5895 GB, free: 2.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003081/0.6132, allocations: 1.476 MB / 0.5909 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6132, allocations: 4 kB / 0.5909 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002999/0.6162, allocations: 0.5624 MB / 0.5914 GB, free: 56 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (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 (88): * Single equations (assignments): 83 * 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 {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004267/0.6166, allocations: 149.8 kB / 0.5916 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00504/0.6217, allocations: 2.55 MB / 0.5941 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6217, allocations: 0.5 kB / 0.5941 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.623, allocations: 0.7909 MB / 0.5949 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.6251, allocations: 341.4 kB / 0.5952 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.637, allocations: 5.586 MB / 0.6006 GB, free: 6.586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00402/0.641, allocations: 2.362 MB / 0.6029 GB, free: 4.191 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003002/0.644, allocations: 1.032 MB / 0.604 GB, free: 3.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.6446, allocations: 147.2 kB / 0.6041 GB, free: 3.016 MB / 430.1 MB Notification: Performance of SimCode: time 2.224e-06/0.6446, allocations: 0 / 0.6041 GB, free: 3.016 MB / 430.1 MB Notification: Performance of Templates: time 0.04605/0.6906, allocations: 21.28 MB / 0.6249 GB, free: 13.86 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.851622901856899]