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.002024/0.002024, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002305/0.002305, allocations: 156.8 kB / 24.27 MB, free: 156 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 1.592/1.592, allocations: 177 MB / 204.5 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3527/0.3527, allocations: 34.26 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.472e-06/1.472e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.157e-05, allocations: 6.25 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02433/0.02437, allocations: 16.89 MB / 394.1 MB, free: 1.941 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01535/0.03972, allocations: 5.593 MB / 399.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00476/0.04448, allocations: 131.4 kB / 399.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01539/0.05987, allocations: 4.898 MB / 404.7 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01121/0.07107, allocations: 3.184 MB / 407.9 MB, free: 4.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004816/0.07589, allocations: 1.696 MB / 409.6 MB, free: 2.391 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01635/0.09224, allocations: 10.32 MB / 419.9 MB, free: 8.055 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01099/0.1032, allocations: 6.45 MB / 426.4 MB, free: 1.527 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/0.1144, allocations: 4.697 MB / 431.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009109/0.1235, allocations: 4.981 MB / 436 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002323/0.1258, allocations: 0.6758 MB / 436.7 MB, free: 7.152 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004701/0.1305, allocations: 1.837 MB / 438.5 MB, free: 5.312 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006142/0.1367, allocations: 3.99 MB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1973/0.334, allocations: 2.488 MB / 445 MB, free: 62.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01632/0.3503, allocations: 13.81 MB / 458.8 MB, free: 61.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3503, allocations: 0 / 458.8 MB, free: 61.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3503, allocations: 0 / 458.8 MB, free: 61.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005153/0.3508, allocations: 0 / 458.8 MB, free: 61.85 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.02679/0.3776, allocations: 10.7 MB / 469.5 MB, free: 58.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3777, allocations: 9.875 kB / 469.5 MB, free: 58.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02532/0.403, allocations: 5.214 MB / 474.8 MB, free: 57.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01563/0.4186, allocations: 4.557 MB / 479.3 MB, free: 55.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006409/0.4193, allocations: 429.1 kB / 479.7 MB, free: 55.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004622/0.4239, allocations: 0.6026 MB / 480.3 MB, free: 55.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04198/0.4659, allocations: 13.13 MB / 493.5 MB, free: 48.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000347/0.4662, allocations: 77.47 kB / 493.5 MB, free: 48.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002012/0.4682, allocations: 270.1 kB / 493.8 MB, free: 48.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005513/0.4737, allocations: 3.714 MB / 497.5 MB, free: 47.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03179/0.5055, allocations: 7.944 MB / 0.4936 GB, free: 46.66 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.1292/0.6348, allocations: 91.59 MB / 0.5831 GB, free: 5.461 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01664/0.6514, allocations: 4.049 MB / 0.587 GB, free: 1.371 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00409/0.6555, allocations: 1.405 MB / 0.5884 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03299/0.6885, allocations: 10.56 MB / 0.5987 GB, free: 5.492 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.791e-05/0.6886, allocations: 70.98 kB / 0.5988 GB, free: 5.414 MB / 474.7 MB Notification: Performance of pre-optimization done (n=335): time 7.534e-06/0.6886, allocations: 0 / 0.5988 GB, free: 5.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=419): time 0.2851/0.9737, allocations: 24.23 MB / 0.6224 GB, free: 142.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.9737, allocations: 192.8 kB / 0.6226 GB, free: 142.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/0.985, allocations: 7.057 MB / 0.6295 GB, free: 141.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009918/0.986, allocations: 87.36 kB / 0.6296 GB, free: 141.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00483/0.9908, allocations: 6.15 MB / 0.6356 GB, free: 137.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002689/0.9935, allocations: 1.763 MB / 0.6373 GB, free: 136.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004637/0.9982, allocations: 2.674 MB / 0.6399 GB, free: 136 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.9982, allocations: 481.8 kB / 0.6404 GB, free: 135.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/1.002, allocations: 1.637 MB / 0.642 GB, free: 135.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00701/1.009, allocations: 10.78 MB / 0.6525 GB, free: 123 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/1.022, allocations: 13.76 MB / 0.666 GB, free: 109 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003209/1.022, allocations: 60.22 kB / 0.666 GB, free: 109 MB / 474.7 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02794/1.05, allocations: 11.06 MB / 0.6768 GB, free: 102 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/1.05, allocations: 96 kB / 0.6769 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002873/1.051, allocations: 208 kB / 0.6771 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007924/1.059, allocations: 2.003 MB / 0.6791 GB, free: 99.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007845/1.066, allocations: 2.456 MB / 0.6815 GB, free: 97.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01296/1.079, allocations: 7.083 MB / 0.6884 GB, free: 90.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009216/1.089, allocations: 0.7071 MB / 0.6891 GB, free: 89.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/1.09, allocations: 0.6027 MB / 0.6897 GB, free: 88.75 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.004489/1.095, allocations: 1.159 MB / 0.6908 GB, free: 87.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.096, allocations: 0.6943 MB / 0.6915 GB, free: 86.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/1.109, allocations: 4.662 MB / 0.696 GB, free: 82.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-05/1.109, allocations: 63.98 kB / 0.6961 GB, free: 82.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/1.109, allocations: 8 kB / 0.6961 GB, free: 82.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.519e-05/1.109, allocations: 23.92 kB / 0.6961 GB, free: 82.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03697/1.146, allocations: 14.66 MB / 0.7104 GB, free: 67.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/1.146, allocations: 12 kB / 0.7104 GB, free: 67.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003051/1.149, allocations: 0.6201 MB / 0.711 GB, free: 66.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0072/1.157, allocations: 1.513 MB / 0.7125 GB, free: 65.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006294/1.157, allocations: 84 kB / 0.7126 GB, free: 64.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/1.169, allocations: 6.036 MB / 0.7185 GB, free: 58.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.169, allocations: 23.78 kB / 0.7185 GB, free: 58.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.184, allocations: 6.784 MB / 0.7251 GB, free: 51.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/1.186, allocations: 0.5663 MB / 0.7257 GB, free: 51.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/1.188, allocations: 81.86 kB / 0.7258 GB, free: 51.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00385/1.192, allocations: 279.6 kB / 0.726 GB, free: 50.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008263/1.192, allocations: 273.5 kB / 0.7263 GB, free: 50.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002684/1.193, allocations: 118.5 kB / 0.7264 GB, free: 50.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005373/1.198, allocations: 2.9 MB / 0.7292 GB, free: 47.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.198, allocations: 0 / 0.7292 GB, free: 47.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01365/1.212, allocations: 2.127 MB / 0.7313 GB, free: 45.38 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.001246/1.213, allocations: 308.8 kB / 0.7316 GB, free: 45.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01231/1.225, allocations: 6.593 MB / 0.738 GB, free: 38.49 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/1.225, allocations: 4 kB / 0.7381 GB, free: 38.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003486/1.229, allocations: 2.017 MB / 0.74 GB, free: 36.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005043/1.234, allocations: 0.7175 MB / 0.7407 GB, free: 35.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/1.26, allocations: 14.95 MB / 0.7553 GB, free: 20.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006258/1.266, allocations: 4.631 MB / 0.7598 GB, free: 15.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006352/1.272, allocations: 2.733 MB / 0.7625 GB, free: 13.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/1.274, allocations: 412.4 kB / 0.7629 GB, free: 12.65 MB / 474.7 MB Notification: Performance of SimCode: time 2.074e-06/1.274, allocations: 0 / 0.7629 GB, free: 12.65 MB / 474.7 MB Notification: Performance of Templates: time 0.2992/1.573, allocations: 65.81 MB / 0.8272 GB, free: 99.36 MB / 474.7 MB " [Timeout remaining time 658] 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: 9.161424310063012]