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.002046/0.002046, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001809/0.001809, allocations: 203.8 kB / 23.72 MB, free: 4.391 MB / 14.72 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.524/1.524, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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.2244/0.2244, allocations: 46.94 MB / 360.8 MB, free: 3.918 MB / 286.1 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 0.002402/0.002402, allocations: 79.88 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3777, allocations: 66.09 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02015/0.3978, allocations: 15.32 MB / 0.5761 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.4113, allocations: 5.446 MB / 0.5814 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003688/0.415, allocations: 135.4 kB / 0.5816 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00993/0.425, allocations: 4.466 MB / 0.5859 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009967/0.4349, allocations: 3.082 MB / 0.5889 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.4389, allocations: 1.501 MB / 0.5904 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01439/0.4533, allocations: 8.944 MB / 0.5991 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.4635, allocations: 5.223 MB / 0.6042 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007206/0.4707, allocations: 3.057 MB / 0.6072 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009021/0.4797, allocations: 4.365 MB / 0.6115 GB, free: 208 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003108/0.4828, allocations: 0.6641 MB / 0.6121 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005871/0.4887, allocations: 1.728 MB / 0.6138 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007069/0.4957, allocations: 3.79 MB / 0.6175 GB, free: 10 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009364/0.5051, allocations: 3.122 MB / 0.6206 GB, free: 6.863 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02226/0.5274, allocations: 13.62 MB / 0.6339 GB, free: 9.191 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5274, allocations: 0 / 0.6339 GB, free: 9.191 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5274, allocations: 0 / 0.6339 GB, free: 9.191 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005181/0.5279, allocations: 0 / 0.6339 GB, free: 9.191 MB / 478.1 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.02712/0.555, allocations: 9.112 MB / 0.6428 GB, free: 15.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.5551, allocations: 16.03 kB / 0.6428 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02026/0.5753, allocations: 4.153 MB / 0.6469 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/0.5934, allocations: 5.029 MB / 0.6518 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006235/0.594, allocations: 430.9 kB / 0.6522 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00427/0.5983, allocations: 0.605 MB / 0.6528 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05056/0.6489, allocations: 20.71 MB / 0.673 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003475/0.6492, allocations: 79.39 kB / 0.6731 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001805/0.651, allocations: 271.7 kB / 0.6733 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006686/0.6577, allocations: 3.722 MB / 0.677 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04557/0.7033, allocations: 18.19 MB / 0.6947 GB, free: 9.52 MB / 0.5294 GB 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.7629/1.466, allocations: 69.1 MB / 0.7622 GB, free: 105.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01617/1.482, allocations: 6.244 MB / 0.7683 GB, free: 104.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005098/1.487, allocations: 3.831 MB / 0.772 GB, free: 103.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02804/1.515, allocations: 14.72 MB / 0.7864 GB, free: 97.05 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/1.516, allocations: 67.88 kB / 0.7865 GB, free: 96.97 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 8.285e-06/1.516, allocations: 3.719 kB / 0.7865 GB, free: 96.97 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1107/1.626, allocations: 34.65 MB / 0.8203 GB, free: 62.95 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/1.626, allocations: 192.9 kB / 0.8205 GB, free: 62.72 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008777/1.635, allocations: 6.19 MB / 0.8266 GB, free: 56.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009084/1.636, allocations: 85.7 kB / 0.8266 GB, free: 56.71 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003263/1.639, allocations: 5.615 MB / 0.8321 GB, free: 51.33 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001854/1.641, allocations: 1.618 MB / 0.8337 GB, free: 49.73 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004741/1.646, allocations: 2.136 MB / 0.8358 GB, free: 47.59 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.933e-05/1.646, allocations: 305.1 kB / 0.8361 GB, free: 47.29 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006214/1.652, allocations: 4.335 MB / 0.8403 GB, free: 42.95 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008646/1.661, allocations: 10.29 MB / 0.8504 GB, free: 29.85 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01642/1.677, allocations: 15.66 MB / 0.8657 GB, free: 11.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003324/1.677, allocations: 63.94 kB / 0.8657 GB, free: 11.24 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03458/1.712, allocations: 16.29 MB / 0.8816 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003461/1.712, allocations: 92.19 kB / 0.8817 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004349/1.713, allocations: 208 kB / 0.8819 GB, free: 10.64 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008821/1.722, allocations: 2.365 MB / 0.8842 GB, free: 8.27 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009498/1.731, allocations: 2.46 MB / 0.8866 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02495/1.756, allocations: 12.46 MB / 0.8988 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00926/1.765, allocations: 0.589 MB / 0.8994 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002525/1.768, allocations: 0.5976 MB / 0.8999 GB, free: 8.059 MB / 0.5919 GB 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.009492/1.777, allocations: 3.765 MB / 0.9036 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001994/1.779, allocations: 0.5704 MB / 0.9042 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02188/1.801, allocations: 8.254 MB / 0.9122 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001059/1.801, allocations: 67.92 kB / 0.9123 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.285e-05/1.801, allocations: 12 kB / 0.9123 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.192e-05/1.801, allocations: 15.94 kB / 0.9123 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04788/1.849, allocations: 16.08 MB / 0.928 GB, free: 11.03 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-05/1.849, allocations: 12 kB / 0.9281 GB, free: 11.02 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003418/1.853, allocations: 0.624 MB / 0.9287 GB, free: 10.39 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007298/1.86, allocations: 1.804 MB / 0.9304 GB, free: 8.586 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008387/1.861, allocations: 87.97 kB / 0.9305 GB, free: 8.5 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/1.881, allocations: 10.55 MB / 0.9408 GB, free: 13.85 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.011e-05/1.881, allocations: 24 kB / 0.9408 GB, free: 13.83 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02741/1.909, allocations: 12.43 MB / 0.953 GB, free: 1.117 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/1.911, allocations: 0.5117 MB / 0.9535 GB, free: 0.6016 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002166/1.913, allocations: 75.98 kB / 0.9535 GB, free: 0.5273 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004353/1.917, allocations: 207.8 kB / 0.9537 GB, free: 332 kB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/1.919, allocations: 281.5 kB / 0.954 GB, free: 48 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008256/1.92, allocations: 120 kB / 0.9541 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008728/1.928, allocations: 3.575 MB / 0.9576 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.61e-07/1.928, allocations: 0 / 0.9576 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01204/1.94, allocations: 1.902 MB / 0.9595 GB, free: 10.48 MB / 0.6544 GB 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.001535/1.942, allocations: 282.3 kB / 0.9597 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02191/1.964, allocations: 9.683 MB / 0.9692 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.809e-05/1.964, allocations: 4 kB / 0.9692 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006827/1.971, allocations: 3.118 MB / 0.9722 GB, free: 13.38 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007107/1.978, allocations: 0.6799 MB / 0.9729 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.328/2.306, allocations: 18.04 MB / 0.9905 GB, free: 236.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01064/2.316, allocations: 5.112 MB / 0.9955 GB, free: 235.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00828/2.325, allocations: 3.255 MB / 0.9987 GB, free: 235.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/2.326, allocations: 392.6 kB / 0.9991 GB, free: 235.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/2.326, allocations: 0 / 0.9991 GB, free: 235.6 MB / 0.67 GB Notification: Performance of Templates: time 0.1143/2.441, allocations: 70.74 MB / 1.068 GB, free: 177.1 MB / 0.67 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.806080872192979] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.451494598761201 2.461167962 1.931011097 Calling exit ...