Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009732/0.0009732, allocations: 83.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.0009619/0.0009619, allocations: 165 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 1.053/1.053, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2942/0.2942, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.475e-05/3.648e-05, allocations: 9.484 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01551/0.01555, allocations: 16.99 MB / 393 MB, free: 3.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.02609, allocations: 5.609 MB / 398.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.0284, allocations: 135.4 kB / 398.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005195/0.03359, allocations: 4.914 MB / 403.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00552/0.03911, allocations: 3.184 MB / 406.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.04137, allocations: 1.708 MB / 408.5 MB, free: 3.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.05255, allocations: 10.31 MB / 418.9 MB, free: 9.656 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00955/0.06211, allocations: 6.438 MB / 425.3 MB, free: 3.141 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008295/0.0704, allocations: 5.302 MB / 430.6 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004901/0.0753, allocations: 4.887 MB / 435.5 MB, free: 8.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.07638, allocations: 0.6641 MB / 436.2 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.07889, allocations: 1.83 MB / 438 MB, free: 6.434 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002405/0.0813, allocations: 3.962 MB / 441.9 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1955/0.2768, allocations: 2.462 MB / 444.4 MB, free: 65.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.29, allocations: 8.701 MB / 453.1 MB, free: 65.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.29, allocations: 0 / 453.1 MB, free: 65.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.29, allocations: 3.75 kB / 453.1 MB, free: 65.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006019/0.2906, allocations: 0 / 453.1 MB, free: 65.04 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.01847/0.3091, allocations: 9.839 MB / 462.9 MB, free: 61.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.3091, allocations: 12.28 kB / 463 MB, free: 61.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.3206, allocations: 5.132 MB / 468.1 MB, free: 61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00866/0.3293, allocations: 4.404 MB / 472.5 MB, free: 60.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.3296, allocations: 429.3 kB / 472.9 MB, free: 60.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002165/0.3318, allocations: 0.6007 MB / 473.5 MB, free: 60.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02786/0.3596, allocations: 12.33 MB / 485.8 MB, free: 53.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000418/0.36, allocations: 75.95 kB / 485.9 MB, free: 53.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/0.3613, allocations: 270.5 kB / 486.2 MB, free: 53.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004081/0.3654, allocations: 3.718 MB / 489.9 MB, free: 53.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02591/0.3913, allocations: 7.267 MB / 497.2 MB, free: 52.32 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.07766/0.469, allocations: 78.26 MB / 0.5619 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009837/0.4788, allocations: 3.961 MB / 0.5658 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/0.4813, allocations: 1.344 MB / 0.5671 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01611/0.4974, allocations: 10.3 MB / 0.5772 GB, free: 436 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.4974, allocations: 74.69 kB / 0.5773 GB, free: 352 kB / 442.7 MB Notification: Performance of pre-optimization done (n=334): time 5.851e-06/0.4975, allocations: 0 / 0.5773 GB, free: 352 kB / 442.7 MB Notification: Performance of matching and sorting (n=421): time 0.05296/0.5504, allocations: 23.4 MB / 0.6001 GB, free: 9.086 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.5505, allocations: 192.9 kB / 0.6003 GB, free: 8.859 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008797/0.5593, allocations: 5.645 MB / 0.6058 GB, free: 3.227 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001093/0.5604, allocations: 89.7 kB / 0.6059 GB, free: 3.133 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2252/0.7856, allocations: 5.829 MB / 0.6116 GB, free: 144.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002605/0.7882, allocations: 1.651 MB / 0.6132 GB, free: 143.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004677/0.7929, allocations: 2.242 MB / 0.6154 GB, free: 143.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.793, allocations: 483.2 kB / 0.6158 GB, free: 142.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/0.7963, allocations: 1.46 MB / 0.6173 GB, free: 142.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006788/0.8031, allocations: 10.27 MB / 0.6273 GB, free: 131.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.8141, allocations: 12.94 MB / 0.6399 GB, free: 119.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000223/0.8143, allocations: 58.59 kB / 0.64 GB, free: 119.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.0243/0.8386, allocations: 10.65 MB / 0.6504 GB, free: 117.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.8387, allocations: 96.88 kB / 0.6505 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003028/0.8391, allocations: 206.9 kB / 0.6507 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004821/0.8439, allocations: 1.829 MB / 0.6525 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006441/0.8503, allocations: 2.467 MB / 0.6549 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008666/0.859, allocations: 6.027 MB / 0.6608 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007489/0.8665, allocations: 0.6947 MB / 0.6614 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/0.8683, allocations: 0.6032 MB / 0.662 GB, free: 113.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.004901/0.8732, allocations: 0.9864 MB / 0.663 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002145/0.8754, allocations: 0.7015 MB / 0.6637 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009369/0.8847, allocations: 4.482 MB / 0.6681 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.009e-05/0.8848, allocations: 62.75 kB / 0.6681 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-05/0.8848, allocations: 15.12 kB / 0.6681 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.064e-05/0.8849, allocations: 18.09 kB / 0.6682 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02957/0.9145, allocations: 12.76 MB / 0.6806 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-05/0.9145, allocations: 16 kB / 0.6806 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/0.9168, allocations: 0.644 MB / 0.6813 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004611/0.9214, allocations: 1.296 MB / 0.6825 GB, free: 99.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005339/0.9219, allocations: 87.75 kB / 0.6826 GB, free: 99.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007575/0.9295, allocations: 4.471 MB / 0.687 GB, free: 95.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/0.9295, allocations: 23.88 kB / 0.687 GB, free: 95.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/0.9411, allocations: 6.244 MB / 0.6931 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/0.9429, allocations: 0.5694 MB / 0.6937 GB, free: 89.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/0.944, allocations: 83.84 kB / 0.6937 GB, free: 89.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/0.9462, allocations: 283.7 kB / 0.694 GB, free: 88.97 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005236/0.9467, allocations: 290.8 kB / 0.6943 GB, free: 88.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/0.9469, allocations: 119.9 kB / 0.6944 GB, free: 88.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003442/0.9503, allocations: 2.41 MB / 0.6968 GB, free: 86.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9503, allocations: 0 / 0.6968 GB, free: 86.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009223/0.9596, allocations: 2.124 MB / 0.6988 GB, free: 84.64 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.001232/0.9608, allocations: 310.9 kB / 0.6991 GB, free: 84.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01014/0.9709, allocations: 5.883 MB / 0.7049 GB, free: 79.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/0.9709, allocations: 2.734 kB / 0.7049 GB, free: 79.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002672/0.9736, allocations: 1.765 MB / 0.7066 GB, free: 77.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/0.9777, allocations: 0.7301 MB / 0.7073 GB, free: 76.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.001, allocations: 14.69 MB / 0.7217 GB, free: 62.47 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/1.003, allocations: 2.342 MB / 0.7239 GB, free: 60.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004644/1.008, allocations: 2.753 MB / 0.7266 GB, free: 57.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.009, allocations: 408.4 kB / 0.727 GB, free: 56.95 MB / 474.7 MB Notification: Performance of SimCode: time 3.256e-06/1.009, allocations: 0 / 0.727 GB, free: 56.95 MB / 474.7 MB Notification: Performance of Templates: time 0.2501/1.259, allocations: 68.08 MB / 0.7935 GB, free: 129.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.001401590183377]