Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009664/0.0009664, allocations: 194.5 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.5 MB / 244.1 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007707/0.0007707, allocations: 98.95 kB / 296.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2973/0.2973, allocations: 44.82 MB / 392.9 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002686, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2845, allocations: 62.96 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4101, allocations: 113.2 MB / 0.6271 GB, free: 8.105 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4104, allocations: 75.97 kB / 0.6271 GB, free: 8.031 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7033/1.114, allocations: 222.3 MB / 0.8442 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/1.114, allocations: 4 kB / 0.8442 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008573/1.115, allocations: 232 kB / 0.8445 GB, free: 12.74 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.0415/1.156, allocations: 12.05 MB / 0.8562 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.156, allocations: 8.031 kB / 0.8562 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04117/1.197, allocations: 9.325 MB / 0.8653 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02736/1.225, allocations: 10.59 MB / 0.8757 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001033/1.226, allocations: 0.8749 MB / 0.8765 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005341/1.231, allocations: 1.164 MB / 0.8777 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.551/1.782, allocations: 27.82 MB / 0.9048 GB, free: 56.79 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008397/1.783, allocations: 148.4 kB / 0.905 GB, free: 56.79 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004409/1.787, allocations: 0.5417 MB / 0.9055 GB, free: 56.79 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003639/1.791, allocations: 2.574 MB / 0.908 GB, free: 56.76 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04619/1.837, allocations: 22.43 MB / 0.9299 GB, free: 56.64 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1283/1.966, allocations: 120 MB / 1.047 GB, free: 13.2 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03518/2.001, allocations: 13.64 MB / 1.06 GB, free: 9.605 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01005/2.011, allocations: 7.328 MB / 1.068 GB, free: 5.887 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03469/2.046, allocations: 17.69 MB / 1.085 GB, free: 7.438 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.13e-05/2.046, allocations: 97.77 kB / 1.085 GB, free: 7.344 MB / 0.573 GB Notification: Performance of pre-optimization done (n=469): time 1.1e-05/2.046, allocations: 0 / 1.085 GB, free: 7.344 MB / 0.573 GB Notification: Performance of matching and sorting (n=553): time 0.5092/2.555, allocations: 63.73 MB / 1.147 GB, free: 114.2 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/2.555, allocations: 368.9 kB / 1.148 GB, free: 113.8 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02662/2.582, allocations: 11.46 MB / 1.159 GB, free: 113 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001474/2.583, allocations: 113.5 kB / 1.159 GB, free: 113 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.007101/2.591, allocations: 7.856 MB / 1.167 GB, free: 109.3 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.003233/2.594, allocations: 2.051 MB / 1.169 GB, free: 108.2 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002544/2.596, allocations: 280.8 kB / 1.169 GB, free: 108.2 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001227/2.598, allocations: 0.9011 MB / 1.17 GB, free: 107.8 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01047/2.608, allocations: 5.879 MB / 1.175 GB, free: 107.8 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01508/2.623, allocations: 13.76 MB / 1.189 GB, free: 97.79 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02356/2.647, allocations: 21.34 MB / 1.21 GB, free: 84.95 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004068/2.647, allocations: 76.88 kB / 1.21 GB, free: 84.95 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.04272/2.69, allocations: 22.36 MB / 1.232 GB, free: 77.06 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006495/2.691, allocations: 122.9 kB / 1.232 GB, free: 77.06 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008249/2.692, allocations: 279.7 kB / 1.232 GB, free: 77.06 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008282/2.7, allocations: 3.215 MB / 1.235 GB, free: 76.47 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/2.712, allocations: 3.374 MB / 1.238 GB, free: 76.09 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02527/2.738, allocations: 22.48 MB / 1.26 GB, free: 62.86 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01263/2.75, allocations: 0.8214 MB / 1.261 GB, free: 62.18 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002989/2.753, allocations: 0.81 MB / 1.262 GB, free: 61.4 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * Number of states: 0 () * Number of discrete variables: 138 (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.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],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.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1698): * Single equations (assignments): 1691 * 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 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01324/2.767, allocations: 5.285 MB / 1.267 GB, free: 56.77 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002937/2.77, allocations: 0.9988 MB / 1.268 GB, free: 55.75 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02412/2.794, allocations: 12.78 MB / 1.281 GB, free: 45.47 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.939e-05/2.794, allocations: 59.94 kB / 1.281 GB, free: 45.41 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-05/2.794, allocations: 20 kB / 1.281 GB, free: 45.39 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001525/2.794, allocations: 25.84 kB / 1.281 GB, free: 45.39 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05918/2.853, allocations: 28.94 MB / 1.309 GB, free: 22.11 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.267e-05/2.853, allocations: 8 kB / 1.309 GB, free: 22.11 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005485/2.859, allocations: 1.105 MB / 1.31 GB, free: 21.27 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006867/2.866, allocations: 2.824 MB / 1.313 GB, free: 19.3 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001159/2.867, allocations: 103.2 kB / 1.313 GB, free: 19.2 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3419/3.209, allocations: 21.08 MB / 1.333 GB, free: 105.6 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/3.209, allocations: 17.5 kB / 1.333 GB, free: 105.6 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03037/3.239, allocations: 19.92 MB / 1.353 GB, free: 104 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004057/3.244, allocations: 1.088 MB / 1.354 GB, free: 103.9 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004316/3.248, allocations: 103.4 kB / 1.354 GB, free: 103.9 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007809/3.256, allocations: 377 kB / 1.354 GB, free: 103.9 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002208/3.258, allocations: 359.3 kB / 1.355 GB, free: 103.9 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001388/3.259, allocations: 148.7 kB / 1.355 GB, free: 103.9 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.01886/3.278, allocations: 7.403 MB / 1.362 GB, free: 103.6 MB / 0.5887 GB Notification: Performance of sort global known variables: time 4.01e-07/3.278, allocations: 0 / 1.362 GB, free: 103.6 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01936/3.298, allocations: 2.802 MB / 1.365 GB, free: 103.6 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (463): * Single equations (assignments): 456 * 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%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002342/3.3, allocations: 289.3 kB / 1.365 GB, free: 103.6 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.02675/3.327, allocations: 14.77 MB / 1.38 GB, free: 103 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/3.327, allocations: 3.375 kB / 1.38 GB, free: 103 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.01183/3.339, allocations: 6.305 MB / 1.386 GB, free: 102.4 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03071/3.37, allocations: 1.405 MB / 1.387 GB, free: 102.4 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06832/3.438, allocations: 33.13 MB / 1.42 GB, free: 88.38 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02199/3.46, allocations: 7.935 MB / 1.427 GB, free: 86.01 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004927/3.465, allocations: 0.7575 MB / 1.428 GB, free: 85.98 MB / 0.5887 GB Notification: Performance of SimCode: time 1.693e-06/3.465, allocations: 0 / 1.428 GB, free: 85.98 MB / 0.5887 GB Notification: Performance of Templates: time 1.142/4.607, allocations: 356.3 MB / 1.776 GB, free: 142.2 MB / 0.6355 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches