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.001447/0.001447, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001518/0.001518, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9716/0.9716, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.04438/0.04438, allocations: 7.188 MB / 268.2 MB, free: 5.891 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.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.563e-06/1.563e-06, allocations: 0 / 340.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.675e-05, allocations: 2.312 kB / 340.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.009264/0.009291, allocations: 8.304 MB / 348.4 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004746/0.01404, allocations: 2.601 MB / 351 MB, free: 28 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.0153, allocations: 39.92 kB / 351 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.01605, allocations: 381.2 kB / 351.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.01869, allocations: 1.509 MB / 352.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.01901, allocations: 151.5 kB / 353.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002547/0.02156, allocations: 2.61 MB / 355.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.02263, allocations: 0.807 MB / 356.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.02416, allocations: 1.403 MB / 357.9 MB, free: 9.102 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.02581, allocations: 1.332 MB / 359.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004686/0.02628, allocations: 232 kB / 359.4 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.0274, allocations: 0.8347 MB / 360.3 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.02846, allocations: 1.277 MB / 361.6 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008675/0.02933, allocations: 0.8331 MB / 362.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00283/0.03216, allocations: 3.307 MB / 365.7 MB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.03216, allocations: 0 / 365.7 MB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.03216, allocations: 0 / 365.7 MB, free: 1.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.209e-05/0.0322, allocations: 4 kB / 365.7 MB, free: 1.262 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: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.005819/0.03802, allocations: 4.15 MB / 369.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.03806, allocations: 12.62 kB / 369.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.04112, allocations: 1.255 MB / 371.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.04263, allocations: 1.198 MB / 372.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/0.04272, allocations: 156.1 kB / 372.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.04299, allocations: 204.2 kB / 372.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/0.0479, allocations: 3.677 MB / 376.3 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.006e-05/0.04796, allocations: 27.75 kB / 376.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.04821, allocations: 95.86 kB / 376.5 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00155/0.04976, allocations: 1.657 MB / 378.1 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00406/0.05382, allocations: 1.887 MB / 380 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.07421, allocations: 24.53 MB / 404.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.07656, allocations: 0.9904 MB / 405.5 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.0769, allocations: 268 kB / 405.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003125/0.08003, allocations: 2.412 MB / 408.2 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.08006, allocations: 58.33 kB / 408.3 MB, free: 5.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 2.815e-06/0.08006, allocations: 0 / 408.3 MB, free: 5.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.006424/0.08649, allocations: 3.622 MB / 411.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.08652, allocations: 68.66 kB / 411.9 MB, free: 1.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.08823, allocations: 1.964 MB / 413.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.08829, allocations: 45.7 kB / 414 MB, free: 15.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.08932, allocations: 2.323 MB / 416.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.08968, allocations: 0.6124 MB / 416.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007855/0.09046, allocations: 0.8689 MB / 417.8 MB, free: 11.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.09062, allocations: 0.5198 MB / 418.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.09109, allocations: 339.6 kB / 418.6 MB, free: 10.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/0.09328, allocations: 3.504 MB / 422.1 MB, free: 6.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003329/0.09661, allocations: 4.293 MB / 426.4 MB, free: 292 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.551e-05/0.09666, allocations: 24 kB / 426.4 MB, free: 268 kB / 394.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.003994/0.1007, allocations: 2.999 MB / 429.4 MB, free: 13.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.1007, allocations: 36 kB / 429.5 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.818e-05/0.1008, allocations: 76 kB / 429.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/0.1011, allocations: 179.7 kB / 429.7 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.103, allocations: 0.8851 MB / 430.6 MB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.1046, allocations: 2.33 MB / 432.9 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.1064, allocations: 159.9 kB / 433.1 MB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/0.1067, allocations: 208 kB / 433.3 MB, free: 9.285 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (488): * Single equations (assignments): 483 * 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.0009633/0.1076, allocations: 474.4 kB / 433.7 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.1079, allocations: 234.7 kB / 434 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.1091, allocations: 0.8765 MB / 434.9 MB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.699e-05/0.1091, allocations: 16 kB / 434.9 MB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1091, allocations: 4 kB / 434.9 MB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1091, allocations: 11.86 kB / 434.9 MB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004976/0.1141, allocations: 3.487 MB / 438.4 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.1141, allocations: 4 kB / 438.4 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.1146, allocations: 203.7 kB / 438.6 MB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/0.1148, allocations: 79.53 kB / 438.7 MB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.1149, allocations: 28.03 kB / 438.7 MB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.116, allocations: 2.134 MB / 440.8 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.116, allocations: 320 / 440.8 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.1174, allocations: 1.282 MB / 442.1 MB, free: 204 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.1177, allocations: 182.7 kB / 442.3 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.1502/0.2679, allocations: 20.8 kB / 442.3 MB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009864/0.2689, allocations: 37.59 kB / 442.3 MB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.2691, allocations: 84.41 kB / 442.4 MB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-05/0.2692, allocations: 30.06 kB / 442.4 MB, free: 125.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008155/0.27, allocations: 0.8196 MB / 443.3 MB, free: 125 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.27, allocations: 0 / 443.3 MB, free: 125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00205/0.272, allocations: 0.6524 MB / 443.9 MB, free: 125 MB / 410.7 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.0002584/0.2723, allocations: 155.5 kB / 444.1 MB, free: 124.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.2742, allocations: 1.8 MB / 445.9 MB, free: 124.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2742, allocations: 0 / 445.9 MB, free: 124.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.2746, allocations: 0.5487 MB / 446.4 MB, free: 124.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/0.2753, allocations: 292.9 kB / 446.7 MB, free: 124.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.2812, allocations: 5.306 MB / 452 MB, free: 122.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.2818, allocations: 0.9012 MB / 452.9 MB, free: 122.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006856/0.2825, allocations: 295 kB / 453.2 MB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/0.283, allocations: 403.8 kB / 453.6 MB, free: 122.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.283, allocations: 3.125 kB / 453.6 MB, free: 122.1 MB / 410.7 MB Notification: Performance of Templates: time 0.03121/0.3142, allocations: 21.62 MB / 475.2 MB, free: 119.9 MB / 410.7 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6595288310199976]