Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000856/0.0008558, allocations: 94.14 kB / 261.8 MB, free: 1.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1994/0.1994, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.745e-05, allocations: 4 kB / 418.2 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 58.87 MB / 477.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.5084, allocations: 105 MB / 0.5685 GB, free: 6.664 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.5087, allocations: 82.73 kB / 0.5686 GB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7444/1.253, allocations: 167.4 MB / 0.7321 GB, free: 90.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.204e-06/1.253, allocations: 0 / 0.7321 GB, free: 90.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008937/1.254, allocations: 176.3 kB / 0.7322 GB, free: 90.34 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.03123/1.285, allocations: 8.25 MB / 0.7403 GB, free: 87.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.285, allocations: 7.812 kB / 0.7403 GB, free: 87.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04882/1.334, allocations: 12.09 MB / 0.7521 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02904/1.363, allocations: 10.94 MB / 0.7628 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007241/1.364, allocations: 279.1 kB / 0.7631 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005657/1.37, allocations: 0.5102 MB / 0.7636 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02646/1.396, allocations: 11.44 MB / 0.7747 GB, free: 85.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04981/1.446, allocations: 17.2 MB / 0.7915 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009559/1.447, allocations: 111.3 kB / 0.7916 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00567/1.453, allocations: 45.88 kB / 0.7917 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003573/1.457, allocations: 1.83 MB / 0.7935 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1078/1.564, allocations: 78.78 MB / 0.8704 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007033/1.572, allocations: 5.845 MB / 0.8761 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004777/1.576, allocations: 3.991 MB / 0.88 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007941/1.577, allocations: 0.6575 MB / 0.8806 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/1.577, allocations: 80.78 kB / 0.8807 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=311): time 6.352e-06/1.577, allocations: 0 / 0.8807 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of matching and sorting (n=338): time 0.4433/2.021, allocations: 33.93 MB / 0.9139 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/2.021, allocations: 300 kB / 0.9141 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01519/2.036, allocations: 5.535 MB / 0.9195 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009954/2.037, allocations: 27.17 kB / 0.9196 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006941/2.044, allocations: 5.975 MB / 0.9254 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002785/2.047, allocations: 1.246 MB / 0.9266 GB, free: 89.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/2.048, allocations: 0 / 0.9266 GB, free: 89.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008509/2.049, allocations: 0.7325 MB / 0.9273 GB, free: 89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006589/2.056, allocations: 3.336 MB / 0.9306 GB, free: 88.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01165/2.067, allocations: 9.258 MB / 0.9396 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009649/2.077, allocations: 5.477 MB / 0.945 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003567/2.078, allocations: 60.41 kB / 0.945 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1313) (initialization): time 0.0284/2.106, allocations: 12.15 MB / 0.9569 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000211/2.106, allocations: 92.97 kB / 0.957 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003553/2.107, allocations: 211.8 kB / 0.9572 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/2.109, allocations: 1.049 MB / 0.9582 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009188/2.118, allocations: 2.344 MB / 0.9605 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/2.129, allocations: 10.85 MB / 0.9711 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/2.141, allocations: 358.1 kB / 0.9715 GB, free: 74.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003586/2.145, allocations: 0.5925 MB / 0.972 GB, free: 74.97 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1226 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004533/2.15, allocations: 0.6325 MB / 0.9726 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002221/2.152, allocations: 0.6026 MB / 0.9732 GB, free: 74.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/2.163, allocations: 5.691 MB / 0.9788 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-05/2.163, allocations: 39.66 kB / 0.9788 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-05/2.163, allocations: 10.88 kB / 0.9788 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.477e-05/2.163, allocations: 17.11 kB / 0.9789 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04593/2.209, allocations: 13.38 MB / 0.9919 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.957e-05/2.209, allocations: 3.812 kB / 0.9919 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004946/2.214, allocations: 0.5593 MB / 0.9925 GB, free: 68.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00299/2.217, allocations: 0.6832 MB / 0.9931 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008992/2.218, allocations: 18.81 kB / 0.9932 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/2.231, allocations: 9.706 MB / 1.003 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/2.231, allocations: 3.656 kB / 1.003 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02175/2.253, allocations: 9.753 MB / 1.012 GB, free: 57.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005822/2.259, allocations: 1.087 MB / 1.013 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003409/2.262, allocations: 3.625 kB / 1.013 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006487/2.269, allocations: 148.3 kB / 1.013 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/2.27, allocations: 194.8 kB / 1.014 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004025/2.27, allocations: 86.02 kB / 1.014 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009548/2.28, allocations: 3.77 MB / 1.017 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/2.28, allocations: 3.375 kB / 1.017 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01365/2.294, allocations: 1.625 MB / 1.019 GB, free: 55.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 272 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009327/2.295, allocations: 157.8 kB / 1.019 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01436/2.309, allocations: 8.483 MB / 1.027 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/2.309, allocations: 0 / 1.027 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004724/2.314, allocations: 3.12 MB / 1.03 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006196/2.32, allocations: 0.7335 MB / 1.031 GB, free: 46.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03642/2.357, allocations: 14.81 MB / 1.046 GB, free: 33.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01277/2.369, allocations: 6.14 MB / 1.052 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01059/2.38, allocations: 3.103 MB / 1.055 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002668/2.383, allocations: 430.5 kB / 1.055 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of SimCode: time 2.054e-06/2.383, allocations: 3.938 kB / 1.055 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of Templates: time 0.5074/2.89, allocations: 58.64 MB / 1.112 GB, free: 93.09 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches