Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009659/0.0009659, allocations: 192.5 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 226.5 MB / 243.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008365/0.0008365, allocations: 95.23 kB / 295.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.325/0.325, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 8 kB / 465.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3593, allocations: 62.96 MB / 0.5159 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.06627/0.4256, allocations: 80.99 MB / 0.595 GB, free: 7.676 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04293/0.4687, allocations: 16.36 MB / 0.6109 GB, free: 7.887 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01825/0.4869, allocations: 383.1 kB / 0.6113 GB, free: 7.512 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01496/0.5019, allocations: 4.285 MB / 0.6155 GB, free: 3.207 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03406/0.536, allocations: 12.43 MB / 0.6276 GB, free: 6.73 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005614/0.5417, allocations: 0.9324 MB / 0.6285 GB, free: 5.797 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.3614/0.9031, allocations: 63.22 MB / 0.6903 GB, free: 55.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01535/0.9185, allocations: 7.792 MB / 0.6979 GB, free: 54.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00583/0.9243, allocations: 1.928 MB / 0.6998 GB, free: 54.19 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006858/0.9312, allocations: 2.987 MB / 0.7027 GB, free: 54.18 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.9333, allocations: 214.2 kB / 0.7029 GB, free: 54.18 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004203/0.9375, allocations: 1.147 MB / 0.704 GB, free: 54.18 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004426/0.942, allocations: 2.658 MB / 0.7066 GB, free: 54.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005542/0.9476, allocations: 2.857 MB / 0.7094 GB, free: 54.15 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009301/0.9569, allocations: 8.205 MB / 0.7174 GB, free: 51.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.9569, allocations: 0 / 0.7174 GB, free: 51.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.9569, allocations: 0 / 0.7174 GB, free: 51.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000435/0.9574, allocations: 3.375 kB / 0.7174 GB, free: 51.54 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.01431/0.9717, allocations: 6.218 MB / 0.7235 GB, free: 47.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.9718, allocations: 10.28 kB / 0.7235 GB, free: 47.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.9837, allocations: 2.833 MB / 0.7263 GB, free: 46.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009504/0.9932, allocations: 4.237 MB / 0.7304 GB, free: 43.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/0.9936, allocations: 364.2 kB / 0.7308 GB, free: 43.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/0.9954, allocations: 477.9 kB / 0.7312 GB, free: 43.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02775/1.023, allocations: 15.05 MB / 0.7459 GB, free: 31.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000325/1.024, allocations: 67.56 kB / 0.746 GB, free: 31.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001805/1.025, allocations: 235.8 kB / 0.7462 GB, free: 31.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004517/1.03, allocations: 2.863 MB / 0.749 GB, free: 28.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02434/1.054, allocations: 12.77 MB / 0.7615 GB, free: 19.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07951/1.134, allocations: 59.15 MB / 0.8192 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01891/1.153, allocations: 7.291 MB / 0.8263 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005853/1.159, allocations: 3.894 MB / 0.8301 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01876/1.178, allocations: 9.014 MB / 0.8389 GB, free: 424 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.973e-05/1.178, allocations: 59.28 kB / 0.839 GB, free: 356 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=246): time 5.991e-06/1.178, allocations: 0 / 0.839 GB, free: 356 kB / 0.5261 GB Notification: Performance of matching and sorting (n=288): time 0.08917/1.267, allocations: 32.84 MB / 0.8711 GB, free: 15.35 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.267, allocations: 242.3 kB / 0.8713 GB, free: 15.07 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/1.277, allocations: 6.674 MB / 0.8778 GB, free: 8.406 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008134/1.278, allocations: 69.7 kB / 0.8779 GB, free: 8.332 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00364/1.282, allocations: 4.468 MB / 0.8823 GB, free: 3.895 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.284, allocations: 1.097 MB / 0.8833 GB, free: 2.809 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005975/1.284, allocations: 174 kB / 0.8835 GB, free: 2.641 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0004881/1.285, allocations: 0.6779 MB / 0.8842 GB, free: 1.953 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/1.29, allocations: 3.593 MB / 0.8877 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/1.301, allocations: 8.623 MB / 0.8961 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2336/1.535, allocations: 13.17 MB / 0.9089 GB, free: 212.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/1.535, allocations: 48.38 kB / 0.909 GB, free: 212.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02469/1.56, allocations: 14.02 MB / 0.9227 GB, free: 207.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/1.56, allocations: 81.06 kB / 0.9228 GB, free: 207.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002577/1.56, allocations: 176.3 kB / 0.9229 GB, free: 207.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006007/1.566, allocations: 2.262 MB / 0.9251 GB, free: 207.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007159/1.573, allocations: 2.035 MB / 0.9271 GB, free: 207 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/1.59, allocations: 13.22 MB / 0.94 GB, free: 200.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006444/1.597, allocations: 0.5041 MB / 0.9405 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/1.598, allocations: 0.5149 MB / 0.941 GB, free: 200.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1057 * Array equations: 5 * 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 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005538/1.604, allocations: 3.044 MB / 0.944 GB, free: 198.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.605, allocations: 0.5616 MB / 0.9445 GB, free: 198.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.616, allocations: 7.213 MB / 0.9516 GB, free: 196.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.436e-05/1.616, allocations: 36.77 kB / 0.9516 GB, free: 196.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/1.616, allocations: 11.66 kB / 0.9516 GB, free: 196.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.493e-05/1.616, allocations: 13.31 kB / 0.9516 GB, free: 196.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02417/1.641, allocations: 15.25 MB / 0.9665 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/1.641, allocations: 4 kB / 0.9665 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/1.643, allocations: 494.9 kB / 0.967 GB, free: 188.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004566/1.647, allocations: 2.016 MB / 0.969 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003482/1.648, allocations: 53.14 kB / 0.969 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/1.662, allocations: 12.57 MB / 0.9813 GB, free: 175 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.662, allocations: 8 kB / 0.9813 GB, free: 175 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/1.677, allocations: 11.44 MB / 0.9925 GB, free: 163.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.679, allocations: 0.6497 MB / 0.9931 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/1.68, allocations: 59.92 kB / 0.9932 GB, free: 162.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.683, allocations: 206.6 kB / 0.9934 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005812/1.684, allocations: 178.7 kB / 0.9936 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/1.684, allocations: 75.98 kB / 0.9936 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00598/1.69, allocations: 4.261 MB / 0.9978 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.513e-06/1.69, allocations: 0 / 0.9978 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007343/1.697, allocations: 1.62 MB / 0.9994 GB, free: 156.5 MB / 0.5886 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.0006585/1.698, allocations: 203.5 kB / 0.9996 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.709, allocations: 8.769 MB / 1.008 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.709, allocations: 1.812 kB / 1.008 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005006/1.714, allocations: 3.525 MB / 1.012 GB, free: 144 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007817/1.722, allocations: 0.71 MB / 1.012 GB, free: 143.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/1.745, allocations: 18.14 MB / 1.03 GB, free: 125 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004337/1.749, allocations: 4.609 MB / 1.034 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/1.751, allocations: 439.4 kB / 1.035 GB, free: 120 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/1.751, allocations: 4 kB / 1.035 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.3748/2.126, allocations: 144.4 MB / 1.176 GB, free: 198.8 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches