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.0008094/0.0008094, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008401/0.0008401, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8883/0.8883, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.02664/0.02664, allocations: 7.107 MB / 267.1 MB, free: 6.34 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 393.6 MB, free: 3.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.729e-05, allocations: 2.281 kB / 393.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.005898/0.005925, allocations: 7.547 MB / 401.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004314/0.01024, allocations: 2.526 MB / 403.7 MB, free: 9.395 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009799/0.01122, allocations: 35.88 kB / 403.7 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.01203, allocations: 377.4 kB / 404.1 MB, free: 8.988 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.01496, allocations: 1.47 MB / 405.6 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.01528, allocations: 159.7 kB / 405.7 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.01742, allocations: 2.567 MB / 408.3 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009279/0.01835, allocations: 0.8274 MB / 409.1 MB, free: 3.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.01982, allocations: 1.407 MB / 410.5 MB, free: 2.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.02111, allocations: 1.332 MB / 411.9 MB, free: 1.184 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000302/0.02141, allocations: 243.9 kB / 412.1 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.02245, allocations: 0.8191 MB / 412.9 MB, free: 128 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1598/0.1823, allocations: 1.279 MB / 414.2 MB, free: 18.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.1835, allocations: 0.8327 MB / 415 MB, free: 18.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005793/0.1893, allocations: 5.061 MB / 420.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1893, allocations: 0.9375 kB / 420.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1893, allocations: 0 / 420.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001572/0.1894, allocations: 1.875 kB / 420.1 MB, free: 18.12 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: 1181 * Number of variables: 1181 Notification: Performance of Generate backend data structure: time 0.009712/0.1991, allocations: 4.309 MB / 424.4 MB, free: 16.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.217e-05/0.1992, allocations: 11.12 kB / 424.4 MB, free: 16.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003923/0.2031, allocations: 1.827 MB / 426.3 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.2054, allocations: 1.31 MB / 427.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.82e-05/0.2055, allocations: 151.3 kB / 427.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000325/0.2058, allocations: 195.1 kB / 427.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009821/0.2157, allocations: 8.208 MB / 436.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.235e-05/0.2157, allocations: 13.97 kB / 436.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.2159, allocations: 96.22 kB / 436.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001624/0.2176, allocations: 1.923 MB / 438.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009265/0.2268, allocations: 7.424 MB / 445.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02528/0.2521, allocations: 22.49 MB / 468.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.2555, allocations: 1.952 MB / 470 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008967/0.2563, allocations: 0.8127 MB / 470.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003598/0.2599, allocations: 2.596 MB / 473.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.26, allocations: 39.56 kB / 473.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=130): time 4.468e-06/0.26, allocations: 0 / 473.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.007157/0.2671, allocations: 4.803 MB / 478.3 MB, free: 4.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2672, allocations: 64.41 kB / 478.3 MB, free: 4.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.2696, allocations: 2.127 MB / 480.5 MB, free: 2.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.2696, allocations: 45.7 kB / 480.5 MB, free: 1.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009836/0.2706, allocations: 2.172 MB / 482.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.271, allocations: 0.5451 MB / 483.2 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007616/0.2717, allocations: 0.7513 MB / 484 MB, free: 14.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2718, allocations: 349.7 kB / 484.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.2733, allocations: 1.241 MB / 485.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/0.2758, allocations: 3.302 MB / 488.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/0.2797, allocations: 4.89 MB / 493.7 MB, free: 2.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/0.2798, allocations: 20 kB / 493.8 MB, free: 2.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.00506/0.2848, allocations: 4.61 MB / 498.4 MB, free: 14.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.2849, allocations: 36 kB / 498.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.225e-05/0.2849, allocations: 75.94 kB / 498.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.2853, allocations: 237.5 kB / 498.7 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.2868, allocations: 0.8227 MB / 499.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.2889, allocations: 2.703 MB / 0.4905 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.2905, allocations: 187.9 kB / 0.4906 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.2907, allocations: 220 kB / 0.4909 GB, free: 9.852 MB / 394.7 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.002317/0.293, allocations: 1.578 MB / 0.4924 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/0.2932, allocations: 186.7 kB / 0.4926 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.2953, allocations: 1.897 MB / 0.4944 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.642e-05/0.2954, allocations: 31.98 kB / 0.4945 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2954, allocations: 0 / 0.4945 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.2954, allocations: 10.73 kB / 0.4945 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00611/0.3015, allocations: 4.724 MB / 0.4991 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.3015, allocations: 4 kB / 0.4991 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/0.3021, allocations: 215.7 kB / 0.4993 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.3023, allocations: 132.2 kB / 0.4994 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.3024, allocations: 32 kB / 0.4994 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.3043, allocations: 2.376 MB / 0.5018 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3043, allocations: 4 kB / 0.5018 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.3072, allocations: 3.026 MB / 0.5047 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.3075, allocations: 182.8 kB / 0.5049 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.3076, allocations: 29.77 kB / 0.5049 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.308, allocations: 63.92 kB / 0.505 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.3082, allocations: 96.77 kB / 0.5051 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.3082, allocations: 43.98 kB / 0.5051 GB, free: 10.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001371/0.3096, allocations: 1.237 MB / 0.5063 GB, free: 9.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.3096, allocations: 0 / 0.5063 GB, free: 9.758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002224/0.3118, allocations: 0.64 MB / 0.507 GB, free: 9.121 MB / 410.7 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.0003304/0.3122, allocations: 154.9 kB / 0.5071 GB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003425/0.3156, allocations: 2.921 MB / 0.51 GB, free: 6.051 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3156, allocations: 192 / 0.51 GB, free: 6.051 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009463/0.3165, allocations: 0.9545 MB / 0.5109 GB, free: 5.082 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/0.3175, allocations: 269.1 kB / 0.5111 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009405/0.3269, allocations: 6.738 MB / 0.5177 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/0.3289, allocations: 2.041 MB / 0.5197 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/0.3295, allocations: 184.6 kB / 0.5199 GB, free: 11.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3296, allocations: 3.938 kB / 0.5199 GB, free: 11.75 MB / 426.7 MB Notification: Performance of Templates: time 0.05596/0.3855, allocations: 54.87 MB / 0.5735 GB, free: 4.961 MB / 474.7 MB " [Timeout remaining time 660] 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: 6.610067849978805] Failed to read output from testmodel.py, exit status != 0: 0.39237225241959095 0.5565046029999999 0.364739711 Calling exit ...