Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.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.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.0011, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008978/0.000898, allocations: 92.06 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1942/0.1942, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.625e-05, allocations: 7.938 kB / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.089/0.08903, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.4891, allocations: 112.5 MB / 0.6142 GB, free: 6.488 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4894, allocations: 80.33 kB / 0.6143 GB, free: 6.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8047/1.294, allocations: 222.9 MB / 0.832 GB, free: 97.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.785e-06/1.294, allocations: 0 / 0.832 GB, free: 97.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001334/1.296, allocations: 235.8 kB / 0.8322 GB, free: 97.84 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.04258/1.338, allocations: 11.71 MB / 0.8436 GB, free: 93.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.338, allocations: 11.16 kB / 0.8436 GB, free: 93.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04965/1.388, allocations: 12.61 MB / 0.856 GB, free: 91.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03296/1.421, allocations: 11.32 MB / 0.867 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008102/1.422, allocations: 380 kB / 0.8674 GB, free: 84.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00623/1.428, allocations: 0.6872 MB / 0.868 GB, free: 83.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03059/1.459, allocations: 15.89 MB / 0.8836 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04926/1.508, allocations: 23.85 MB / 0.9069 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006336/1.509, allocations: 142.6 kB / 0.907 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0029/1.512, allocations: 68 kB / 0.9071 GB, free: 41.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002909/1.514, allocations: 2.569 MB / 0.9096 GB, free: 39.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4892/2.004, allocations: 114.5 MB / 1.021 GB, free: 42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/2.016, allocations: 9.891 MB / 1.031 GB, free: 40.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008156/2.024, allocations: 6.862 MB / 1.038 GB, free: 40.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/2.026, allocations: 1.078 MB / 1.039 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.644e-05/2.026, allocations: 89.77 kB / 1.039 GB, free: 39.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=448): time 7.965e-06/2.026, allocations: 0 / 1.039 GB, free: 39.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=535): time 0.1192/2.145, allocations: 58.11 MB / 1.096 GB, free: 19.42 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/2.145, allocations: 361.8 kB / 1.096 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01336/2.158, allocations: 7.487 MB / 1.103 GB, free: 16.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001346/2.16, allocations: 29.02 kB / 1.103 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004301/2.164, allocations: 7.971 MB / 1.111 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002563/2.167, allocations: 1.934 MB / 1.113 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/2.168, allocations: 1.438 kB / 1.113 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005647/2.168, allocations: 0.9112 MB / 1.114 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006868/2.175, allocations: 5.565 MB / 1.119 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01543/2.191, allocations: 13.55 MB / 1.133 GB, free: 4.828 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01576/2.207, allocations: 8.699 MB / 1.141 GB, free: 14.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002412/2.207, allocations: 80 kB / 1.141 GB, free: 14.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=1843) (initialization): time 0.04442/2.251, allocations: 20.33 MB / 1.161 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005266/2.252, allocations: 124 kB / 1.161 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007502/2.253, allocations: 280 kB / 1.161 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009087/2.262, allocations: 3.272 MB / 1.165 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01386/2.276, allocations: 3.425 MB / 1.168 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03241/2.308, allocations: 21.3 MB / 1.189 GB, free: 4.992 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01484/2.323, allocations: 0.565 MB / 1.189 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005015/2.328, allocations: 0.8243 MB / 1.19 GB, free: 3.777 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1270 * Number of states: 0 () * Number of discrete variables: 132 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1725): * Single equations (assignments): 1718 * 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 {(4,75.0%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006504/2.335, allocations: 0.8464 MB / 1.191 GB, free: 2.938 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003747/2.338, allocations: 0.8292 MB / 1.192 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4534/2.792, allocations: 12.18 MB / 1.204 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001358/2.792, allocations: 54.19 kB / 1.204 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-05/2.792, allocations: 17.59 kB / 1.204 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001497/2.792, allocations: 25.92 kB / 1.204 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06329/2.855, allocations: 25.29 MB / 1.228 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.759e-05/2.856, allocations: 3.312 kB / 1.228 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005989/2.862, allocations: 1.025 MB / 1.229 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007733/2.869, allocations: 2.788 MB / 1.232 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001805/2.871, allocations: 18.86 kB / 1.232 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02522/2.896, allocations: 19.6 MB / 1.251 GB, free: 142 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/2.896, allocations: 6.156 kB / 1.251 GB, free: 142 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03619/2.933, allocations: 19.57 MB / 1.27 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004059/2.937, allocations: 0.8186 MB / 1.271 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003616/2.94, allocations: 10.77 kB / 1.271 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006469/2.947, allocations: 303.3 kB / 1.272 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001533/2.948, allocations: 325.6 kB / 1.272 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009739/2.949, allocations: 129.5 kB / 1.272 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01131/2.961, allocations: 5.06 MB / 1.277 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/2.961, allocations: 0 / 1.277 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01754/2.978, allocations: 2.41 MB / 1.279 GB, free: 132.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,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 (445): * Single equations (assignments): 438 * 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 {(4,75.0%) 18,(4,75.0%) 18,(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.001948/2.98, allocations: 185.3 kB / 1.279 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02596/3.006, allocations: 14.33 MB / 1.293 GB, free: 127.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/3.006, allocations: 3.938 kB / 1.293 GB, free: 127.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01089/3.017, allocations: 5.923 MB / 1.299 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00825/3.026, allocations: 0.9935 MB / 1.3 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05098/3.077, allocations: 22.44 MB / 1.322 GB, free: 105 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01792/3.095, allocations: 8.178 MB / 1.33 GB, free: 99.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01446/3.109, allocations: 4.559 MB / 1.335 GB, free: 96.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003345/3.112, allocations: 0.575 MB / 1.335 GB, free: 95.64 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/3.112, allocations: 0 / 1.335 GB, free: 95.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.5947/3.707, allocations: 93.03 MB / 1.426 GB, free: 142.4 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches