Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001346/0.001346, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001023/0.001023, allocations: 165.3 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9169/0.9169, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1269/0.1269, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.849e-05, allocations: 4.281 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.012/0.01201, allocations: 17.15 MB / 364.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0094/0.02141, allocations: 5.567 MB / 370.4 MB, free: 2.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.02302, allocations: 127.4 kB / 370.5 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004344/0.02737, allocations: 4.929 MB / 375.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.0315, allocations: 3.243 MB / 378.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.03342, allocations: 1.7 MB / 380.4 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007543/0.04097, allocations: 9.877 MB / 390.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006524/0.04749, allocations: 6.47 MB / 396.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00588/0.05337, allocations: 4.74 MB / 401.4 MB, free: 3.426 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005451/0.05882, allocations: 5.004 MB / 406.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.06009, allocations: 0.6758 MB / 407.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.06237, allocations: 1.845 MB / 409 MB, free: 11.89 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002321/0.06469, allocations: 4.044 MB / 413 MB, free: 7.832 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.06671, allocations: 2.532 MB / 415.5 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007298/0.07401, allocations: 8.859 MB / 424.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.07401, allocations: 0 / 424.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.07401, allocations: 0 / 424.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001167/0.07413, allocations: 3.938 kB / 424.4 MB, free: 12.4 MB / 362.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.01044/0.08457, allocations: 9.924 MB / 434.3 MB, free: 2.383 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.08462, allocations: 16.03 kB / 434.4 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2771/0.3618, allocations: 5.204 MB / 439.6 MB, free: 82.54 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008191/0.3699, allocations: 4.639 MB / 444.2 MB, free: 82.18 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/0.3702, allocations: 431.7 kB / 444.6 MB, free: 82.17 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/0.3716, allocations: 0.604 MB / 445.2 MB, free: 82.15 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/0.3865, allocations: 12.31 MB / 457.5 MB, free: 72.73 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.3866, allocations: 77.64 kB / 457.6 MB, free: 72.66 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004503/0.387, allocations: 273.2 kB / 457.9 MB, free: 72.46 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002582/0.3896, allocations: 3.711 MB / 461.6 MB, free: 68.77 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.4019, allocations: 7.246 MB / 468.8 MB, free: 61.57 MB / 362.8 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.05569/0.4576, allocations: 78.33 MB / 0.5343 GB, free: 13.77 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.016/0.4736, allocations: 3.978 MB / 0.5382 GB, free: 9.75 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.4755, allocations: 1.351 MB / 0.5395 GB, free: 8.379 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01416/0.4897, allocations: 10.33 MB / 0.5496 GB, free: 14.34 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.4897, allocations: 71.42 kB / 0.5497 GB, free: 14.26 MB / 410.8 MB Notification: Performance of pre-optimization done (n=335): time 5.961e-06/0.4897, allocations: 0 / 0.5497 GB, free: 14.26 MB / 410.8 MB Notification: Performance of matching and sorting (n=419): time 0.04639/0.5361, allocations: 23.93 MB / 0.5731 GB, free: 6.469 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.5362, allocations: 196.8 kB / 0.5733 GB, free: 6.238 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005233/0.5414, allocations: 5.678 MB / 0.5788 GB, free: 0.5625 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002057/0.5416, allocations: 88.28 kB / 0.5789 GB, free: 484 kB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002734/0.5443, allocations: 5.816 MB / 0.5846 GB, free: 10.68 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.5455, allocations: 1.65 MB / 0.5862 GB, free: 9.043 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/0.5477, allocations: 2.247 MB / 0.5884 GB, free: 6.789 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.5478, allocations: 484.7 kB / 0.5888 GB, free: 6.312 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/0.5501, allocations: 1.454 MB / 0.5902 GB, free: 4.855 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1655/0.7156, allocations: 10.23 MB / 0.6002 GB, free: 128.4 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.7273, allocations: 12.89 MB / 0.6128 GB, free: 116.7 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001489/0.7275, allocations: 61.44 kB / 0.6129 GB, free: 116.7 MB / 442.8 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02277/0.7502, allocations: 10.61 MB / 0.6232 GB, free: 115 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.7505, allocations: 93.75 kB / 0.6233 GB, free: 115 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004345/0.751, allocations: 207.1 kB / 0.6235 GB, free: 115 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005522/0.7565, allocations: 1.881 MB / 0.6254 GB, free: 115 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007495/0.764, allocations: 2.467 MB / 0.6278 GB, free: 114.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00934/0.7733, allocations: 6.048 MB / 0.6337 GB, free: 111.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007057/0.7804, allocations: 0.7208 MB / 0.6344 GB, free: 111.3 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/0.782, allocations: 0.5992 MB / 0.635 GB, free: 110.8 MB / 442.8 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.003908/0.7859, allocations: 0.9964 MB / 0.6359 GB, free: 110.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/0.7873, allocations: 0.6881 MB / 0.6366 GB, free: 109.9 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00727/0.7946, allocations: 4.387 MB / 0.6409 GB, free: 107.3 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.862e-05/0.7946, allocations: 60 kB / 0.641 GB, free: 107.3 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.7946, allocations: 15.75 kB / 0.641 GB, free: 107.3 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/0.7947, allocations: 15.23 kB / 0.641 GB, free: 107.3 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02211/0.8168, allocations: 12.43 MB / 0.6531 GB, free: 96.69 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/0.8168, allocations: 12 kB / 0.6531 GB, free: 96.68 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/0.8189, allocations: 0.6326 MB / 0.6538 GB, free: 96.05 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004786/0.8237, allocations: 1.413 MB / 0.6551 GB, free: 94.64 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004158/0.8241, allocations: 76 kB / 0.6552 GB, free: 94.57 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008353/0.8325, allocations: 5.152 MB / 0.6602 GB, free: 89.39 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.8325, allocations: 15.94 kB / 0.6602 GB, free: 89.37 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/0.8445, allocations: 6.178 MB / 0.6663 GB, free: 83.11 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00294/0.8474, allocations: 1.076 MB / 0.6673 GB, free: 82.04 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009903/0.8484, allocations: 79.92 kB / 0.6674 GB, free: 81.96 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/0.8511, allocations: 310.1 kB / 0.6677 GB, free: 81.66 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005838/0.8517, allocations: 269.6 kB / 0.668 GB, free: 81.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/0.8519, allocations: 116 kB / 0.6681 GB, free: 81.29 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.004358/0.8563, allocations: 2.451 MB / 0.6705 GB, free: 78.86 MB / 442.8 MB Notification: Performance of sort global known variables: time 8e-08/0.8563, allocations: 0 / 0.6705 GB, free: 78.86 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01032/0.8666, allocations: 2.184 MB / 0.6726 GB, free: 76.7 MB / 442.8 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.001129/0.8677, allocations: 314.3 kB / 0.6729 GB, free: 76.41 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.009848/0.8776, allocations: 5.883 MB / 0.6786 GB, free: 70.54 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.8776, allocations: 4 kB / 0.6786 GB, free: 70.54 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/0.8801, allocations: 1.782 MB / 0.6804 GB, free: 68.73 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/0.8838, allocations: 0.7274 MB / 0.6811 GB, free: 68.02 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/0.9042, allocations: 14.76 MB / 0.6955 GB, free: 52.95 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/0.9066, allocations: 2.346 MB / 0.6978 GB, free: 50.57 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004959/0.9116, allocations: 2.738 MB / 0.7005 GB, free: 47.83 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/0.9128, allocations: 408.4 kB / 0.7009 GB, free: 47.43 MB / 442.8 MB Notification: Performance of SimCode: time 3.326e-06/0.9128, allocations: 0 / 0.7009 GB, free: 47.43 MB / 442.8 MB Notification: Performance of Templates: time 0.2529/1.166, allocations: 66.98 MB / 0.7663 GB, free: 144.6 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.594447176437825]