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.001433/0.001433, allocations: 117.1 kB / 19.13 MB, free: 3.918 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.001609/0.001609, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.47/1.47, allocations: 227.4 MB / 252.3 MB, free: 116 kB / 190.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.2412/0.2412, allocations: 46.17 MB / 351.8 MB, free: 14.31 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.00226/0.00226, allocations: 81.61 kB / 490.9 MB, free: 28.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1337, allocations: 62.44 MB / 0.5403 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02107/0.1548, allocations: 17.65 MB / 0.5576 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.1684, allocations: 5.683 MB / 0.5631 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003794/0.1722, allocations: 111.7 kB / 0.5632 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009738/0.1821, allocations: 4.579 MB / 0.5677 GB, free: 8.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008936/0.191, allocations: 2.969 MB / 0.5706 GB, free: 5.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.1951, allocations: 1.497 MB / 0.5721 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01522/0.2103, allocations: 8.938 MB / 0.5808 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.222, allocations: 6.441 MB / 0.5871 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00684/0.2289, allocations: 3.006 MB / 0.59 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007984/0.2369, allocations: 4.257 MB / 0.5942 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002977/0.2399, allocations: 0.6641 MB / 0.5948 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005715/0.2456, allocations: 1.838 MB / 0.5966 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006392/0.2521, allocations: 3.678 MB / 0.6002 GB, free: 6.719 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009123/0.2612, allocations: 4.179 MB / 0.6043 GB, free: 2.516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.315/0.5762, allocations: 13.54 MB / 0.6175 GB, free: 23.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5763, allocations: 0.8438 kB / 0.6175 GB, free: 23.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5763, allocations: 0 / 0.6175 GB, free: 23.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008601/0.5772, allocations: 0 / 0.6175 GB, free: 23.85 MB / 462.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.03388/0.6111, allocations: 9.199 MB / 0.6265 GB, free: 20.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.6111, allocations: 9.469 kB / 0.6265 GB, free: 20.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01946/0.6306, allocations: 4.153 MB / 0.6306 GB, free: 19.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/0.6451, allocations: 5.084 MB / 0.6355 GB, free: 18.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004615/0.6456, allocations: 441.6 kB / 0.636 GB, free: 18.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003824/0.6494, allocations: 0.6019 MB / 0.6365 GB, free: 18.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04189/0.6913, allocations: 20.63 MB / 0.6567 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002507/0.6916, allocations: 80.36 kB / 0.6568 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001522/0.6931, allocations: 271.1 kB / 0.657 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004816/0.698, allocations: 3.718 MB / 0.6606 GB, free: 4.547 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04159/0.7396, allocations: 18.2 MB / 0.6784 GB, free: 2.656 MB / 478.1 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.1293/0.8689, allocations: 74.41 MB / 0.7511 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02051/0.8894, allocations: 7.465 MB / 0.7584 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00737/0.8968, allocations: 4.111 MB / 0.7624 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03869/0.9355, allocations: 18.3 MB / 0.7803 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.466e-05/0.9357, allocations: 71.86 kB / 0.7803 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=335): time 7.314e-06/0.9357, allocations: 0 / 0.7803 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=419): time 0.1321/1.068, allocations: 35.12 MB / 0.8146 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/1.068, allocations: 192.9 kB / 0.8148 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0147/1.083, allocations: 6.477 MB / 0.8211 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000999/1.084, allocations: 81.7 kB / 0.8212 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.005604/1.089, allocations: 5.585 MB / 0.8267 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002807/1.092, allocations: 1.616 MB / 0.8282 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009581/1.102, allocations: 2.152 MB / 0.8303 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001794/1.102, allocations: 301.1 kB / 0.8306 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01427/1.116, allocations: 4.335 MB / 0.8349 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02619/1.143, allocations: 10.29 MB / 0.8449 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3924/1.535, allocations: 15.68 MB / 0.8602 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002285/1.535, allocations: 59.66 kB / 0.8603 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03598/1.571, allocations: 16.39 MB / 0.8763 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002788/1.572, allocations: 94.53 kB / 0.8764 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000435/1.572, allocations: 205.2 kB / 0.8766 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007899/1.58, allocations: 2.372 MB / 0.8789 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008451/1.588, allocations: 2.462 MB / 0.8813 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/1.607, allocations: 12.76 MB / 0.8938 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008835/1.616, allocations: 0.5811 MB / 0.8943 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002534/1.618, allocations: 0.605 MB / 0.8949 GB, free: 196.9 MB / 0.6387 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.0116/1.63, allocations: 3.774 MB / 0.8986 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002257/1.632, allocations: 0.6163 MB / 0.8992 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01945/1.652, allocations: 8.334 MB / 0.9073 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.979e-05/1.652, allocations: 64.02 kB / 0.9074 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.855e-05/1.652, allocations: 8 kB / 0.9074 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.555e-05/1.652, allocations: 23.92 kB / 0.9074 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04193/1.694, allocations: 18.85 MB / 0.9258 GB, free: 167.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-05/1.694, allocations: 13.75 kB / 0.9259 GB, free: 167 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/1.697, allocations: 0.624 MB / 0.9265 GB, free: 166.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006214/1.703, allocations: 1.804 MB / 0.9282 GB, free: 164.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009191/1.704, allocations: 80.73 kB / 0.9283 GB, free: 164.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01527/1.72, allocations: 10.84 MB / 0.9389 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.287e-05/1.72, allocations: 21.36 kB / 0.9389 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02224/1.742, allocations: 12.51 MB / 0.9511 GB, free: 141 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/1.744, allocations: 0.6608 MB / 0.9518 GB, free: 140.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00241/1.746, allocations: 74.62 kB / 0.9518 GB, free: 140.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004713/1.751, allocations: 214.4 kB / 0.952 GB, free: 140 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001324/1.752, allocations: 265.6 kB / 0.9523 GB, free: 139.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007891/1.753, allocations: 112 kB / 0.9524 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.008866/1.762, allocations: 4.02 MB / 0.9563 GB, free: 135.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.31e-07/1.762, allocations: 4 kB / 0.9563 GB, free: 135.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0122/1.774, allocations: 1.913 MB / 0.9582 GB, free: 133.7 MB / 0.6387 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.001512/1.776, allocations: 287.1 kB / 0.9585 GB, free: 133.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0173/1.793, allocations: 10.19 MB / 0.9684 GB, free: 123.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.819e-05/1.793, allocations: 0 / 0.9684 GB, free: 123.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005698/1.799, allocations: 3.4 MB / 0.9717 GB, free: 119.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008772/1.808, allocations: 0.8011 MB / 0.9725 GB, free: 119 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04112/1.849, allocations: 18.71 MB / 0.9908 GB, free: 100.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/1.862, allocations: 5.565 MB / 0.9962 GB, free: 94.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002822/1.865, allocations: 495.4 kB / 0.9967 GB, free: 94.02 MB / 0.6387 GB Notification: Performance of SimCode: time 1.153e-06/1.865, allocations: 0 / 0.9967 GB, free: 94.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.5107/2.375, allocations: 142.2 MB / 1.136 GB, free: 187.5 MB / 0.6387 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: 20.623384912032634] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.3819574039662257 2.3909765800000002 1.812803744 Calling exit ...