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.001728/0.001728, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002339/0.002339, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.636/1.636, allocations: 230.3 MB / 258 MB, free: 8.262 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.2472/0.2472, allocations: 46.89 MB / 361.3 MB, free: 4.445 MB / 286.1 MB " [Timeout remaining time 179] 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.003134/0.003134, allocations: 79.86 kB / 0.497 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4294, allocations: 66.03 MB / 0.5615 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02231/0.4517, allocations: 17.75 MB / 0.5789 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.4663, allocations: 5.741 MB / 0.5845 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003756/0.47, allocations: 131.4 kB / 0.5846 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00949/0.4795, allocations: 4.653 MB / 0.5891 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009733/0.4892, allocations: 3.078 MB / 0.5921 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.4934, allocations: 1.49 MB / 0.5936 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01702/0.5104, allocations: 8.964 MB / 0.6024 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009555/0.5199, allocations: 4.809 MB / 0.6071 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006843/0.5268, allocations: 3.061 MB / 0.61 GB, free: 2.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008471/0.5352, allocations: 4.615 MB / 0.6146 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003128/0.5384, allocations: 0.6641 MB / 0.6152 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006022/0.5444, allocations: 1.884 MB / 0.617 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006242/0.5506, allocations: 3.794 MB / 0.6207 GB, free: 7.719 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008948/0.5596, allocations: 4.175 MB / 0.6248 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02168/0.5813, allocations: 13.55 MB / 0.6381 GB, free: 5.922 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5813, allocations: 4 kB / 0.6381 GB, free: 5.918 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5813, allocations: 0 / 0.6381 GB, free: 5.918 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005745/0.5819, allocations: 0 / 0.6381 GB, free: 5.918 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.03025/0.6121, allocations: 9.127 MB / 0.647 GB, free: 12.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.6122, allocations: 12.03 kB / 0.647 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02072/0.6329, allocations: 4.149 MB / 0.651 GB, free: 8.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/0.6474, allocations: 5.014 MB / 0.6559 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005265/0.648, allocations: 430.9 kB / 0.6563 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003052/0.651, allocations: 0.6011 MB / 0.6569 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05524/0.7062, allocations: 20.63 MB / 0.6771 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004457/0.7067, allocations: 75.41 kB / 0.6771 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003247/0.7099, allocations: 271.7 kB / 0.6774 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007383/0.7173, allocations: 3.714 MB / 0.681 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04441/0.7617, allocations: 18.22 MB / 0.6988 GB, free: 6.336 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.7158/1.477, allocations: 74.42 MB / 0.7715 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/1.494, allocations: 6.262 MB / 0.7776 GB, free: 102.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005301/1.5, allocations: 3.831 MB / 0.7814 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02945/1.529, allocations: 15.6 MB / 0.7966 GB, free: 91.72 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/1.529, allocations: 68.81 kB / 0.7967 GB, free: 91.65 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 7.845e-06/1.529, allocations: 0 / 0.7967 GB, free: 91.65 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1196/1.649, allocations: 34.62 MB / 0.8305 GB, free: 57.59 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/1.649, allocations: 196.2 kB / 0.8307 GB, free: 57.36 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01274/1.662, allocations: 6.476 MB / 0.837 GB, free: 51.02 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/1.663, allocations: 85.7 kB / 0.8371 GB, free: 50.93 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003809/1.667, allocations: 5.579 MB / 0.8425 GB, free: 45.65 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/1.669, allocations: 1.618 MB / 0.8441 GB, free: 44.05 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005472/1.674, allocations: 2.147 MB / 0.8462 GB, free: 41.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/1.674, allocations: 305.1 kB / 0.8465 GB, free: 41.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006792/1.681, allocations: 4.335 MB / 0.8507 GB, free: 37.26 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00976/1.691, allocations: 10.29 MB / 0.8608 GB, free: 24.12 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0165/1.707, allocations: 15.68 MB / 0.8761 GB, free: 5.52 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002617/1.707, allocations: 67.88 kB / 0.8761 GB, free: 5.453 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03978/1.747, allocations: 16.37 MB / 0.8921 GB, free: 5.059 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003573/1.748, allocations: 92 kB / 0.8922 GB, free: 4.969 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004982/1.748, allocations: 208 kB / 0.8924 GB, free: 4.766 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009862/1.758, allocations: 2.361 MB / 0.8947 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/1.769, allocations: 2.468 MB / 0.8971 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02696/1.796, allocations: 12.64 MB / 0.9095 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009797/1.805, allocations: 0.5953 MB / 0.9101 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002491/1.808, allocations: 0.5976 MB / 0.9106 GB, free: 1.977 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 (1316): * Single equations (assignments): 1309 * 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.01148/1.819, allocations: 3.765 MB / 0.9143 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002105/1.821, allocations: 0.6228 MB / 0.9149 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02272/1.844, allocations: 8.299 MB / 0.923 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/1.844, allocations: 66.09 kB / 0.9231 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.986e-05/1.844, allocations: 11.94 kB / 0.9231 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/1.844, allocations: 15.94 kB / 0.9231 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05327/1.898, allocations: 18.8 MB / 0.9415 GB, free: 1.988 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.65e-05/1.898, allocations: 12 kB / 0.9415 GB, free: 1.977 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/1.901, allocations: 0.6318 MB / 0.9421 GB, free: 1.344 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007639/1.909, allocations: 1.809 MB / 0.9439 GB, free: 15.53 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008572/1.91, allocations: 83.94 kB / 0.9439 GB, free: 15.45 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02067/1.93, allocations: 10.73 MB / 0.9544 GB, free: 4.609 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-05/1.93, allocations: 23.81 kB / 0.9544 GB, free: 4.586 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02699/1.957, allocations: 12.48 MB / 0.9666 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.959, allocations: 0.5817 MB / 0.9672 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001745/1.961, allocations: 79.98 kB / 0.9673 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003807/1.965, allocations: 211.7 kB / 0.9675 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001071/1.966, allocations: 273.5 kB / 0.9677 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005659/1.967, allocations: 112 kB / 0.9678 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008651/1.975, allocations: 4.028 MB / 0.9718 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/1.975, allocations: 0 / 0.9718 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01088/1.986, allocations: 1.926 MB / 0.9737 GB, free: 0.6328 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.00133/1.987, allocations: 281.5 kB / 0.9739 GB, free: 360 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02039/2.008, allocations: 9.686 MB / 0.9834 GB, free: 6.676 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-05/2.008, allocations: 4 kB / 0.9834 GB, free: 6.672 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006946/2.015, allocations: 3.117 MB / 0.9864 GB, free: 3.531 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007471/2.022, allocations: 0.8009 MB / 0.9872 GB, free: 2.746 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3788/2.401, allocations: 18.07 MB / 1.005 GB, free: 237.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009281/2.41, allocations: 5.583 MB / 1.01 GB, free: 236.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007848/2.418, allocations: 3.312 MB / 1.014 GB, free: 236.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/2.42, allocations: 419.4 kB / 1.014 GB, free: 236.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.754e-06/2.42, allocations: 1.125 kB / 1.014 GB, free: 236.4 MB / 0.67 GB Notification: Performance of Templates: time 0.1185/2.538, allocations: 72.96 MB / 1.085 GB, free: 168.3 MB / 0.67 GB " [Timeout remaining time 657] 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: 10.591633430682123] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.549992512911558 2.559836876 1.974970212 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f25121357b0>