Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 176.4 kB / 8.004 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.556/1.556, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.0009992/0.0009991, allocations: 86.62 kB / 261.7 MB, free: 1.676 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.19/0.19, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.591e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09304, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.369/0.4621, allocations: 106.9 MB / 0.5703 GB, free: 4.824 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.4624, allocations: 78.12 kB / 0.5704 GB, free: 4.789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3291/0.7915, allocations: 126.5 MB / 0.6939 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7916, allocations: 0 / 0.6939 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004739/0.7921, allocations: 128 kB / 0.6941 GB, free: 13.93 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02367/0.8158, allocations: 6.563 MB / 0.7005 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.8158, allocations: 8.031 kB / 0.7005 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03042/0.8463, allocations: 7.12 MB / 0.7074 GB, free: 144 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3232/1.169, allocations: 7.374 MB / 0.7146 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005045/1.17, allocations: 210.8 kB / 0.7148 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003769/1.174, allocations: 389.8 kB / 0.7152 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02105/1.195, allocations: 9.165 MB / 0.7242 GB, free: 99.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03223/1.227, allocations: 14.1 MB / 0.7379 GB, free: 96.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004899/1.228, allocations: 89.78 kB / 0.738 GB, free: 96.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002961/1.231, allocations: 41.81 kB / 0.7381 GB, free: 96.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002192/1.233, allocations: 1.554 MB / 0.7396 GB, free: 96.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0709/1.304, allocations: 69.18 MB / 0.8071 GB, free: 51.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005778/1.31, allocations: 5.35 MB / 0.8124 GB, free: 48.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003728/1.313, allocations: 3.643 MB / 0.8159 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006053/1.314, allocations: 398.4 kB / 0.8163 GB, free: 46.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/1.314, allocations: 63.47 kB / 0.8164 GB, free: 46.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=272): time 5.691e-06/1.314, allocations: 3.031 kB / 0.8164 GB, free: 46.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=316): time 0.05453/1.369, allocations: 28.91 MB / 0.8446 GB, free: 31.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/1.369, allocations: 254.9 kB / 0.8448 GB, free: 31.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007401/1.376, allocations: 4.683 MB / 0.8494 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008744/1.377, allocations: 29.7 kB / 0.8494 GB, free: 27.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002722/1.38, allocations: 4.779 MB / 0.8541 GB, free: 23.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001754/1.382, allocations: 1.162 MB / 0.8552 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006946/1.382, allocations: 0 / 0.8552 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004047/1.383, allocations: 0.6915 MB / 0.8559 GB, free: 21.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004238/1.387, allocations: 3.397 MB / 0.8592 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009179/1.396, allocations: 8.666 MB / 0.8677 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00785/1.404, allocations: 5.349 MB / 0.8729 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001926/1.404, allocations: 52 kB / 0.873 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02806/1.432, allocations: 12.39 MB / 0.8851 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003324/1.433, allocations: 88 kB / 0.8851 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004188/1.433, allocations: 188 kB / 0.8853 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004632/1.438, allocations: 1.702 MB / 0.887 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/1.448, allocations: 2.182 MB / 0.8891 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3515/1.8, allocations: 10.6 MB / 0.8995 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008558/1.809, allocations: 365.2 kB / 0.8998 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003183/1.812, allocations: 0.5476 MB / 0.9004 GB, free: 98.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 857 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1125): * Single equations (assignments): 1120 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004344/1.816, allocations: 0.5808 MB / 0.9009 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001752/1.818, allocations: 0.5057 MB / 0.9014 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/1.833, allocations: 6.536 MB / 0.9078 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.043e-05/1.833, allocations: 32.69 kB / 0.9078 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.96e-05/1.833, allocations: 11.2 kB / 0.9078 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.595e-05/1.833, allocations: 18.05 kB / 0.9079 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03008/1.863, allocations: 13.77 MB / 0.9213 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/1.864, allocations: 3.938 kB / 0.9213 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002815/1.866, allocations: 0.5643 MB / 0.9219 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/1.87, allocations: 1.38 MB / 0.9232 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006376/1.87, allocations: 16.38 kB / 0.9232 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/1.881, allocations: 9.775 MB / 0.9328 GB, free: 95.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.882, allocations: 5.781 kB / 0.9328 GB, free: 95.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/1.898, allocations: 11.02 MB / 0.9435 GB, free: 94.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003396/1.902, allocations: 1.037 MB / 0.9445 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/1.903, allocations: 3.281 kB / 0.9446 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002979/1.906, allocations: 170.6 kB / 0.9447 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004759/1.907, allocations: 190.4 kB / 0.9449 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/1.907, allocations: 82.25 kB / 0.945 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006102/1.913, allocations: 3.154 MB / 0.9481 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.61e-07/1.913, allocations: 1.594 kB / 0.9481 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01053/1.923, allocations: 1.407 MB / 0.9494 GB, free: 93.03 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 254 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/1.925, allocations: 159.1 kB / 0.9496 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01484/1.939, allocations: 8.553 MB / 0.9579 GB, free: 90.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/1.939, allocations: 2.125 kB / 0.9579 GB, free: 90.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005894/1.945, allocations: 3.331 MB / 0.9612 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003997/1.949, allocations: 0.5288 MB / 0.9617 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02636/1.976, allocations: 12.79 MB / 0.9742 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006619/1.982, allocations: 4.943 MB / 0.979 GB, free: 82.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008302/1.991, allocations: 2.974 MB / 0.9819 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/1.993, allocations: 369.5 kB / 0.9823 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/1.993, allocations: 0 / 0.9823 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.09382/2.087, allocations: 52.54 MB / 1.034 GB, free: 47.74 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches