Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 227.2 MB / 245 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008372/0.0008372, allocations: 103.8 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2786/0.2786, allocations: 45.24 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 8 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2672, allocations: 63.25 MB / 0.5192 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.392, allocations: 110 MB / 0.6266 GB, free: 9.426 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.3922, allocations: 83.95 kB / 0.6267 GB, free: 9.344 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5014/0.8936, allocations: 128.7 MB / 0.7524 GB, free: 88.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.8936, allocations: 0 / 0.7524 GB, free: 88.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003543/0.894, allocations: 134.6 kB / 0.7525 GB, free: 88.18 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.02142/0.9154, allocations: 6.954 MB / 0.7593 GB, free: 83.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.9155, allocations: 7.5 kB / 0.7593 GB, free: 83.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0255/0.941, allocations: 7.063 MB / 0.7662 GB, free: 76.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/0.9589, allocations: 6.364 MB / 0.7724 GB, free: 70.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004934/0.9594, allocations: 480.5 kB / 0.7729 GB, free: 69.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003155/0.9626, allocations: 0.6247 MB / 0.7735 GB, free: 69.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0327/0.9953, allocations: 15.72 MB / 0.7888 GB, free: 52.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002516/0.9956, allocations: 91.2 kB / 0.7889 GB, free: 51.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/0.9968, allocations: 307.8 kB / 0.7892 GB, free: 51.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001484/0.9983, allocations: 1.482 MB / 0.7907 GB, free: 50.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02246/1.021, allocations: 12.76 MB / 0.8031 GB, free: 37.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07256/1.093, allocations: 70.62 MB / 0.8721 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/1.11, allocations: 7.164 MB / 0.8791 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2696/1.38, allocations: 8.798 MB / 0.8877 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/1.38, allocations: 52.44 kB / 0.8877 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=246): time 7.284e-06/1.38, allocations: 2.656 kB / 0.8877 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=288): time 0.07073/1.451, allocations: 30.68 MB / 0.9177 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/1.451, allocations: 242.1 kB / 0.9179 GB, free: 121 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.461, allocations: 5.928 MB / 0.9237 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006664/1.462, allocations: 67.3 kB / 0.9238 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003201/1.465, allocations: 4.542 MB / 0.9282 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.467, allocations: 1.098 MB / 0.9293 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006231/1.467, allocations: 172 kB / 0.9294 GB, free: 117 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000402/1.468, allocations: 0.6628 MB / 0.9301 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004011/1.472, allocations: 3.281 MB / 0.9333 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006353/1.478, allocations: 8.285 MB / 0.9414 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006623/1.485, allocations: 5.102 MB / 0.9464 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/1.485, allocations: 50.84 kB / 0.9464 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.02145/1.506, allocations: 12.8 MB / 0.9589 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.507, allocations: 88.02 kB / 0.959 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002086/1.507, allocations: 182.7 kB / 0.9592 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003708/1.511, allocations: 1.675 MB / 0.9608 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006576/1.517, allocations: 1.997 MB / 0.9628 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.529, allocations: 11.52 MB / 0.974 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007948/1.537, allocations: 0.4941 MB / 0.9745 GB, free: 90.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/1.538, allocations: 0.5026 MB / 0.975 GB, free: 89.94 MB / 0.5261 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.005539/1.544, allocations: 3.05 MB / 0.978 GB, free: 87.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.545, allocations: 0.5707 MB / 0.9785 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009239/1.554, allocations: 6.256 MB / 0.9846 GB, free: 81.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/1.555, allocations: 31.95 kB / 0.9847 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/1.555, allocations: 8 kB / 0.9847 GB, free: 81.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/1.555, allocations: 18.02 kB / 0.9847 GB, free: 81.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/1.576, allocations: 14.21 MB / 0.9986 GB, free: 70.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/1.576, allocations: 8.078 kB / 0.9986 GB, free: 70.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/1.579, allocations: 0.5339 MB / 0.9991 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003165/1.582, allocations: 1.398 MB / 1 GB, free: 68.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000263/1.582, allocations: 55.95 kB / 1.001 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/1.593, allocations: 10.73 MB / 1.011 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.593, allocations: 11.95 kB / 1.011 GB, free: 59.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/1.605, allocations: 11.04 MB / 1.022 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/1.608, allocations: 0.6342 MB / 1.022 GB, free: 48.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008133/1.609, allocations: 55.98 kB / 1.022 GB, free: 48.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.611, allocations: 183.7 kB / 1.023 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004114/1.611, allocations: 181.7 kB / 1.023 GB, free: 48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.611, allocations: 77.94 kB / 1.023 GB, free: 47.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005588/1.617, allocations: 4.252 MB / 1.027 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.617, allocations: 0 / 1.027 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007611/1.625, allocations: 1.552 MB / 1.029 GB, free: 42.14 MB / 0.5261 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.0005642/1.625, allocations: 217.4 kB / 1.029 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009548/1.635, allocations: 8.14 MB / 1.037 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.635, allocations: 4.188 kB / 1.037 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004037/1.639, allocations: 3.188 MB / 1.04 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/1.643, allocations: 0.6902 MB / 1.041 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/1.668, allocations: 17.1 MB / 1.057 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005205/1.673, allocations: 4.775 MB / 1.062 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006168/1.679, allocations: 2.807 MB / 1.065 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.68, allocations: 391.4 kB / 1.065 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of SimCode: time 7.51e-07/1.68, allocations: 0 / 1.065 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of Templates: time 0.3488/2.029, allocations: 60.69 MB / 1.124 GB, free: 139.2 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches