Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000997/0.000997, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9554/0.9554, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2582/0.2582, allocations: 34.87 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 325.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.737e-05, allocations: 2.312 kB / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01835/0.01838, allocations: 16.56 MB / 342.5 MB, free: 6.559 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.03094, allocations: 5.795 MB / 348.3 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/0.03439, allocations: 131.4 kB / 348.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00702/0.04141, allocations: 4.902 MB / 353.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00788/0.04929, allocations: 3.204 MB / 356.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.05266, allocations: 1.704 MB / 358.2 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01347/0.06613, allocations: 10.31 MB / 368.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009539/0.07567, allocations: 6.588 MB / 375.1 MB, free: 5.762 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/0.08592, allocations: 5.275 MB / 380.4 MB, free: 488 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006529/0.09245, allocations: 4.692 MB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002147/0.09459, allocations: 0.6641 MB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003861/0.09845, allocations: 1.806 MB / 387.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003847/0.1023, allocations: 3.97 MB / 391.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004542/0.1068, allocations: 2.465 MB / 394 MB, free: 2.844 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.1174, allocations: 8.703 MB / 402.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1175, allocations: 0 / 402.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1175, allocations: 0 / 402.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004149/0.1179, allocations: 0 / 402.7 MB, free: 10.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.01267/0.1305, allocations: 8.259 MB / 410.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1306, allocations: 12.03 kB / 410.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007444/0.138, allocations: 2.299 MB / 413.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0074/0.1454, allocations: 3.61 MB / 416.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/0.1457, allocations: 427.3 kB / 417.3 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.1475, allocations: 0.6049 MB / 417.9 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/0.1637, allocations: 9.561 MB / 427.4 MB, free: 0 / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002223/0.1639, allocations: 75.44 kB / 427.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007939/0.1647, allocations: 275.7 kB / 427.8 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003537/0.1683, allocations: 3.347 MB / 431.1 MB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.1816, allocations: 5.264 MB / 436.4 MB, free: 7.023 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3382/0.5198, allocations: 55.97 MB / 492.4 MB, free: 64.62 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007353/0.5271, allocations: 3.475 MB / 495.8 MB, free: 61.45 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.5285, allocations: 0.9185 MB / 496.8 MB, free: 60.53 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01373/0.5423, allocations: 8.844 MB / 0.4937 GB, free: 52.03 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.5423, allocations: 64.58 kB / 0.4938 GB, free: 51.96 MB / 410.8 MB Notification: Performance of pre-optimization done (n=334): time 6.482e-06/0.5423, allocations: 4 kB / 0.4938 GB, free: 51.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=421): time 0.04469/0.587, allocations: 15.11 MB / 0.5086 GB, free: 37.68 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.5871, allocations: 196.9 kB / 0.5088 GB, free: 37.45 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/0.5924, allocations: 5.055 MB / 0.5137 GB, free: 32.66 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004365/0.5929, allocations: 89.7 kB / 0.5138 GB, free: 32.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001736/0.5946, allocations: 5.219 MB / 0.5189 GB, free: 27.39 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/0.596, allocations: 1.604 MB / 0.5204 GB, free: 25.77 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001785/0.5978, allocations: 1.983 MB / 0.5224 GB, free: 23.78 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.055e-05/0.5978, allocations: 305.1 kB / 0.5227 GB, free: 23.48 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/0.6005, allocations: 1.544 MB / 0.5242 GB, free: 21.93 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003903/0.6044, allocations: 7.296 MB / 0.5313 GB, free: 11.83 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007396/0.6118, allocations: 9.726 MB / 0.5408 GB, free: 15.17 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001349/0.6119, allocations: 60 kB / 0.5409 GB, free: 15.11 MB / 426.8 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.01354/0.6254, allocations: 8.109 MB / 0.5488 GB, free: 6.945 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.6256, allocations: 98.66 kB / 0.5489 GB, free: 6.852 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/0.6258, allocations: 204.9 kB / 0.5491 GB, free: 6.652 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/0.6297, allocations: 1.464 MB / 0.5505 GB, free: 5.188 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/0.6353, allocations: 2.328 MB / 0.5528 GB, free: 2.852 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007662/0.643, allocations: 4.685 MB / 0.5573 GB, free: 14.07 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005502/0.6485, allocations: 435.7 kB / 0.5578 GB, free: 13.64 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/0.6496, allocations: 0.5117 MB / 0.5583 GB, free: 13.13 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 945 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1314): * Single equations (assignments): 1307 * Array equations: 6 * 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,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00276/0.6523, allocations: 0.9497 MB / 0.5592 GB, free: 12.16 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/0.6535, allocations: 423.6 kB / 0.5596 GB, free: 11.75 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006116/0.6596, allocations: 3.267 MB / 0.5628 GB, free: 8.434 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.898e-05/0.6597, allocations: 63.98 kB / 0.5628 GB, free: 8.371 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.6597, allocations: 8 kB / 0.5628 GB, free: 8.363 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.6597, allocations: 15.94 kB / 0.5629 GB, free: 8.348 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02159/0.6813, allocations: 10.21 MB / 0.5728 GB, free: 13.78 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/0.6813, allocations: 16 kB / 0.5728 GB, free: 13.77 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.6828, allocations: 0.5428 MB / 0.5734 GB, free: 13.22 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00343/0.6862, allocations: 1.32 MB / 0.5747 GB, free: 11.89 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003741/0.6866, allocations: 87.97 kB / 0.5748 GB, free: 11.81 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005474/0.6921, allocations: 3.341 MB / 0.578 GB, free: 8.367 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.6921, allocations: 19.94 kB / 0.578 GB, free: 8.348 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008196/0.7003, allocations: 4.676 MB / 0.5826 GB, free: 3.289 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/0.7024, allocations: 0.5428 MB / 0.5831 GB, free: 2.742 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008435/0.7033, allocations: 79.98 kB / 0.5832 GB, free: 2.664 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.7048, allocations: 88.02 kB / 0.5833 GB, free: 2.578 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000491/0.7053, allocations: 289.3 kB / 0.5836 GB, free: 2.293 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.7055, allocations: 95.98 kB / 0.5837 GB, free: 2.199 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002438/0.7079, allocations: 1.881 MB / 0.5855 GB, free: 352 kB / 458.8 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7079, allocations: 0 / 0.5855 GB, free: 352 kB / 458.8 MB Notification: Performance of remove unused functions: time 0.008779/0.7167, allocations: 2.121 MB / 0.5876 GB, free: 14.22 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 2 (j2.s,j2.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 (336): * Single equations (assignments): 329 * Array equations: 6 * 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,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006747/0.7174, allocations: 295.3 kB / 0.5878 GB, free: 13.92 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007052/0.7244, allocations: 4.883 MB / 0.5926 GB, free: 9.051 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003405/0.7248, allocations: 124.2 kB / 0.5927 GB, free: 8.918 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.7268, allocations: 1.371 MB / 0.5941 GB, free: 7.527 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/0.7315, allocations: 1.158 MB / 0.5952 GB, free: 6.391 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/0.753, allocations: 14.32 MB / 0.6092 GB, free: 7.754 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/0.7554, allocations: 2.326 MB / 0.6115 GB, free: 5.402 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002592/0.758, allocations: 0.8626 MB / 0.6123 GB, free: 4.535 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/0.7596, allocations: 0.919 MB / 0.6132 GB, free: 3.617 MB / 490.8 MB Notification: Performance of SimCode: time 1.733e-06/0.7596, allocations: 0 / 0.6132 GB, free: 3.617 MB / 490.8 MB Notification: Performance of Templates: time 0.262/1.022, allocations: 71.2 MB / 0.6827 GB, free: 117.8 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.343452311120927]