Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.002635/0.002635, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003168/0.003168, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.59/1.59, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.384/0.384, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.914e-05, allocations: 9.547 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02383/0.02386, allocations: 16.88 MB / 394.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.03916, allocations: 5.593 MB / 399.8 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004204/0.04336, allocations: 127.4 kB / 399.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01172/0.05508, allocations: 4.902 MB / 404.8 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009451/0.06453, allocations: 3.184 MB / 408 MB, free: 4.156 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004479/0.06901, allocations: 1.7 MB / 409.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01639/0.0854, allocations: 10.31 MB / 420 MB, free: 8.125 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.09696, allocations: 6.446 MB / 426.4 MB, free: 1.602 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01246/0.1094, allocations: 4.701 MB / 431.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/0.1196, allocations: 4.981 MB / 436.1 MB, free: 7.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002778/0.1224, allocations: 0.6797 MB / 436.8 MB, free: 7.219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006235/0.1286, allocations: 1.826 MB / 438.6 MB, free: 5.391 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006932/0.1355, allocations: 3.997 MB / 442.6 MB, free: 1.383 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1897/0.3252, allocations: 2.488 MB / 445.1 MB, free: 62.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01901/0.3442, allocations: 13.81 MB / 458.9 MB, free: 61.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.3442, allocations: 0 / 458.9 MB, free: 61.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3442, allocations: 0 / 458.9 MB, free: 61.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006238/0.3448, allocations: 0 / 458.9 MB, free: 61.84 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.03158/0.3764, allocations: 10.7 MB / 469.6 MB, free: 58.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3765, allocations: 10.59 kB / 469.6 MB, free: 58.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02254/0.399, allocations: 5.213 MB / 474.8 MB, free: 57.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/0.4153, allocations: 4.55 MB / 479.4 MB, free: 55.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006575/0.416, allocations: 433.5 kB / 479.8 MB, free: 55.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003854/0.4199, allocations: 0.6107 MB / 480.4 MB, free: 55.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03697/0.4568, allocations: 13.14 MB / 493.6 MB, free: 48.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002274/0.4571, allocations: 73.66 kB / 493.6 MB, free: 48.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008187/0.4579, allocations: 273.5 kB / 493.9 MB, free: 48.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004799/0.4627, allocations: 3.712 MB / 497.6 MB, free: 47.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02536/0.488, allocations: 7.94 MB / 0.4937 GB, free: 46.69 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.1234/0.6114, allocations: 91.59 MB / 0.5831 GB, free: 5.453 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01676/0.6282, allocations: 4.049 MB / 0.5871 GB, free: 1.367 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004121/0.6323, allocations: 1.408 MB / 0.5885 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03209/0.6644, allocations: 10.56 MB / 0.5988 GB, free: 5.484 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.62e-05/0.6645, allocations: 70.36 kB / 0.5989 GB, free: 5.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=335): time 7.334e-06/0.6645, allocations: 4 kB / 0.5989 GB, free: 5.406 MB / 474.7 MB Notification: Performance of matching and sorting (n=419): time 0.2737/0.9382, allocations: 24.22 MB / 0.6225 GB, free: 142.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.9383, allocations: 200.2 kB / 0.6227 GB, free: 142.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01326/0.9516, allocations: 7.056 MB / 0.6296 GB, free: 141.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009109/0.9525, allocations: 84.27 kB / 0.6297 GB, free: 141.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004645/0.9571, allocations: 6.147 MB / 0.6357 GB, free: 138 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002385/0.9595, allocations: 1.765 MB / 0.6374 GB, free: 137 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004875/0.9644, allocations: 2.674 MB / 0.64 GB, free: 136.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.9645, allocations: 478 kB / 0.6405 GB, free: 135.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004688/0.9692, allocations: 1.638 MB / 0.6421 GB, free: 135.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008606/0.9778, allocations: 10.79 MB / 0.6526 GB, free: 123.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01395/0.9917, allocations: 13.76 MB / 0.666 GB, free: 109.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002924/0.992, allocations: 60.41 kB / 0.6661 GB, free: 109.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02768/1.02, allocations: 11.05 MB / 0.6769 GB, free: 102.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/1.02, allocations: 92 kB / 0.677 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002551/1.02, allocations: 208 kB / 0.6772 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008479/1.029, allocations: 2.009 MB / 0.6791 GB, free: 99.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008564/1.037, allocations: 2.46 MB / 0.6815 GB, free: 97.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/1.051, allocations: 7.085 MB / 0.6885 GB, free: 90.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/1.062, allocations: 0.7001 MB / 0.6891 GB, free: 89.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/1.065, allocations: 0.597 MB / 0.6897 GB, free: 88.81 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.00642/1.071, allocations: 1.175 MB / 0.6909 GB, free: 87.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002058/1.073, allocations: 0.6798 MB / 0.6915 GB, free: 86.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/1.086, allocations: 4.667 MB / 0.6961 GB, free: 82.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.848e-05/1.086, allocations: 63.2 kB / 0.6962 GB, free: 82.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/1.086, allocations: 15.98 kB / 0.6962 GB, free: 82.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-05/1.086, allocations: 19.22 kB / 0.6962 GB, free: 82.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03733/1.124, allocations: 14.64 MB / 0.7105 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/1.124, allocations: 12 kB / 0.7105 GB, free: 67.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/1.127, allocations: 0.6208 MB / 0.7111 GB, free: 66.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007299/1.134, allocations: 1.521 MB / 0.7126 GB, free: 65.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007948/1.135, allocations: 82.48 kB / 0.7127 GB, free: 65.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/1.146, allocations: 6.035 MB / 0.7186 GB, free: 58.87 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/1.146, allocations: 19.88 kB / 0.7186 GB, free: 58.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.162, allocations: 6.773 MB / 0.7252 GB, free: 51.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.164, allocations: 0.5811 MB / 0.7258 GB, free: 51.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/1.166, allocations: 75.98 kB / 0.7258 GB, free: 51.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003722/1.169, allocations: 279.6 kB / 0.7261 GB, free: 50.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007542/1.17, allocations: 281.5 kB / 0.7264 GB, free: 50.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002612/1.17, allocations: 115 kB / 0.7265 GB, free: 50.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004761/1.175, allocations: 2.896 MB / 0.7293 GB, free: 47.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.175, allocations: 4 kB / 0.7293 GB, free: 47.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01069/1.186, allocations: 2.125 MB / 0.7314 GB, free: 45.43 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.001128/1.187, allocations: 308.3 kB / 0.7317 GB, free: 45.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0129/1.2, allocations: 6.592 MB / 0.7381 GB, free: 38.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.218e-05/1.2, allocations: 4 kB / 0.7381 GB, free: 38.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003644/1.204, allocations: 2.017 MB / 0.7401 GB, free: 36.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004895/1.208, allocations: 0.7268 MB / 0.7408 GB, free: 35.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/1.233, allocations: 14.94 MB / 0.7554 GB, free: 20.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005392/1.239, allocations: 4.62 MB / 0.7599 GB, free: 15.85 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006335/1.245, allocations: 2.738 MB / 0.7626 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/1.247, allocations: 412.4 kB / 0.763 GB, free: 12.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.994e-06/1.247, allocations: 0 / 0.763 GB, free: 12.7 MB / 474.7 MB Notification: Performance of Templates: time 0.293/1.54, allocations: 65.81 MB / 0.8272 GB, free: 99.4 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 9.142919128993526]