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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 169.7 kB / 23.27 MB, free: 1.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.292/1.292, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.03119/0.03119, allocations: 7.182 MB / 267.4 MB, free: 5.902 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.014e-06/2.014e-06, allocations: 0 / 339.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.085e-05, allocations: 6.031 kB / 339.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.006245/0.006276, allocations: 6.759 MB / 346.1 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.009874, allocations: 2.352 MB / 348.4 MB, free: 1.852 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.01022, allocations: 27.94 kB / 348.4 MB, free: 1.824 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.01089, allocations: 329.9 kB / 348.8 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.01275, allocations: 1.365 MB / 350.1 MB, free: 132 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.01292, allocations: 79.83 kB / 350.2 MB, free: 52 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.01445, allocations: 2.217 MB / 352.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/0.01501, allocations: 0.6185 MB / 353 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009212/0.01593, allocations: 1.177 MB / 354.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.01701, allocations: 1.169 MB / 355.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.01722, allocations: 204 kB / 355.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008261/0.01804, allocations: 0.7917 MB / 356.4 MB, free: 9.852 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006691/0.01871, allocations: 1.114 MB / 357.5 MB, free: 8.734 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.01927, allocations: 0.7046 MB / 358.2 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.02147, allocations: 2.95 MB / 361.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.02147, allocations: 8 kB / 361.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02147, allocations: 0 / 361.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.038e-05/0.0215, allocations: 0 / 361.2 MB, free: 5.059 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1025 * Number of variables: 1025 Notification: Performance of Generate backend data structure: time 0.004146/0.02565, allocations: 3.614 MB / 364.8 MB, free: 1.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.02569, allocations: 8.625 kB / 364.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.02839, allocations: 1.173 MB / 365.9 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.02951, allocations: 1.052 MB / 367 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.02958, allocations: 123.4 kB / 367.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.02979, allocations: 164.2 kB / 367.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/0.03307, allocations: 3.182 MB / 370.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.03311, allocations: 24 kB / 370.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.03326, allocations: 79.81 kB / 370.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001517/0.03478, allocations: 1.551 MB / 372.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/0.03748, allocations: 1.645 MB / 373.8 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/0.05533, allocations: 21.26 MB / 395 MB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.0574, allocations: 0.7603 MB / 395.8 MB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.05773, allocations: 209.6 kB / 396 MB, free: 1.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002591/0.06032, allocations: 1.766 MB / 397.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.06036, allocations: 46.39 kB / 397.8 MB, free: 15.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 2.484e-06/0.06036, allocations: 0 / 397.8 MB, free: 15.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.005705/0.06607, allocations: 2.827 MB / 400.6 MB, free: 12.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.06612, allocations: 76.33 kB / 400.7 MB, free: 12.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.06793, allocations: 1.67 MB / 402.4 MB, free: 10.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.06798, allocations: 41.69 kB / 402.4 MB, free: 10.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.06929, allocations: 2.031 MB / 404.4 MB, free: 8.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004028/0.0697, allocations: 0.5078 MB / 405 MB, free: 7.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008768/0.07057, allocations: 0.7449 MB / 405.7 MB, free: 7.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.07075, allocations: 0.5081 MB / 406.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/0.07126, allocations: 278.4 kB / 406.5 MB, free: 6.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.07352, allocations: 3.059 MB / 409.5 MB, free: 2.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.0769, allocations: 3.719 MB / 413.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.824e-05/0.07693, allocations: 16 kB / 413.3 MB, free: 13.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.003689/0.08061, allocations: 2.592 MB / 415.9 MB, free: 10.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.08066, allocations: 32 kB / 415.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-05/0.08072, allocations: 64 kB / 416 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.08107, allocations: 171.5 kB / 416.1 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.08268, allocations: 0.7174 MB / 416.8 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.08485, allocations: 2.504 MB / 419.3 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.08654, allocations: 132 kB / 419.5 MB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.08677, allocations: 179.9 kB / 419.6 MB, free: 6.625 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 299 * 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 (404): * Single equations (assignments): 399 * 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.0008666/0.08763, allocations: 414.9 kB / 420.1 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.0879, allocations: 194.9 kB / 420.2 MB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.08906, allocations: 0.7291 MB / 421 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.625e-05/0.08912, allocations: 23.98 kB / 421 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.08913, allocations: 4 kB / 421 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.08914, allocations: 15.91 kB / 421 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/0.09319, allocations: 2.574 MB / 423.6 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.0932, allocations: 4 kB / 423.6 MB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.09369, allocations: 151.7 kB / 423.7 MB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/0.09393, allocations: 84.09 kB / 423.8 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/0.094, allocations: 27.98 kB / 423.9 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.09557, allocations: 1.98 MB / 425.8 MB, free: 184 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.09557, allocations: 7.938 kB / 425.8 MB, free: 176 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.0972, allocations: 1.182 MB / 427 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.09739, allocations: 154.9 kB / 427.2 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.09752, allocations: 20.06 kB / 427.2 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.09789, allocations: 27.98 kB / 427.2 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.09802, allocations: 80.75 kB / 427.3 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.09808, allocations: 28 kB / 427.3 MB, free: 14.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007576/0.09883, allocations: 0.7045 MB / 428 MB, free: 13.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09883, allocations: 0 / 428 MB, free: 13.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002453/0.1013, allocations: 0.5585 MB / 428.6 MB, free: 13.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (93): * Single equations (assignments): 88 * 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.0003299/0.1016, allocations: 154.8 kB / 428.7 MB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.1038, allocations: 1.558 MB / 430.3 MB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1038, allocations: 4 kB / 430.3 MB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006838/0.1045, allocations: 0.4905 MB / 430.8 MB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.1055, allocations: 259.5 kB / 431 MB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008032/0.1136, allocations: 4.68 MB / 435.7 MB, free: 6.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.1147, allocations: 0.812 MB / 436.5 MB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009778/0.1157, allocations: 256.2 kB / 436.8 MB, free: 4.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/0.1164, allocations: 338.1 kB / 437.1 MB, free: 4.617 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1164, allocations: 0 / 437.1 MB, free: 4.617 MB / 410.7 MB Notification: Performance of Templates: time 0.2102/0.3266, allocations: 18.32 MB / 455.4 MB, free: 128.4 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.897060981951654]