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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 225.6 MB / 249.9 MB, free: 3.223 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04807/0.04807, allocations: 9.239 MB / 314.3 MB, free: 1.637 MB / 238.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 64.08 kB / 437.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3524, allocations: 54.25 MB / 492 MB, free: 25.85 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.009685/0.3621, allocations: 8.679 MB / 0.4889 GB, free: 19.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006164/0.3682, allocations: 2.624 MB / 0.4915 GB, free: 17.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.3697, allocations: 35.25 kB / 0.4915 GB, free: 17.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008888/0.3706, allocations: 390.1 kB / 0.4919 GB, free: 17.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.3741, allocations: 1.437 MB / 0.4933 GB, free: 16.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.3746, allocations: 150.2 kB / 0.4935 GB, free: 16.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003135/0.3777, allocations: 2.532 MB / 0.4959 GB, free: 14.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.3788, allocations: 0.7978 MB / 0.4967 GB, free: 14.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.3799, allocations: 0.9017 MB / 0.4976 GB, free: 13.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.3817, allocations: 1.441 MB / 0.499 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.3821, allocations: 237.1 kB / 0.4992 GB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.3841, allocations: 0.8699 MB / 0.5001 GB, free: 12.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.3854, allocations: 1.244 MB / 0.5013 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.3868, allocations: 1.566 MB / 0.5028 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007304/0.3941, allocations: 5.01 MB / 0.5077 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.3941, allocations: 1.125 kB / 0.5077 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3941, allocations: 0 / 0.5077 GB, free: 6.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001501/0.3943, allocations: 4 kB / 0.5077 GB, free: 6.984 MB / 366.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.01043/0.4047, allocations: 3.97 MB / 0.5116 GB, free: 3.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.4048, allocations: 8.031 kB / 0.5116 GB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005882/0.4106, allocations: 1.777 MB / 0.5133 GB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.4133, allocations: 1.367 MB / 0.5147 GB, free: 212 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.4134, allocations: 156 kB / 0.5148 GB, free: 56 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004555/0.4138, allocations: 196.1 kB / 0.515 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.014/0.4278, allocations: 7.971 MB / 0.5228 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.4279, allocations: 19.83 kB / 0.5228 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003917/0.4283, allocations: 91.86 kB / 0.5229 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003808/0.4321, allocations: 1.848 MB / 0.5247 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/0.4513, allocations: 7.168 MB / 0.5317 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04637/0.4977, allocations: 24.11 MB / 0.5553 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005962/0.5037, allocations: 2.295 MB / 0.5575 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.5053, allocations: 0.7773 MB / 0.5583 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00939/0.5147, allocations: 4.738 MB / 0.5629 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.563e-05/0.5147, allocations: 43.56 kB / 0.5629 GB, free: 13.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 6.943e-06/0.5147, allocations: 0 / 0.5629 GB, free: 13.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=154): time 0.01728/0.532, allocations: 7.074 MB / 0.5698 GB, free: 6.277 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.5321, allocations: 64.72 kB / 0.5699 GB, free: 6.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005817/0.5379, allocations: 2.61 MB / 0.5724 GB, free: 3.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001986/0.5381, allocations: 49.69 kB / 0.5725 GB, free: 3.504 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002046/0.5402, allocations: 2.173 MB / 0.5746 GB, free: 1.309 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000861/0.541, allocations: 0.589 MB / 0.5752 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001785/0.5428, allocations: 0.7826 MB / 0.5759 GB, free: 15.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.543, allocations: 301.1 kB / 0.5762 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.5457, allocations: 1.304 MB / 0.5775 GB, free: 14.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004576/0.5503, allocations: 3.453 MB / 0.5809 GB, free: 9.809 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007305/0.5576, allocations: 5.088 MB / 0.5859 GB, free: 3.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.751e-05/0.5577, allocations: 20 kB / 0.5859 GB, free: 3.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009983/0.5676, allocations: 4.824 MB / 0.5906 GB, free: 14.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.67e-05/0.5677, allocations: 36 kB / 0.5906 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/0.5679, allocations: 76 kB / 0.5907 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.5684, allocations: 196.7 kB / 0.5909 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/0.5714, allocations: 0.8969 MB / 0.5918 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.5741, allocations: 2.371 MB / 0.5941 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/0.5771, allocations: 216.2 kB / 0.5943 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005198/0.5776, allocations: 232 kB / 0.5945 GB, free: 10.66 MB / 462.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.003233/0.5809, allocations: 1.551 MB / 0.596 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005449/0.5814, allocations: 230.5 kB / 0.5962 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/0.5853, allocations: 1.947 MB / 0.5981 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/0.5854, allocations: 31.92 kB / 0.5982 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.5855, allocations: 4 kB / 0.5982 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.5855, allocations: 7.969 kB / 0.5982 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.5973, allocations: 5.579 MB / 0.6036 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.5973, allocations: 4 kB / 0.6036 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/0.5982, allocations: 235.7 kB / 0.6038 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002807/0.5985, allocations: 88.97 kB / 0.6039 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.826e-05/0.5986, allocations: 27.94 kB / 0.604 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2873/0.8859, allocations: 2.103 MB / 0.606 GB, free: 103 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.8859, allocations: 5.938 kB / 0.606 GB, free: 103 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/0.8916, allocations: 3.041 MB / 0.609 GB, free: 102.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008827/0.8925, allocations: 311 kB / 0.6093 GB, free: 102.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.8927, allocations: 24.31 kB / 0.6093 GB, free: 102.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008455/0.8936, allocations: 74.81 kB / 0.6094 GB, free: 102.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.8938, allocations: 82.17 kB / 0.6095 GB, free: 102.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.8939, allocations: 49.81 kB / 0.6095 GB, free: 102.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003033/0.897, allocations: 1.685 MB / 0.6112 GB, free: 101.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.897, allocations: 0 / 0.6112 GB, free: 101.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003824/0.9008, allocations: 0.6622 MB / 0.6118 GB, free: 101.4 MB / 462.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.0003737/0.9012, allocations: 162.7 kB / 0.612 GB, free: 101.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005815/0.907, allocations: 3.011 MB / 0.6149 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.907, allocations: 0.7812 kB / 0.6149 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.9086, allocations: 0.9221 MB / 0.6158 GB, free: 99.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/0.9108, allocations: 387.9 kB / 0.6162 GB, free: 99.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.9236, allocations: 6.88 MB / 0.6229 GB, free: 96.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002836/0.9264, allocations: 2.571 MB / 0.6254 GB, free: 95.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009472/0.9273, allocations: 211 kB / 0.6256 GB, free: 95.41 MB / 462.1 MB Notification: Performance of SimCode: time 2.395e-06/0.9273, allocations: 0 / 0.6256 GB, free: 95.41 MB / 462.1 MB Notification: Performance of Templates: time 0.08104/1.008, allocations: 56.92 MB / 0.6812 GB, free: 46.56 MB / 462.1 MB [Timeout remaining time 659] 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]