Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009884/0.0009885, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 226.5 MB / 244.1 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008495/0.0008494, allocations: 103.5 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3155/0.3155, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004825, allocations: 12 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3257, allocations: 62.95 MB / 0.5165 GB, free: 36.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.4569, allocations: 110 MB / 0.6239 GB, free: 11.38 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4572, allocations: 87.94 kB / 0.6239 GB, free: 11.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5497/1.007, allocations: 141.1 MB / 0.7617 GB, free: 81.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.837e-06/1.007, allocations: 0 / 0.7617 GB, free: 81.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000443/1.007, allocations: 145.8 kB / 0.7619 GB, free: 81.03 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.0235/1.031, allocations: 7.288 MB / 0.769 GB, free: 74.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.031, allocations: 12.03 kB / 0.769 GB, free: 74.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02724/1.058, allocations: 7.03 MB / 0.7759 GB, free: 67.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/1.073, allocations: 6.887 MB / 0.7826 GB, free: 60.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/1.074, allocations: 0.5219 MB / 0.7831 GB, free: 59.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003144/1.077, allocations: 0.6992 MB / 0.7838 GB, free: 58.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03386/1.111, allocations: 16.52 MB / 0.7999 GB, free: 40.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005173/1.111, allocations: 103.2 kB / 0.8 GB, free: 40.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002691/1.114, allocations: 347.8 kB / 0.8003 GB, free: 40.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00183/1.116, allocations: 1.487 MB / 0.8018 GB, free: 38.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/1.14, allocations: 13.02 MB / 0.8145 GB, free: 25.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3512/1.491, allocations: 75.34 MB / 0.8881 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/1.505, allocations: 6.243 MB / 0.8942 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003858/1.509, allocations: 3.48 MB / 0.8976 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/1.509, allocations: 48.62 kB / 0.8976 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.509, allocations: 59.16 kB / 0.8977 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 5.07e-06/1.509, allocations: 2.438 kB / 0.8977 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=262): time 0.0646/1.574, allocations: 27.54 MB / 0.9246 GB, free: 98.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/1.574, allocations: 284.3 kB / 0.9249 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0139/1.588, allocations: 7.069 MB / 0.9318 GB, free: 97.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006155/1.588, allocations: 64.06 kB / 0.9318 GB, free: 97.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003972/1.592, allocations: 4.994 MB / 0.9367 GB, free: 94.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/1.594, allocations: 1.011 MB / 0.9377 GB, free: 94.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007307/1.595, allocations: 174.6 kB / 0.9378 GB, free: 94.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000466/1.595, allocations: 0.6698 MB / 0.9385 GB, free: 93.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004789/1.6, allocations: 3.08 MB / 0.9415 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007435/1.607, allocations: 8.357 MB / 0.9497 GB, free: 86.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/1.62, allocations: 12.44 MB / 0.9618 GB, free: 76.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000216/1.62, allocations: 52.34 kB / 0.9619 GB, free: 76.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02362/1.644, allocations: 12.28 MB / 0.9739 GB, free: 72.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/1.644, allocations: 86.28 kB / 0.9739 GB, free: 72.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/1.644, allocations: 187.2 kB / 0.9741 GB, free: 72.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003182/1.647, allocations: 1.328 MB / 0.9754 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006593/1.654, allocations: 1.979 MB / 0.9774 GB, free: 72.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/1.665, allocations: 11.25 MB / 0.9883 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007685/1.673, allocations: 479.7 kB / 0.9888 GB, free: 64.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/1.675, allocations: 0.5198 MB / 0.9893 GB, free: 63.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1043): * Single equations (assignments): 1037 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007795/1.683, allocations: 3.309 MB / 0.9925 GB, free: 61.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/1.684, allocations: 0.5977 MB / 0.9931 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008681/1.693, allocations: 5.266 MB / 0.9983 GB, free: 56.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/1.693, allocations: 32.88 kB / 0.9983 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/1.693, allocations: 8 kB / 0.9983 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.65e-05/1.693, allocations: 13.61 kB / 0.9983 GB, free: 56.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02269/1.716, allocations: 12.95 MB / 1.011 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/1.716, allocations: 4 kB / 1.011 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/1.718, allocations: 424.4 kB / 1.011 GB, free: 45.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/1.72, allocations: 1.052 MB / 1.012 GB, free: 44.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004845/1.721, allocations: 44 kB / 1.012 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/1.731, allocations: 10.23 MB / 1.022 GB, free: 35.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.731, allocations: 7.094 kB / 1.022 GB, free: 35.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.743, allocations: 8.833 MB / 1.031 GB, free: 27.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/1.745, allocations: 0.6561 MB / 1.032 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/1.747, allocations: 43.69 kB / 1.032 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/1.749, allocations: 152.3 kB / 1.032 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005137/1.75, allocations: 152.3 kB / 1.032 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.75, allocations: 74.98 kB / 1.032 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008392/1.759, allocations: 4.49 MB / 1.036 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/1.759, allocations: 0 / 1.036 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009505/1.768, allocations: 1.596 MB / 1.038 GB, free: 21.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * 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 (204): * Single equations (assignments): 198 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007566/1.769, allocations: 198.3 kB / 1.038 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01141/1.78, allocations: 7.773 MB / 1.046 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.78, allocations: 0 / 1.046 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00392/1.784, allocations: 2.777 MB / 1.049 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007826/1.792, allocations: 0.841 MB / 1.049 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/1.824, allocations: 18.7 MB / 1.068 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009196/1.834, allocations: 5.014 MB / 1.073 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/1.835, allocations: 455.4 kB / 1.073 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of SimCode: time 9.21e-07/1.835, allocations: 0 / 1.073 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of Templates: time 0.5392/2.375, allocations: 184.7 MB / 1.253 GB, free: 24.63 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches