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.0009918/0.0009918, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009976/0.0009976, allocations: 161 kB / 24.56 MB, free: 12 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 0.9992/0.9992, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2623/0.2623, allocations: 34.27 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] 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.954e-06/1.954e-06, allocations: 0 / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.183e-05, allocations: 6.312 kB / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01647/0.01649, allocations: 16.99 MB / 395 MB, free: 1.547 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009808/0.0263, allocations: 5.612 MB / 400.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.02812, allocations: 127.4 kB / 400.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00483/0.03295, allocations: 4.918 MB / 405.7 MB, free: 6.855 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.03781, allocations: 3.184 MB / 408.9 MB, free: 3.656 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.04001, allocations: 1.708 MB / 410.6 MB, free: 1.945 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009/0.04901, allocations: 10.31 MB / 420.9 MB, free: 7.617 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007267/0.05627, allocations: 6.45 MB / 427.3 MB, free: 1.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006197/0.06247, allocations: 5.29 MB / 432.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005534/0.06801, allocations: 4.891 MB / 437.5 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.06913, allocations: 0.6641 MB / 438.2 MB, free: 6.223 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.07143, allocations: 1.826 MB / 440 MB, free: 4.395 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.07377, allocations: 3.962 MB / 444 MB, free: 432 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.178/0.2518, allocations: 2.469 MB / 446.4 MB, free: 63.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007447/0.2593, allocations: 8.706 MB / 455.1 MB, free: 62.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2593, allocations: 0 / 455.1 MB, free: 62.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2593, allocations: 0 / 455.1 MB, free: 62.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000121/0.2594, allocations: 0 / 455.1 MB, free: 62.7 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.01021/0.2696, allocations: 9.839 MB / 465 MB, free: 59.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2696, allocations: 9.594 kB / 465 MB, free: 59.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008866/0.2785, allocations: 5.133 MB / 470.1 MB, free: 58.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004542/0.283, allocations: 4.405 MB / 474.5 MB, free: 57.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.2832, allocations: 430 kB / 474.9 MB, free: 57.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000725/0.2839, allocations: 0.5978 MB / 475.5 MB, free: 57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/0.2997, allocations: 12.34 MB / 487.9 MB, free: 50.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.2998, allocations: 72.33 kB / 487.9 MB, free: 50.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005283/0.3003, allocations: 269.8 kB / 488.2 MB, free: 50.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003416/0.3038, allocations: 3.719 MB / 491.9 MB, free: 50.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/0.3185, allocations: 7.26 MB / 499.2 MB, free: 49.24 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.05304/0.3716, allocations: 78.26 MB / 0.5639 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008472/0.3801, allocations: 3.962 MB / 0.5678 GB, free: 7.875 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.3819, allocations: 1.348 MB / 0.5691 GB, free: 6.512 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01343/0.3953, allocations: 10.3 MB / 0.5791 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.3954, allocations: 70.78 kB / 0.5792 GB, free: 12.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=334): time 4.619e-06/0.3954, allocations: 0 / 0.5792 GB, free: 12.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.04565/0.441, allocations: 23.41 MB / 0.6021 GB, free: 4.984 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.4411, allocations: 196.9 kB / 0.6023 GB, free: 4.754 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1695/0.6106, allocations: 5.641 MB / 0.6078 GB, free: 141 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008044/0.6114, allocations: 86.14 kB / 0.6079 GB, free: 141 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003164/0.6146, allocations: 5.832 MB / 0.6135 GB, free: 138.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001223/0.6158, allocations: 1.651 MB / 0.6152 GB, free: 137.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00265/0.6185, allocations: 2.243 MB / 0.6174 GB, free: 137.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 3.814e-05/0.6185, allocations: 480.3 kB / 0.6178 GB, free: 136.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/0.6216, allocations: 1.473 MB / 0.6192 GB, free: 136.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005609/0.6272, allocations: 10.27 MB / 0.6293 GB, free: 125.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009079/0.6363, allocations: 12.94 MB / 0.6419 GB, free: 113.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.983e-05/0.6364, allocations: 59.41 kB / 0.642 GB, free: 113.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.01742/0.6538, allocations: 10.65 MB / 0.6524 GB, free: 111.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.6539, allocations: 97.78 kB / 0.6525 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/0.6541, allocations: 206.7 kB / 0.6527 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004326/0.6585, allocations: 1.824 MB / 0.6544 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/0.6626, allocations: 2.467 MB / 0.6569 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/0.6697, allocations: 6.015 MB / 0.6627 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004121/0.6738, allocations: 0.6995 MB / 0.6634 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004615/0.6743, allocations: 0.6034 MB / 0.664 GB, free: 107.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 945 * 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 (1314): * Single equations (assignments): 1307 * 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,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002212/0.6765, allocations: 0.9892 MB / 0.665 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006604/0.6771, allocations: 0.6904 MB / 0.6656 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007601/0.6847, allocations: 4.484 MB / 0.67 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.953e-05/0.6848, allocations: 61.72 kB / 0.6701 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.49e-05/0.6848, allocations: 9.906 kB / 0.6701 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.181e-05/0.6849, allocations: 19.25 kB / 0.6701 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02169/0.7066, allocations: 12.78 MB / 0.6826 GB, free: 95.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/0.7066, allocations: 16 kB / 0.6826 GB, free: 95.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/0.7085, allocations: 0.6512 MB / 0.6832 GB, free: 95.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004314/0.7129, allocations: 1.288 MB / 0.6845 GB, free: 94.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/0.7131, allocations: 85.42 kB / 0.6846 GB, free: 94.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007073/0.7202, allocations: 4.462 MB / 0.6889 GB, free: 90.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.7202, allocations: 23.88 kB / 0.689 GB, free: 90.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.7311, allocations: 6.253 MB / 0.6951 GB, free: 84.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/0.7326, allocations: 0.5798 MB / 0.6956 GB, free: 83.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007208/0.7333, allocations: 82.02 kB / 0.6957 GB, free: 83.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/0.7356, allocations: 285.3 kB / 0.696 GB, free: 83.47 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005276/0.7361, allocations: 283.9 kB / 0.6963 GB, free: 83.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/0.7363, allocations: 117.1 kB / 0.6964 GB, free: 83.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004165/0.7405, allocations: 2.417 MB / 0.6987 GB, free: 81.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7405, allocations: 0 / 0.6987 GB, free: 81.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007397/0.7479, allocations: 2.12 MB / 0.7008 GB, free: 79.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * 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 (336): * Single equations (assignments): 329 * 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,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006636/0.7486, allocations: 311.1 kB / 0.7011 GB, free: 78.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007573/0.7561, allocations: 5.878 MB / 0.7068 GB, free: 73.63 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.7561, allocations: 4 kB / 0.7068 GB, free: 73.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/0.7579, allocations: 1.759 MB / 0.7086 GB, free: 71.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.7601, allocations: 0.7446 MB / 0.7093 GB, free: 71.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.7748, allocations: 14.69 MB / 0.7236 GB, free: 56.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.7765, allocations: 2.338 MB / 0.7259 GB, free: 53.85 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00365/0.7802, allocations: 2.754 MB / 0.7286 GB, free: 51.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008745/0.781, allocations: 412.4 kB / 0.729 GB, free: 50.69 MB / 474.7 MB Notification: Performance of SimCode: time 2.304e-06/0.781, allocations: 0 / 0.729 GB, free: 50.69 MB / 474.7 MB Notification: Performance of Templates: time 0.2296/1.011, allocations: 68.08 MB / 0.7955 GB, free: 126.9 MB / 474.7 MB " [Timeout remaining time 659] 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: 5.429868646431714]