Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.001108/0.001108, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001047/0.001047, allocations: 169 kB / 23.27 MB, free: 1.223 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.104/1.104, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.02947/0.02947, allocations: 7.199 MB / 267.4 MB, free: 5.898 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.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 339.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.427e-05, allocations: 2.312 kB / 339.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.007106/0.00713, allocations: 7.992 MB / 347.3 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003788/0.01092, allocations: 2.578 MB / 349.9 MB, free: 376 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004427/0.01136, allocations: 43.81 kB / 349.9 MB, free: 332 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.01209, allocations: 381.5 kB / 350.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.01403, allocations: 1.501 MB / 351.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.01422, allocations: 127.7 kB / 351.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.01595, allocations: 2.559 MB / 354.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006611/0.01661, allocations: 0.7848 MB / 355.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.01765, allocations: 1.368 MB / 356.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.01882, allocations: 1.325 MB / 358 MB, free: 8.242 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.01904, allocations: 232 kB / 358.2 MB, free: 8.016 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009723/0.02002, allocations: 0.823 MB / 359 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007865/0.0208, allocations: 1.266 MB / 360.3 MB, free: 5.922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005803/0.02138, allocations: 0.8214 MB / 361.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.02393, allocations: 3.28 MB / 364.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.02393, allocations: 0 / 364.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02393, allocations: 0 / 364.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.02395, allocations: 0 / 364.4 MB, free: 1.805 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: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.004942/0.02889, allocations: 4.116 MB / 368.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.02894, allocations: 8.625 kB / 368.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/0.03177, allocations: 1.243 MB / 369.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.033, allocations: 1.184 MB / 370.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.521e-05/0.03309, allocations: 152 kB / 371.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.03335, allocations: 196.2 kB / 371.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/0.03705, allocations: 3.636 MB / 374.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/0.0371, allocations: 27.7 kB / 374.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.03727, allocations: 91.88 kB / 375 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001452/0.03872, allocations: 1.653 MB / 376.7 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.04149, allocations: 1.882 MB / 378.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.05943, allocations: 24.26 MB / 402.8 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.06155, allocations: 0.9826 MB / 403.8 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.06187, allocations: 271.9 kB / 404.1 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003091/0.06496, allocations: 2.404 MB / 406.5 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.065, allocations: 50.33 kB / 406.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 2.525e-06/0.06501, allocations: 0 / 406.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=149): time 0.005992/0.071, allocations: 3.636 MB / 410.1 MB, free: 2.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.07105, allocations: 64.41 kB / 410.2 MB, free: 2.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.07279, allocations: 1.927 MB / 412.1 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.07285, allocations: 45.7 kB / 412.2 MB, free: 0.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.07404, allocations: 2.292 MB / 414.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/0.07442, allocations: 0.5969 MB / 415.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000787/0.07521, allocations: 0.8569 MB / 415.9 MB, free: 12.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.07539, allocations: 0.5198 MB / 416.4 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.07586, allocations: 331.5 kB / 416.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/0.0783, allocations: 3.458 MB / 420.2 MB, free: 7.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.08185, allocations: 4.212 MB / 424.4 MB, free: 1.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-05/0.08188, allocations: 20 kB / 424.5 MB, free: 1.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.008653/0.09054, allocations: 3.029 MB / 427.5 MB, free: 14.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.699e-05/0.09062, allocations: 36 kB / 427.5 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/0.09076, allocations: 72 kB / 427.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009102/0.09167, allocations: 268 kB / 427.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.09481, allocations: 0.8344 MB / 428.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.09875, allocations: 2.954 MB / 431.6 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/0.1035, allocations: 148 kB / 431.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/0.1048, allocations: 196 kB / 432 MB, free: 9.855 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (469): * Single equations (assignments): 464 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002101/0.1069, allocations: 462.6 kB / 432.4 MB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/0.1076, allocations: 230.7 kB / 432.7 MB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.1092, allocations: 0.9092 MB / 433.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.653e-05/0.1092, allocations: 23.94 kB / 433.6 MB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1092, allocations: 4 kB / 433.6 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.1092, allocations: 7.969 kB / 433.6 MB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005471/0.1147, allocations: 3.532 MB / 437.1 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.1147, allocations: 4 kB / 437.1 MB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.1151, allocations: 171.8 kB / 437.3 MB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004046/0.1155, allocations: 174.9 kB / 437.5 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.1156, allocations: 31.98 kB / 437.5 MB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.1172, allocations: 2.34 MB / 439.8 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1172, allocations: 4 kB / 439.9 MB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.1187, allocations: 1.335 MB / 441.2 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.119, allocations: 178.7 kB / 441.4 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.1191, allocations: 31.92 kB / 441.4 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.1194, allocations: 24.03 kB / 441.4 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.1196, allocations: 92.77 kB / 441.5 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2102/0.3297, allocations: 28.55 kB / 441.5 MB, free: 125.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001546/0.3313, allocations: 0.8024 MB / 442.3 MB, free: 124.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3313, allocations: 0 / 442.3 MB, free: 124.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00353/0.3348, allocations: 0.6698 MB / 443 MB, free: 124.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004536/0.3353, allocations: 152.4 kB / 443.2 MB, free: 124.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003295/0.3386, allocations: 1.849 MB / 445 MB, free: 124.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.3386, allocations: 3.219 kB / 445 MB, free: 124.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007323/0.3393, allocations: 0.599 MB / 445.6 MB, free: 124.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.3408, allocations: 287.8 kB / 445.9 MB, free: 124.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/0.3501, allocations: 5.34 MB / 451.2 MB, free: 122.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.3511, allocations: 0.901 MB / 452.1 MB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001038/0.3521, allocations: 289.1 kB / 452.4 MB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.3526, allocations: 391.9 kB / 452.8 MB, free: 122 MB / 410.7 MB Notification: Performance of SimCode: time 3.166e-06/0.3526, allocations: 3.281 kB / 452.8 MB, free: 122 MB / 410.7 MB Notification: Performance of Templates: time 0.04817/0.4008, allocations: 22.07 MB / 474.9 MB, free: 119.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.028674460947514]