Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009915/0.0009916, allocations: 194.5 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.5 MB / 244.1 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000733/0.000733, allocations: 92.81 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3427/0.3427, allocations: 44.81 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002901, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3047, allocations: 62.96 MB / 0.5165 GB, free: 37.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.433, allocations: 107.8 MB / 0.6217 GB, free: 13.56 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4333, allocations: 79.95 kB / 0.6218 GB, free: 13.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5725/1.006, allocations: 156.2 MB / 0.7743 GB, free: 68.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.166e-06/1.006, allocations: 0 / 0.7743 GB, free: 68.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005458/1.006, allocations: 156 kB / 0.7745 GB, free: 68.16 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02466/1.031, allocations: 8.153 MB / 0.7824 GB, free: 59.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.031, allocations: 11.97 kB / 0.7825 GB, free: 59.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.034/1.065, allocations: 8.628 MB / 0.7909 GB, free: 51.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/1.084, allocations: 8.289 MB / 0.799 GB, free: 42.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005613/1.085, allocations: 0.5661 MB / 0.7995 GB, free: 42.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003714/1.088, allocations: 0.7772 MB / 0.8003 GB, free: 41.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03773/1.126, allocations: 17.94 MB / 0.8178 GB, free: 22.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004813/1.127, allocations: 103.3 kB / 0.8179 GB, free: 22.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002193/1.129, allocations: 363.8 kB / 0.8183 GB, free: 21.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001827/1.131, allocations: 1.579 MB / 0.8198 GB, free: 20.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0265/1.157, allocations: 14.35 MB / 0.8338 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3587/1.516, allocations: 75.31 MB / 0.9074 GB, free: 63.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01727/1.533, allocations: 7.49 MB / 0.9147 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004217/1.537, allocations: 3.569 MB / 0.9182 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/1.538, allocations: 0.6525 MB / 0.9188 GB, free: 62.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/1.538, allocations: 64.75 kB / 0.9189 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=239): time 5.4e-06/1.538, allocations: 0 / 0.9189 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=263): time 0.07414/1.612, allocations: 26.65 MB / 0.9449 GB, free: 56.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.612, allocations: 283.8 kB / 0.9452 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01592/1.628, allocations: 7.287 MB / 0.9523 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006518/1.629, allocations: 68.39 kB / 0.9523 GB, free: 55.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00515/1.634, allocations: 5.34 MB / 0.9575 GB, free: 52.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001517/1.636, allocations: 1.016 MB / 0.9585 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/1.637, allocations: 171 kB / 0.9587 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001075/1.638, allocations: 0.6678 MB / 0.9594 GB, free: 51.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00524/1.643, allocations: 2.897 MB / 0.9622 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00774/1.651, allocations: 8.169 MB / 0.9702 GB, free: 44.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/1.664, allocations: 12.05 MB / 0.9819 GB, free: 34.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/1.664, allocations: 54.41 kB / 0.982 GB, free: 34.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.02076/1.685, allocations: 11.59 MB / 0.9933 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002685/1.685, allocations: 86.78 kB / 0.9934 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003714/1.685, allocations: 187.5 kB / 0.9936 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/1.688, allocations: 0.9747 MB / 0.9945 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006548/1.695, allocations: 1.928 MB / 0.9964 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/1.706, allocations: 11.01 MB / 1.007 GB, free: 21.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007443/1.713, allocations: 460.9 kB / 1.008 GB, free: 21.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001795/1.715, allocations: 0.5098 MB / 1.008 GB, free: 20.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (1040): * Single equations (assignments): 1033 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008494/1.723, allocations: 3.516 MB / 1.012 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/1.725, allocations: 0.6247 MB / 1.012 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008704/1.734, allocations: 4.603 MB / 1.017 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/1.734, allocations: 28 kB / 1.017 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.572e-05/1.734, allocations: 8 kB / 1.017 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.134e-05/1.734, allocations: 22.89 kB / 1.017 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02493/1.759, allocations: 12.43 MB / 1.029 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.759, allocations: 4 kB / 1.029 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.761, allocations: 390.2 kB / 1.029 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/1.763, allocations: 0.6699 MB / 1.03 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/1.763, allocations: 44 kB / 1.03 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009928/1.773, allocations: 9.894 MB / 1.04 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.773, allocations: 0 / 1.04 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.785, allocations: 7.807 MB / 1.047 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/1.787, allocations: 0.6785 MB / 1.048 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/1.789, allocations: 46.86 kB / 1.048 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/1.791, allocations: 136.6 kB / 1.048 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004568/1.792, allocations: 163.5 kB / 1.048 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.792, allocations: 67.56 kB / 1.048 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.02047/1.812, allocations: 5.568 MB / 1.054 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.5e-07/1.812, allocations: 0 / 1.054 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009332/1.822, allocations: 1.641 MB / 1.055 GB, free: 13.47 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (207): * Single equations (assignments): 200 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006495/1.822, allocations: 193 kB / 1.055 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.834, allocations: 7.491 MB / 1.063 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.834, allocations: 0 / 1.063 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00348/1.838, allocations: 2.599 MB / 1.065 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006609/1.844, allocations: 0.936 MB / 1.066 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/1.874, allocations: 19.71 MB / 1.085 GB, free: 88 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008034/1.883, allocations: 5.398 MB / 1.091 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/1.884, allocations: 463.4 kB / 1.091 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of SimCode: time 8.22e-07/1.884, allocations: 0 / 1.091 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of Templates: time 0.5484/2.433, allocations: 229.6 MB / 1.315 GB, free: 29.01 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches