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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2868/0.2868, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 71.88 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1211, allocations: 62.46 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01838/0.1396, allocations: 17.62 MB / 499.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1523, allocations: 5.706 MB / 0.493 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003764/0.1561, allocations: 111.7 kB / 0.4931 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008817/0.165, allocations: 4.571 MB / 0.4975 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008382/0.1734, allocations: 2.969 MB / 0.5004 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.1772, allocations: 1.498 MB / 0.5019 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2102/0.3874, allocations: 8.923 MB / 0.5106 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008535/0.3959, allocations: 6.437 MB / 0.5169 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006151/0.4021, allocations: 3.007 MB / 0.5198 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007776/0.4099, allocations: 4.251 MB / 0.524 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001897/0.4118, allocations: 0.6615 MB / 0.5246 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003903/0.4158, allocations: 1.839 MB / 0.5264 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003433/0.4192, allocations: 3.682 MB / 0.53 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004514/0.4237, allocations: 4.181 MB / 0.5341 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.435, allocations: 13.5 MB / 0.5473 GB, free: 14.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.435, allocations: 0 / 0.5473 GB, free: 14.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.4351, allocations: 0 / 0.5473 GB, free: 14.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004256/0.4355, allocations: 3.938 kB / 0.5473 GB, free: 14.48 MB / 398.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.02106/0.4566, allocations: 8.966 MB / 0.556 GB, free: 5.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4566, allocations: 8.031 kB / 0.556 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/0.4735, allocations: 4.096 MB / 0.56 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.4861, allocations: 5.07 MB / 0.565 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.4865, allocations: 438.1 kB / 0.5654 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002094/0.4886, allocations: 0.6008 MB / 0.566 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03917/0.5278, allocations: 20.64 MB / 0.5862 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002604/0.5281, allocations: 72.91 kB / 0.5862 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/0.5292, allocations: 266.5 kB / 0.5865 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005084/0.5343, allocations: 3.72 MB / 0.5901 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03725/0.5716, allocations: 18.2 MB / 0.6079 GB, free: 0.5195 MB / 446.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.1052/0.6769, allocations: 74.29 MB / 0.6804 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01867/0.6956, allocations: 7.471 MB / 0.6877 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006533/0.7021, allocations: 4.112 MB / 0.6917 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03551/0.7377, allocations: 18.28 MB / 0.7096 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/0.7378, allocations: 64.59 kB / 0.7097 GB, free: 6.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=335): time 6.532e-06/0.7378, allocations: 0 / 0.7097 GB, free: 6.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=419): time 0.4686/1.206, allocations: 34.67 MB / 0.7435 GB, free: 179.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/1.207, allocations: 203.4 kB / 0.7437 GB, free: 179.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008273/1.215, allocations: 6.464 MB / 0.75 GB, free: 177 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008573/1.216, allocations: 88.8 kB / 0.7501 GB, free: 176.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003053/1.219, allocations: 5.362 MB / 0.7553 GB, free: 172.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001948/1.221, allocations: 1.539 MB / 0.7568 GB, free: 171.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002854/1.224, allocations: 2.138 MB / 0.7589 GB, free: 170.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.84e-05/1.224, allocations: 308.9 kB / 0.7592 GB, free: 170.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005462/1.229, allocations: 4.333 MB / 0.7635 GB, free: 168.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007861/1.237, allocations: 10.28 MB / 0.7735 GB, free: 156.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/1.253, allocations: 15.68 MB / 0.7888 GB, free: 138 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000202/1.253, allocations: 60 kB / 0.7889 GB, free: 138 MB / 0.545 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03158/1.285, allocations: 16.36 MB / 0.8048 GB, free: 121.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000165/1.285, allocations: 100.2 kB / 0.8049 GB, free: 121.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002913/1.285, allocations: 204 kB / 0.8051 GB, free: 121.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007174/1.292, allocations: 2.373 MB / 0.8074 GB, free: 118.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007717/1.3, allocations: 2.464 MB / 0.8099 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/1.317, allocations: 12.74 MB / 0.8223 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008035/1.325, allocations: 0.5865 MB / 0.8229 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.327, allocations: 0.6093 MB / 0.8235 GB, free: 102.4 MB / 0.545 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.006706/1.333, allocations: 3.762 MB / 0.8271 GB, free: 98.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.335, allocations: 0.5939 MB / 0.8277 GB, free: 98.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/1.351, allocations: 8.328 MB / 0.8359 GB, free: 89.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-05/1.351, allocations: 61.7 kB / 0.8359 GB, free: 89.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/1.351, allocations: 12 kB / 0.8359 GB, free: 89.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-05/1.351, allocations: 23.86 kB / 0.8359 GB, free: 89.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03685/1.388, allocations: 18.84 MB / 0.8543 GB, free: 70.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/1.388, allocations: 15.84 kB / 0.8544 GB, free: 70.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/1.391, allocations: 0.6201 MB / 0.855 GB, free: 69.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005984/1.397, allocations: 1.807 MB / 0.8567 GB, free: 67.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005993/1.397, allocations: 82.33 kB / 0.8568 GB, free: 67.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/1.412, allocations: 10.83 MB / 0.8674 GB, free: 56.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/1.412, allocations: 23.94 kB / 0.8674 GB, free: 56.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/1.431, allocations: 12.48 MB / 0.8796 GB, free: 44.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/1.433, allocations: 0.63 MB / 0.8802 GB, free: 43.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/1.434, allocations: 74.33 kB / 0.8803 GB, free: 43.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003431/1.438, allocations: 211.7 kB / 0.8805 GB, free: 43.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008128/1.438, allocations: 261.6 kB / 0.8807 GB, free: 42.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004327/1.439, allocations: 114.4 kB / 0.8808 GB, free: 42.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00633/1.445, allocations: 4.02 MB / 0.8848 GB, free: 38.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.2e-07/1.445, allocations: 0 / 0.8848 GB, free: 38.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01076/1.456, allocations: 1.919 MB / 0.8866 GB, free: 36.93 MB / 0.545 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.001225/1.457, allocations: 289.9 kB / 0.8869 GB, free: 36.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01469/1.472, allocations: 10.18 MB / 0.8969 GB, free: 26.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.472, allocations: 4 kB / 0.8969 GB, free: 26.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005113/1.477, allocations: 3.403 MB / 0.9002 GB, free: 23.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006657/1.484, allocations: 0.8052 MB / 0.901 GB, free: 22.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2215/1.705, allocations: 17.63 MB / 0.9182 GB, free: 168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/1.716, allocations: 5.578 MB / 0.9236 GB, free: 167.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008354/1.724, allocations: 3.31 MB / 0.9269 GB, free: 167 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.726, allocations: 417.9 kB / 0.9273 GB, free: 167 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/1.726, allocations: 4.844 kB / 0.9273 GB, free: 167 MB / 0.545 GB Notification: Performance of Templates: time 0.1031/1.829, allocations: 65.85 MB / 0.9916 GB, free: 124.6 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)