Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.001299/0.001299, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001439/0.001439, allocations: 216.4 kB / 22.25 MB, free: 5.262 MB / 14.72 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.05056/0.05056, allocations: 9.244 MB / 321.7 MB, free: 9.891 MB / 254.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/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.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 71.89 kB / 448.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1047, allocations: 55.47 MB / 0.4918 GB, free: 6.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.0101/0.1148, allocations: 7.53 MB / 0.4992 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005666/0.1204, allocations: 2.523 MB / 0.5016 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.1215, allocations: 39.88 kB / 0.5017 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.1227, allocations: 381.4 kB / 0.502 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.1264, allocations: 1.424 MB / 0.5034 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.127, allocations: 151.8 kB / 0.5036 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003413/0.1304, allocations: 2.513 MB / 0.506 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.1319, allocations: 0.8157 MB / 0.5068 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.1336, allocations: 0.9455 MB / 0.5078 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.136, allocations: 1.378 MB / 0.5091 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007801/0.1368, allocations: 247.9 kB / 0.5093 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.1386, allocations: 0.7645 MB / 0.5101 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.1402, allocations: 1.238 MB / 0.5113 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.1419, allocations: 1.11 MB / 0.5124 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2082/0.3501, allocations: 5.073 MB / 0.5173 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3501, allocations: 0 / 0.5173 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3501, allocations: 1.188 kB / 0.5173 GB, free: 12.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.3502, allocations: 0 / 0.5173 GB, free: 12.93 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: 1181 * Number of variables: 1181 Notification: Performance of Generate backend data structure: time 0.009803/0.36, allocations: 4.321 MB / 0.5216 GB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3601, allocations: 9.031 kB / 0.5216 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006869/0.3669, allocations: 1.811 MB / 0.5233 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.37, allocations: 1.318 MB / 0.5246 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.3701, allocations: 148.3 kB / 0.5248 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004393/0.3705, allocations: 199.6 kB / 0.5249 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/0.3824, allocations: 8.19 MB / 0.5329 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.84e-05/0.3825, allocations: 16.47 kB / 0.533 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/0.3828, allocations: 94.98 kB / 0.5331 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003257/0.386, allocations: 1.916 MB / 0.5349 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.3997, allocations: 7.421 MB / 0.5422 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0347/0.4344, allocations: 22.43 MB / 0.5641 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005609/0.44, allocations: 1.873 MB / 0.5659 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.4415, allocations: 0.8113 MB / 0.5667 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006546/0.4481, allocations: 2.56 MB / 0.5692 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.4481, allocations: 47.61 kB / 0.5692 GB, free: 13.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.977e-06/0.4481, allocations: 0 / 0.5692 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01175/0.4599, allocations: 4.664 MB / 0.5738 GB, free: 9.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.4599, allocations: 71.62 kB / 0.5739 GB, free: 9.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003674/0.4636, allocations: 2.133 MB / 0.5759 GB, free: 7.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.4637, allocations: 45.7 kB / 0.576 GB, free: 7.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/0.4654, allocations: 2.18 MB / 0.5781 GB, free: 4.836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005826/0.466, allocations: 0.5546 MB / 0.5787 GB, free: 4.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.4673, allocations: 0.7604 MB / 0.5794 GB, free: 3.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4675, allocations: 345.9 kB / 0.5797 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/0.4699, allocations: 1.237 MB / 0.5809 GB, free: 1.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/0.474, allocations: 3.303 MB / 0.5842 GB, free: 13.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006674/0.4807, allocations: 4.886 MB / 0.5889 GB, free: 8.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.66e-05/0.4808, allocations: 24 kB / 0.589 GB, free: 8.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.00812/0.4889, allocations: 4.611 MB / 0.5935 GB, free: 3.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.489, allocations: 36 kB / 0.5935 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.598e-05/0.4891, allocations: 72 kB / 0.5936 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.4896, allocations: 224.7 kB / 0.5938 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.4922, allocations: 0.8274 MB / 0.5946 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.4957, allocations: 2.716 MB / 0.5972 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.498, allocations: 188 kB / 0.5974 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003376/0.4983, allocations: 224.8 kB / 0.5976 GB, free: 15.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 21 (worldForce.arrowTorque.twoHeadedArrow,worldForce.arrowTorque.headAtOrigin,worldForce.arrowForce.twoHeadedArrow,worldForce.arrowForce.headAtOrigin,cutForce.arrowForce.twoHeadedArrow,cutForce.arrowForce.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],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 (445): * Single equations (assignments): 440 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002596/0.5009, allocations: 1.573 MB / 0.5992 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.5012, allocations: 190.7 kB / 0.5994 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/0.5047, allocations: 1.901 MB / 0.6012 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001018/0.5048, allocations: 25.39 kB / 0.6012 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5048, allocations: 4 kB / 0.6012 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.5048, allocations: 7.969 kB / 0.6012 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008993/0.5138, allocations: 4.703 MB / 0.6058 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.5138, allocations: 11.42 kB / 0.6059 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009071/0.5147, allocations: 215.7 kB / 0.6061 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/0.5151, allocations: 124.8 kB / 0.6062 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/0.5152, allocations: 28 kB / 0.6062 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.518, allocations: 2.382 MB / 0.6085 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.518, allocations: 4 kB / 0.6085 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004779/0.5228, allocations: 3.033 MB / 0.6115 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.5232, allocations: 174.8 kB / 0.6117 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.5234, allocations: 24 kB / 0.6117 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.5242, allocations: 71.97 kB / 0.6118 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.5244, allocations: 96.72 kB / 0.6118 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.742e-05/0.5245, allocations: 47.03 kB / 0.6119 GB, free: 500 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002018/0.5265, allocations: 1.245 MB / 0.6131 GB, free: 15.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5265, allocations: 0 / 0.6131 GB, free: 15.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002781/0.5293, allocations: 0.6327 MB / 0.6137 GB, free: 14.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (109): * Single equations (assignments): 104 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000321/0.5296, allocations: 161.4 kB / 0.6139 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005038/0.5346, allocations: 2.919 MB / 0.6167 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5346, allocations: 0 / 0.6167 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.5362, allocations: 0.9482 MB / 0.6177 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5376, allocations: 278.4 kB / 0.6179 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.5488, allocations: 6.44 MB / 0.6242 GB, free: 3.816 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002893/0.5517, allocations: 2.036 MB / 0.6262 GB, free: 1.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002605/0.5543, allocations: 1.09 MB / 0.6273 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.5547, allocations: 143.4 kB / 0.6274 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5547, allocations: 0 / 0.6274 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of Templates: time 0.04235/0.5971, allocations: 22.58 MB / 0.6494 GB, free: 10.25 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.sim & ./PlanarMechanics_PlanarMechanics.Examples.PendulumExcited -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.579209698364139] Failed to read output from testmodel.py, exit status != 0: 0.6058215443044901 0.619901123 0.266606599 Calling exit ...