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.001839/0.001839, allocations: 96.97 kB / 20.21 MB, free: 4.211 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.002038/0.002038, allocations: 165.2 kB / 23.52 MB, free: 0.9023 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 1.47/1.47, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.2486/0.2486, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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.733e-06/1.733e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.833e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01808/0.01811, allocations: 17.03 MB / 364 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.03324, allocations: 5.551 MB / 369.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004051/0.03729, allocations: 123.4 kB / 369.6 MB, free: 3.008 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.04927, allocations: 4.917 MB / 374.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.06029, allocations: 3.243 MB / 377.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004811/0.06511, allocations: 1.712 MB / 379.5 MB, free: 9.102 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01772/0.08283, allocations: 9.868 MB / 389.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/0.09526, allocations: 6.474 MB / 395.8 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01466/0.1099, allocations: 4.729 MB / 400.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/0.1208, allocations: 5.012 MB / 405.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003296/0.1241, allocations: 0.6797 MB / 406.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0064/0.1305, allocations: 1.841 MB / 408.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007171/0.1377, allocations: 4.044 MB / 412.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007957/0.1456, allocations: 2.528 MB / 414.7 MB, free: 5.793 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02427/0.1699, allocations: 13.91 MB / 428.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1699, allocations: 4 kB / 428.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1699, allocations: 0 / 428.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005783/0.1705, allocations: 0 / 428.6 MB, free: 7.832 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.3568/0.5273, allocations: 10.76 MB / 439.3 MB, free: 85.48 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5274, allocations: 13.47 kB / 439.4 MB, free: 85.48 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0211/0.5485, allocations: 5.206 MB / 444.6 MB, free: 83.84 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.5613, allocations: 4.657 MB / 449.2 MB, free: 79.65 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.5617, allocations: 428.1 kB / 449.6 MB, free: 79.3 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0028/0.5645, allocations: 0.6007 MB / 450.2 MB, free: 78.77 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03152/0.596, allocations: 13.13 MB / 463.4 MB, free: 64.26 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/0.5963, allocations: 71.39 kB / 463.4 MB, free: 64.19 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009304/0.5972, allocations: 279.7 kB / 463.7 MB, free: 63.92 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004175/0.6014, allocations: 3.714 MB / 467.4 MB, free: 60.21 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02466/0.626, allocations: 7.935 MB / 475.4 MB, free: 52.28 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.1188/0.7448, allocations: 91.68 MB / 0.5538 GB, free: 5.602 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/0.7618, allocations: 4.049 MB / 0.5577 GB, free: 1.508 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00422/0.766, allocations: 1.407 MB / 0.5591 GB, free: 88 kB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03515/0.8012, allocations: 10.57 MB / 0.5694 GB, free: 5.527 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.237e-05/0.8013, allocations: 67.36 kB / 0.5695 GB, free: 5.449 MB / 426.8 MB Notification: Performance of pre-optimization done (n=335): time 8.306e-06/0.8013, allocations: 4 kB / 0.5695 GB, free: 5.445 MB / 426.8 MB Notification: Performance of matching and sorting (n=419): time 0.3345/1.136, allocations: 24.37 MB / 0.5933 GB, free: 143.9 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/1.136, allocations: 201.2 kB / 0.5935 GB, free: 143.7 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/1.147, allocations: 7.129 MB / 0.6004 GB, free: 143.3 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008345/1.148, allocations: 90.48 kB / 0.6005 GB, free: 143.3 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003572/1.152, allocations: 6.159 MB / 0.6065 GB, free: 140.7 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002172/1.154, allocations: 1.756 MB / 0.6082 GB, free: 139.7 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003265/1.157, allocations: 2.687 MB / 0.6109 GB, free: 138.3 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/1.157, allocations: 480.7 kB / 0.6113 GB, free: 137.8 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003309/1.161, allocations: 1.628 MB / 0.6129 GB, free: 137.5 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006979/1.168, allocations: 10.78 MB / 0.6234 GB, free: 125.3 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.18, allocations: 13.76 MB / 0.6369 GB, free: 111.5 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002317/1.181, allocations: 57.16 kB / 0.6369 GB, free: 111.5 MB / 442.8 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02754/1.208, allocations: 11.06 MB / 0.6477 GB, free: 102.4 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/1.208, allocations: 92 kB / 0.6478 GB, free: 102.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002333/1.209, allocations: 208 kB / 0.648 GB, free: 102.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008199/1.217, allocations: 2 MB / 0.65 GB, free: 100.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008719/1.225, allocations: 2.456 MB / 0.6524 GB, free: 97.63 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/1.239, allocations: 7.099 MB / 0.6593 GB, free: 90.42 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/1.25, allocations: 0.7292 MB / 0.66 GB, free: 89.7 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002654/1.252, allocations: 0.5937 MB / 0.6606 GB, free: 89.1 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.005985/1.258, allocations: 1.167 MB / 0.6617 GB, free: 87.92 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002369/1.261, allocations: 0.6837 MB / 0.6624 GB, free: 87.23 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.274, allocations: 4.674 MB / 0.667 GB, free: 82.5 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.864e-05/1.274, allocations: 67.89 kB / 0.667 GB, free: 82.44 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-05/1.274, allocations: 12 kB / 0.667 GB, free: 82.43 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.018e-05/1.274, allocations: 19.94 kB / 0.6671 GB, free: 82.41 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03858/1.312, allocations: 14.71 MB / 0.6814 GB, free: 67.47 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/1.313, allocations: 12.94 kB / 0.6814 GB, free: 67.46 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002981/1.316, allocations: 0.6279 MB / 0.682 GB, free: 66.83 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007466/1.323, allocations: 1.505 MB / 0.6835 GB, free: 65.32 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008478/1.324, allocations: 83.98 kB / 0.6836 GB, free: 65.24 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/1.336, allocations: 6.047 MB / 0.6895 GB, free: 59.09 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.336, allocations: 19.94 kB / 0.6895 GB, free: 59.07 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/1.352, allocations: 6.767 MB / 0.6961 GB, free: 51.97 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00428/1.356, allocations: 1.074 MB / 0.6972 GB, free: 50.89 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00163/1.358, allocations: 75.98 kB / 0.6972 GB, free: 50.82 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004142/1.362, allocations: 307.5 kB / 0.6975 GB, free: 50.52 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007278/1.363, allocations: 273.5 kB / 0.6978 GB, free: 50.25 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/1.363, allocations: 119.6 kB / 0.6979 GB, free: 50.13 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.005035/1.368, allocations: 2.947 MB / 0.7008 GB, free: 47.21 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.368, allocations: 0 / 0.7008 GB, free: 47.21 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01002/1.378, allocations: 2.179 MB / 0.7029 GB, free: 45.04 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.001059/1.379, allocations: 309.4 kB / 0.7032 GB, free: 44.73 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01309/1.392, allocations: 6.58 MB / 0.7096 GB, free: 38.16 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.44e-05/1.392, allocations: 4 kB / 0.7096 GB, free: 38.15 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003967/1.396, allocations: 2.022 MB / 0.7116 GB, free: 36.11 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005846/1.402, allocations: 0.7197 MB / 0.7123 GB, free: 35.41 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/1.429, allocations: 15.03 MB / 0.727 GB, free: 20.04 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006205/1.435, allocations: 4.641 MB / 0.7315 GB, free: 15.37 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.006763/1.442, allocations: 2.742 MB / 0.7342 GB, free: 12.62 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/1.444, allocations: 408.4 kB / 0.7346 GB, free: 12.21 MB / 442.8 MB Notification: Performance of SimCode: time 2.595e-06/1.444, allocations: 0 / 0.7346 GB, free: 12.21 MB / 442.8 MB Notification: Performance of Templates: time 0.383/1.827, allocations: 66.93 MB / 0.8 GB, free: 107 MB / 458.8 MB " [Timeout remaining time 658] 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: 9.230384628055617]