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.001619/0.001619, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001097/0.001097, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9797/0.9797, allocations: 177 MB / 204.8 MB, free: 5.605 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.2983/0.2983, allocations: 34.86 MB / 296.3 MB, free: 0.5586 MB / 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.924e-06/1.924e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.399e-05, allocations: 7.156 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.03591/0.03594, allocations: 16.98 MB / 395.7 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.0473, allocations: 5.624 MB / 401.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003161/0.05046, allocations: 127.4 kB / 401.5 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006174/0.05663, allocations: 4.918 MB / 406.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007063/0.0637, allocations: 3.192 MB / 409.6 MB, free: 3.145 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.0664, allocations: 1.692 MB / 411.3 MB, free: 1.449 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.07735, allocations: 10.31 MB / 421.6 MB, free: 7.117 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008438/0.08579, allocations: 6.45 MB / 428 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009855/0.09564, allocations: 4.705 MB / 432.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007508/0.1031, allocations: 4.969 MB / 437.7 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002549/0.1057, allocations: 0.6797 MB / 438.4 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003684/0.1094, allocations: 1.841 MB / 440.2 MB, free: 4.375 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004449/0.1138, allocations: 3.986 MB / 444.2 MB, free: 388 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1996/0.3134, allocations: 2.489 MB / 446.7 MB, free: 62.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.3269, allocations: 8.767 MB / 455.5 MB, free: 62.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3269, allocations: 0 / 455.5 MB, free: 62.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3269, allocations: 0 / 455.5 MB, free: 62.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005533/0.3275, allocations: 0 / 455.5 MB, free: 62.07 MB / 410.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.0206/0.3481, allocations: 9.875 MB / 465.4 MB, free: 58.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.3481, allocations: 9.531 kB / 465.4 MB, free: 58.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.3605, allocations: 5.214 MB / 470.6 MB, free: 58.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.3707, allocations: 4.535 MB / 475.1 MB, free: 56.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/0.3711, allocations: 429.5 kB / 475.5 MB, free: 56.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002974/0.3741, allocations: 0.6001 MB / 476.1 MB, free: 56.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03048/0.4046, allocations: 12.31 MB / 488.4 MB, free: 50.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003437/0.4049, allocations: 77.92 kB / 488.5 MB, free: 50.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001393/0.4063, allocations: 272 kB / 488.8 MB, free: 50.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004051/0.4104, allocations: 3.713 MB / 492.5 MB, free: 49.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/0.4307, allocations: 7.255 MB / 499.8 MB, free: 48.59 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.07587/0.5065, allocations: 78.28 MB / 0.5645 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.5172, allocations: 3.972 MB / 0.5684 GB, free: 6.992 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002966/0.5202, allocations: 1.362 MB / 0.5697 GB, free: 5.609 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/0.5394, allocations: 10.31 MB / 0.5798 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/0.5394, allocations: 71.41 kB / 0.5798 GB, free: 11.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=335): time 8.065e-06/0.5394, allocations: 4 kB / 0.5798 GB, free: 11.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=419): time 0.05384/0.5933, allocations: 23.79 MB / 0.6031 GB, free: 3.672 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.5934, allocations: 196.6 kB / 0.6033 GB, free: 3.445 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1917/0.7851, allocations: 5.615 MB / 0.6087 GB, free: 141.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009207/0.786, allocations: 84.61 kB / 0.6088 GB, free: 141.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002936/0.7889, allocations: 5.817 MB / 0.6145 GB, free: 139 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/0.7907, allocations: 1.642 MB / 0.6161 GB, free: 138.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003004/0.7937, allocations: 2.249 MB / 0.6183 GB, free: 137.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.7938, allocations: 481.4 kB / 0.6188 GB, free: 137.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002554/0.7963, allocations: 1.451 MB / 0.6202 GB, free: 137.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005153/0.8015, allocations: 10.24 MB / 0.6302 GB, free: 126.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/0.8116, allocations: 12.89 MB / 0.6428 GB, free: 114.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002182/0.8118, allocations: 60.97 kB / 0.6428 GB, free: 114.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02098/0.8328, allocations: 10.6 MB / 0.6532 GB, free: 111.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.8329, allocations: 95.69 kB / 0.6533 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002993/0.8332, allocations: 206.8 kB / 0.6535 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004764/0.838, allocations: 1.882 MB / 0.6553 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005527/0.8435, allocations: 2.466 MB / 0.6577 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007821/0.8513, allocations: 6.049 MB / 0.6636 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006385/0.8577, allocations: 0.6967 MB / 0.6643 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/0.8591, allocations: 0.6043 MB / 0.6649 GB, free: 107.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * 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 (1312): * Single equations (assignments): 1305 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003615/0.8627, allocations: 0.9896 MB / 0.6659 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/0.864, allocations: 0.6844 MB / 0.6665 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007831/0.8719, allocations: 4.379 MB / 0.6708 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/0.8719, allocations: 64.09 kB / 0.6709 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/0.8719, allocations: 7.406 kB / 0.6709 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.684e-05/0.872, allocations: 21.06 kB / 0.6709 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/0.8934, allocations: 12.39 MB / 0.683 GB, free: 95.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.8934, allocations: 16.03 kB / 0.683 GB, free: 95.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.895, allocations: 0.6294 MB / 0.6836 GB, free: 94.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003733/0.8987, allocations: 1.403 MB / 0.685 GB, free: 93.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003649/0.8991, allocations: 85 kB / 0.6851 GB, free: 93.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006617/0.9057, allocations: 5.145 MB / 0.6901 GB, free: 88.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/0.9057, allocations: 15.94 kB / 0.6901 GB, free: 88.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009123/0.9149, allocations: 6.185 MB / 0.6961 GB, free: 83.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/0.9164, allocations: 0.5692 MB / 0.6967 GB, free: 82.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006218/0.9171, allocations: 80.31 kB / 0.6968 GB, free: 82.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.9187, allocations: 280.8 kB / 0.697 GB, free: 82.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004155/0.9191, allocations: 278.1 kB / 0.6973 GB, free: 82.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/0.9192, allocations: 117.3 kB / 0.6974 GB, free: 82.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003486/0.9227, allocations: 2.401 MB / 0.6998 GB, free: 80.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9227, allocations: 0 / 0.6998 GB, free: 80.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008168/0.9309, allocations: 2.13 MB / 0.7018 GB, free: 78.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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 (331): * Single equations (assignments): 324 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009339/0.9318, allocations: 301.7 kB / 0.7021 GB, free: 77.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009731/0.9416, allocations: 5.88 MB / 0.7079 GB, free: 72.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.9416, allocations: 4 kB / 0.7079 GB, free: 72.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.944, allocations: 1.781 MB / 0.7096 GB, free: 70.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/0.9478, allocations: 0.7284 MB / 0.7103 GB, free: 69.87 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/0.9707, allocations: 14.69 MB / 0.7247 GB, free: 54.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/0.9735, allocations: 2.341 MB / 0.727 GB, free: 52.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004797/0.9783, allocations: 2.734 MB / 0.7296 GB, free: 49.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.9794, allocations: 408.4 kB / 0.73 GB, free: 49.35 MB / 474.7 MB Notification: Performance of SimCode: time 2.685e-06/0.9794, allocations: 0 / 0.73 GB, free: 49.35 MB / 474.7 MB Notification: Performance of Templates: time 0.229/1.208, allocations: 65.88 MB / 0.7944 GB, free: 126.9 MB / 474.7 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.946087770164013]