Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009709/0.0009709, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008046/0.0008045, allocations: 90.66 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3098/0.3098, allocations: 44.21 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 8 kB / 459.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2786, allocations: 61.9 MB / 0.5096 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.402, allocations: 109.1 MB / 0.6161 GB, free: 2.031 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.4024, allocations: 79.95 kB / 0.6162 GB, free: 1.953 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5104/0.9127, allocations: 126.3 MB / 0.7395 GB, free: 91 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.9128, allocations: 0 / 0.7395 GB, free: 91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004786/0.9133, allocations: 126.7 kB / 0.7396 GB, free: 90.99 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02239/0.9357, allocations: 6.863 MB / 0.7463 GB, free: 87.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.9358, allocations: 7.344 kB / 0.7463 GB, free: 87.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02626/0.962, allocations: 7.064 MB / 0.7532 GB, free: 85.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01917/0.9812, allocations: 6.994 MB / 0.76 GB, free: 81.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005095/0.9818, allocations: 477.5 kB / 0.7605 GB, free: 81.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003083/0.9849, allocations: 0.6308 MB / 0.7611 GB, free: 81.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03266/1.018, allocations: 15.72 MB / 0.7765 GB, free: 67.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004116/1.018, allocations: 87.12 kB / 0.7765 GB, free: 67.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002674/1.021, allocations: 307.8 kB / 0.7768 GB, free: 67.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002119/1.023, allocations: 1.474 MB / 0.7783 GB, free: 65.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/1.048, allocations: 12.76 MB / 0.7907 GB, free: 53.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06959/1.117, allocations: 70.63 MB / 0.8597 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01786/1.135, allocations: 7.154 MB / 0.8667 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2939/1.429, allocations: 8.795 MB / 0.8753 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.95e-05/1.429, allocations: 61.34 kB / 0.8754 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 6.643e-06/1.43, allocations: 3.828 kB / 0.8754 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.07998/1.51, allocations: 30.67 MB / 0.9053 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/1.51, allocations: 234.2 kB / 0.9055 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01449/1.524, allocations: 5.938 MB / 0.9113 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008749/1.525, allocations: 71.8 kB / 0.9114 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004097/1.529, allocations: 4.537 MB / 0.9158 GB, free: 104 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001768/1.531, allocations: 1.091 MB / 0.9169 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/1.532, allocations: 170.8 kB / 0.9171 GB, free: 103 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008722/1.533, allocations: 0.6601 MB / 0.9177 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00519/1.538, allocations: 3.282 MB / 0.9209 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00755/1.546, allocations: 8.291 MB / 0.929 GB, free: 93.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007143/1.553, allocations: 5.108 MB / 0.934 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/1.553, allocations: 54.45 kB / 0.934 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.02221/1.576, allocations: 12.81 MB / 0.9466 GB, free: 87.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/1.576, allocations: 80.06 kB / 0.9466 GB, free: 87.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002933/1.576, allocations: 178.3 kB / 0.9468 GB, free: 87.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003748/1.58, allocations: 1.679 MB / 0.9484 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006706/1.587, allocations: 2.004 MB / 0.9504 GB, free: 86.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/1.599, allocations: 11.52 MB / 0.9617 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008/1.607, allocations: 0.4945 MB / 0.9621 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/1.609, allocations: 0.5042 MB / 0.9626 GB, free: 80.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 67 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1026 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007711/1.617, allocations: 3.04 MB / 0.9656 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002076/1.619, allocations: 0.563 MB / 0.9661 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.631, allocations: 6.265 MB / 0.9723 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.147e-05/1.631, allocations: 28.62 kB / 0.9723 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-05/1.631, allocations: 13.53 kB / 0.9723 GB, free: 71.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-05/1.631, allocations: 22.95 kB / 0.9723 GB, free: 71.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03217/1.663, allocations: 14.2 MB / 0.9862 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.261e-05/1.663, allocations: 6.812 kB / 0.9862 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.666, allocations: 0.5336 MB / 0.9867 GB, free: 59.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/1.669, allocations: 1.399 MB / 0.9881 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00054/1.67, allocations: 54.72 kB / 0.9881 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/1.681, allocations: 10.74 MB / 0.9986 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.681, allocations: 8 kB / 0.9986 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/1.698, allocations: 11.04 MB / 1.009 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002593/1.701, allocations: 0.6374 MB / 1.01 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002102/1.703, allocations: 54.02 kB / 1.01 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003788/1.706, allocations: 197.5 kB / 1.01 GB, free: 38.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008214/1.707, allocations: 174.1 kB / 1.01 GB, free: 38.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005068/1.708, allocations: 75.98 kB / 1.011 GB, free: 38.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009052/1.717, allocations: 4.252 MB / 1.015 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/1.717, allocations: 4 kB / 1.015 GB, free: 34.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01112/1.728, allocations: 1.544 MB / 1.016 GB, free: 32.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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.001202/1.729, allocations: 207.3 kB / 1.016 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.742, allocations: 8.137 MB / 1.024 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.742, allocations: 4 kB / 1.024 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005283/1.748, allocations: 3.204 MB / 1.027 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/1.752, allocations: 0.6976 MB / 1.028 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02957/1.782, allocations: 17.1 MB / 1.045 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009191/1.791, allocations: 4.77 MB / 1.049 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008627/1.8, allocations: 2.807 MB / 1.052 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/1.802, allocations: 383.4 kB / 1.053 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/1.802, allocations: 7.938 kB / 1.053 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.3998/2.201, allocations: 60.68 MB / 1.112 GB, free: 122.4 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches