Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.001388/0.001388, allocations: 77.08 kB / 19.18 MB, free: 2.527 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.001437/0.001437, allocations: 169.5 kB / 22.46 MB, free: 5.359 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.04663/0.04663, allocations: 7.116 MB / 266.3 MB, free: 9.777 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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 392.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.699e-05, allocations: 10.22 kB / 392.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.01008/0.01011, allocations: 7.665 MB / 400.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007179/0.01729, allocations: 2.53 MB / 403.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.01922, allocations: 39.88 kB / 403.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.02125, allocations: 373.4 kB / 403.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.02603, allocations: 1.489 MB / 405 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.02658, allocations: 147.6 kB / 405.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00373/0.03031, allocations: 2.565 MB / 407.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.03185, allocations: 0.7829 MB / 408.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.0344, allocations: 1.387 MB / 409.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.03673, allocations: 1.313 MB / 411.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006074/0.03734, allocations: 232 kB / 411.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.03894, allocations: 0.823 MB / 412.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.04019, allocations: 1.27 MB / 413.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.04134, allocations: 0.8331 MB / 414.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005909/0.04725, allocations: 4.96 MB / 419.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.04725, allocations: 0 / 419.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.04725, allocations: 0 / 419.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.977e-05/0.04735, allocations: 3.938 kB / 419.3 MB, free: 14.7 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.009922/0.05728, allocations: 3.909 MB / 423.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.05732, allocations: 8.625 kB / 423.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007399/0.06472, allocations: 1.851 MB / 425.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.0677, allocations: 1.31 MB / 426.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.06785, allocations: 152 kB / 426.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005612/0.06842, allocations: 200.2 kB / 426.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.08167, allocations: 7.936 MB / 434.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.005e-05/0.08174, allocations: 19.81 kB / 434.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.08207, allocations: 99.86 kB / 434.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003412/0.08548, allocations: 1.848 MB / 436.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/0.1013, allocations: 7.094 MB / 443.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.201/0.3023, allocations: 21.76 MB / 465.5 MB, free: 45.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005053/0.3073, allocations: 1.906 MB / 467.4 MB, free: 44.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.3085, allocations: 0.7688 MB / 468.1 MB, free: 44.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005761/0.3142, allocations: 3.036 MB / 471.2 MB, free: 43.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3143, allocations: 51.05 kB / 471.2 MB, free: 43.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.456e-06/0.3143, allocations: 0 / 471.2 MB, free: 43.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.01269/0.3269, allocations: 6.938 MB / 478.2 MB, free: 40.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.327, allocations: 71.66 kB / 478.2 MB, free: 40.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.3293, allocations: 2.204 MB / 480.4 MB, free: 39.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/0.3294, allocations: 48.89 kB / 480.5 MB, free: 39.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007069/0.3301, allocations: 2.18 MB / 482.7 MB, free: 37.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.3304, allocations: 0.5839 MB / 483.2 MB, free: 37.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007875/0.3311, allocations: 0.7879 MB / 484 MB, free: 36.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.3312, allocations: 343.5 kB / 484.4 MB, free: 36.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.3329, allocations: 1.297 MB / 485.7 MB, free: 35.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/0.3353, allocations: 3.428 MB / 489.1 MB, free: 30.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004283/0.3396, allocations: 5.068 MB / 494.2 MB, free: 24.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.734e-05/0.3396, allocations: 24 kB / 494.2 MB, free: 24.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.006095/0.3457, allocations: 4.765 MB / 498.9 MB, free: 20.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.3457, allocations: 38.95 kB / 499 MB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.163e-05/0.3458, allocations: 78.22 kB / 499.1 MB, free: 19.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.3461, allocations: 181.6 kB / 499.2 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.3485, allocations: 0.9124 MB / 0.4884 GB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.3501, allocations: 2.129 MB / 0.4905 GB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.3523, allocations: 219.9 kB / 0.4907 GB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.3525, allocations: 228 kB / 0.4909 GB, free: 16.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (478): * Single equations (assignments): 473 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001743/0.3542, allocations: 1.565 MB / 0.4925 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.3545, allocations: 198.7 kB / 0.4927 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.3572, allocations: 1.892 MB / 0.4945 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.412e-05/0.3573, allocations: 23.98 kB / 0.4945 GB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3573, allocations: 4 kB / 0.4945 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3573, allocations: 3.984 kB / 0.4945 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/0.364, allocations: 4.398 MB / 0.4988 GB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.364, allocations: 3.938 kB / 0.4988 GB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/0.3649, allocations: 247.8 kB / 0.4991 GB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/0.3651, allocations: 80.8 kB / 0.4991 GB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/0.3652, allocations: 27.98 kB / 0.4992 GB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.3665, allocations: 1.872 MB / 0.501 GB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3665, allocations: 9.5 kB / 0.501 GB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003631/0.3701, allocations: 2.971 MB / 0.5039 GB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.3704, allocations: 182.8 kB / 0.5041 GB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.3706, allocations: 24 kB / 0.5041 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007685/0.3714, allocations: 79.91 kB / 0.5042 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.3716, allocations: 88.72 kB / 0.5043 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/0.3717, allocations: 47.73 kB / 0.5043 GB, free: 2.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001457/0.3731, allocations: 1.293 MB / 0.5056 GB, free: 1.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3731, allocations: 0 / 0.5056 GB, free: 1.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002466/0.3756, allocations: 0.6445 MB / 0.5062 GB, free: 380 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * 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 (124): * Single equations (assignments): 119 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002821/0.3759, allocations: 158.4 kB / 0.5064 GB, free: 216 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005224/0.3811, allocations: 2.989 MB / 0.5093 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.3811, allocations: 4 kB / 0.5093 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.3826, allocations: 0.9113 MB / 0.5102 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.384, allocations: 267.8 kB / 0.5104 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.3948, allocations: 6.323 MB / 0.5166 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/0.3974, allocations: 2.006 MB / 0.5186 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002666/0.4001, allocations: 1.151 MB / 0.5197 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/0.4005, allocations: 156.5 kB / 0.5198 GB, free: 2.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4005, allocations: 0 / 0.5198 GB, free: 2.34 MB / 382.1 MB Notification: Performance of Templates: time 0.04003/0.4406, allocations: 19.4 MB / 0.5388 GB, free: 15.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.15183662623167] Failed to read output from testmodel.py, exit status != 0: 0.449699766933918 0.46444963100000003 0.41390103100000003 Calling exit ...