Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001549/0.001549, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.036/1.036, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2728/0.2728, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 378.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.816e-05, allocations: 7.156 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01405/0.01407, allocations: 16.99 MB / 395.7 MB, free: 1.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009981/0.02405, allocations: 5.609 MB / 401.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.02658, allocations: 127.4 kB / 401.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004876/0.03146, allocations: 4.922 MB / 406.4 MB, free: 6.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005732/0.03719, allocations: 3.188 MB / 409.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.0398, allocations: 1.7 MB / 411.3 MB, free: 1.438 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.05102, allocations: 10.31 MB / 421.6 MB, free: 7.113 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007614/0.05863, allocations: 6.454 MB / 428 MB, free: 0.582 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00779/0.06642, allocations: 5.302 MB / 433.4 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005077/0.0715, allocations: 4.879 MB / 438.2 MB, free: 6.379 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.0726, allocations: 0.668 MB / 438.9 MB, free: 5.711 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.07501, allocations: 1.834 MB / 440.7 MB, free: 3.875 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1752/0.2502, allocations: 3.96 MB / 444.7 MB, free: 63.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004632/0.2549, allocations: 2.466 MB / 447.2 MB, free: 63.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009302/0.2642, allocations: 8.703 MB / 455.9 MB, free: 62.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2642, allocations: 0 / 455.9 MB, free: 62.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2642, allocations: 0 / 455.9 MB, free: 62.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001905/0.2644, allocations: 0 / 455.9 MB, free: 62.73 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.01558/0.2799, allocations: 9.834 MB / 465.7 MB, free: 59.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.948e-05/0.28, allocations: 10.03 kB / 465.7 MB, free: 59.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/0.2951, allocations: 5.141 MB / 470.8 MB, free: 58.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.3052, allocations: 4.389 MB / 475.2 MB, free: 57.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000318/0.3055, allocations: 428.5 kB / 475.7 MB, free: 57.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/0.3068, allocations: 0.6094 MB / 476.3 MB, free: 56.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02341/0.3303, allocations: 12.33 MB / 488.6 MB, free: 50.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/0.3305, allocations: 79.73 kB / 488.7 MB, free: 50.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005663/0.331, allocations: 270.8 kB / 488.9 MB, free: 50.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004241/0.3353, allocations: 3.714 MB / 492.6 MB, free: 50.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/0.3549, allocations: 7.262 MB / 499.9 MB, free: 49.2 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.06539/0.4203, allocations: 78.26 MB / 0.5646 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.4315, allocations: 3.961 MB / 0.5685 GB, free: 7.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/0.4338, allocations: 1.355 MB / 0.5698 GB, free: 6.148 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01632/0.4501, allocations: 10.3 MB / 0.5799 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.4502, allocations: 71.16 kB / 0.5799 GB, free: 11.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=334): time 5.53e-06/0.4502, allocations: 0 / 0.5799 GB, free: 11.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.05122/0.5014, allocations: 23.4 MB / 0.6028 GB, free: 4.625 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.5015, allocations: 196.9 kB / 0.603 GB, free: 4.395 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1685/0.6699, allocations: 5.64 MB / 0.6085 GB, free: 141.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008459/0.6708, allocations: 83.92 kB / 0.6086 GB, free: 141.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002641/0.6734, allocations: 5.831 MB / 0.6143 GB, free: 138.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/0.6746, allocations: 1.652 MB / 0.6159 GB, free: 137.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002271/0.6768, allocations: 2.245 MB / 0.6181 GB, free: 137.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.6769, allocations: 477.8 kB / 0.6185 GB, free: 137 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/0.6793, allocations: 1.472 MB / 0.62 GB, free: 137 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004761/0.684, allocations: 10.27 MB / 0.63 GB, free: 125.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008808/0.6929, allocations: 12.94 MB / 0.6426 GB, free: 114 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.693, allocations: 61.5 kB / 0.6427 GB, free: 114 MB / 474.7 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.01718/0.7101, allocations: 10.65 MB / 0.6531 GB, free: 111.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.7103, allocations: 97.69 kB / 0.6532 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000353/0.7107, allocations: 210 kB / 0.6534 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004763/0.7154, allocations: 1.819 MB / 0.6552 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005622/0.721, allocations: 2.471 MB / 0.6576 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008081/0.7291, allocations: 6.019 MB / 0.6634 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005721/0.7348, allocations: 0.7008 MB / 0.6641 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006164/0.7355, allocations: 0.5961 MB / 0.6647 GB, free: 107.2 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.002473/0.7379, allocations: 1.003 MB / 0.6657 GB, free: 106.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007162/0.7387, allocations: 0.6898 MB / 0.6664 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007478/0.7461, allocations: 4.482 MB / 0.6707 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.292e-05/0.7462, allocations: 65.23 kB / 0.6708 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.7462, allocations: 7.844 kB / 0.6708 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/0.7462, allocations: 21.56 kB / 0.6708 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/0.765, allocations: 12.76 MB / 0.6833 GB, free: 95.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/0.765, allocations: 12 kB / 0.6833 GB, free: 95.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.7665, allocations: 0.6487 MB / 0.6839 GB, free: 94.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003253/0.7698, allocations: 1.298 MB / 0.6852 GB, free: 93.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/0.77, allocations: 80.94 kB / 0.6853 GB, free: 93.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005292/0.7753, allocations: 4.479 MB / 0.6897 GB, free: 89.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.7753, allocations: 19.94 kB / 0.6897 GB, free: 89.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008063/0.7833, allocations: 6.243 MB / 0.6958 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.7843, allocations: 0.576 MB / 0.6963 GB, free: 83.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004565/0.7848, allocations: 79.7 kB / 0.6964 GB, free: 83.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.7862, allocations: 285.1 kB / 0.6967 GB, free: 83.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/0.7866, allocations: 287.9 kB / 0.697 GB, free: 82.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/0.7868, allocations: 122.4 kB / 0.6971 GB, free: 82.74 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002912/0.7897, allocations: 2.41 MB / 0.6994 GB, free: 80.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7897, allocations: 0 / 0.6994 GB, free: 80.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006455/0.7962, allocations: 2.123 MB / 0.7015 GB, free: 78.69 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.0006214/0.7968, allocations: 307.6 kB / 0.7018 GB, free: 78.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008883/0.8057, allocations: 5.878 MB / 0.7075 GB, free: 73.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.8057, allocations: 7.938 kB / 0.7075 GB, free: 73.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.8077, allocations: 1.755 MB / 0.7093 GB, free: 71.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.8103, allocations: 0.7444 MB / 0.71 GB, free: 70.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/0.8308, allocations: 14.7 MB / 0.7243 GB, free: 55.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004915/0.8357, allocations: 2.338 MB / 0.7266 GB, free: 53.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008332/0.844, allocations: 2.75 MB / 0.7293 GB, free: 50.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002298/0.8463, allocations: 404.4 kB / 0.7297 GB, free: 50.03 MB / 474.7 MB Notification: Performance of SimCode: time 3.777e-06/0.8463, allocations: 2.734 kB / 0.7297 GB, free: 50.03 MB / 474.7 MB Notification: Performance of Templates: time 0.2735/1.12, allocations: 68.08 MB / 0.7962 GB, free: 126.8 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.994248123839498]