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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 84.25 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 161.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9309/0.9309, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1527/0.1527, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.039e-05, allocations: 3.719 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01578/0.0158, allocations: 14.61 MB / 394.6 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008746/0.02454, allocations: 4.837 MB / 399.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.0268, allocations: 123.4 kB / 399.6 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004658/0.03145, allocations: 5.296 MB / 404.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.03656, allocations: 2.651 MB / 407.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.03838, allocations: 1.232 MB / 408.8 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007964/0.04635, allocations: 7.655 MB / 416.4 MB, free: 2.188 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006461/0.05281, allocations: 5.157 MB / 421.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009725/0.06253, allocations: 4.71 MB / 426.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004582/0.06712, allocations: 3.453 MB / 429.7 MB, free: 4.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001485/0.0686, allocations: 0.5195 MB / 430.3 MB, free: 4.258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.07159, allocations: 1.354 MB / 431.6 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003133/0.07473, allocations: 3.191 MB / 434.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003733/0.07846, allocations: 1.971 MB / 436.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009307/0.08777, allocations: 6.703 MB / 443.5 MB, free: 7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.08777, allocations: 3.938 kB / 443.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08777, allocations: 0 / 443.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002808/0.08805, allocations: 4 kB / 443.5 MB, free: 6.992 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01189/0.09994, allocations: 7.714 MB / 451.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.09998, allocations: 8.031 kB / 451.2 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00697/0.107, allocations: 2.385 MB / 453.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006208/0.1132, allocations: 3.217 MB / 456.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/0.1134, allocations: 357.5 kB / 457.2 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.1147, allocations: 476.1 kB / 457.6 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.1288, allocations: 8.077 MB / 465.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/0.129, allocations: 67.44 kB / 465.8 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009215/0.1299, allocations: 227.8 kB / 466 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002043/0.132, allocations: 2.36 MB / 468.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00925/0.1412, allocations: 3.621 MB / 472 MB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2313/0.3725, allocations: 61.72 MB / 0.5212 GB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00753/0.38, allocations: 2.874 MB / 0.524 GB, free: 59.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.3811, allocations: 0.7018 MB / 0.5247 GB, free: 59.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007339/0.3885, allocations: 5.305 MB / 0.5299 GB, free: 57.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.3885, allocations: 55.27 kB / 0.5299 GB, free: 57.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 3.877e-06/0.3885, allocations: 0 / 0.5299 GB, free: 57.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.02578/0.4143, allocations: 9.287 MB / 0.539 GB, free: 52.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.4144, allocations: 231.1 kB / 0.5392 GB, free: 52.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004814/0.4192, allocations: 5.277 MB / 0.5443 GB, free: 48.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002623/0.4194, allocations: 57.69 kB / 0.5444 GB, free: 47.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.4211, allocations: 5.036 MB / 0.5493 GB, free: 43.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006739/0.4218, allocations: 0.8726 MB / 0.5502 GB, free: 42.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/0.4231, allocations: 1.901 MB / 0.552 GB, free: 40.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.4231, allocations: 480.7 kB / 0.5525 GB, free: 39.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.4244, allocations: 0.8013 MB / 0.5533 GB, free: 39.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/0.4277, allocations: 8.815 MB / 0.5619 GB, free: 26.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00617/0.4339, allocations: 10.49 MB / 0.5721 GB, free: 13.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/0.434, allocations: 52 kB / 0.5722 GB, free: 13.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.0105/0.4445, allocations: 7.07 MB / 0.5791 GB, free: 5.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.377e-05/0.4446, allocations: 84 kB / 0.5792 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/0.4447, allocations: 196 kB / 0.5793 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.4464, allocations: 0.6083 MB / 0.5799 GB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003665/0.45, allocations: 1.911 MB / 0.5818 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004632/0.4546, allocations: 5.37 MB / 0.587 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006104/0.4608, allocations: 371.7 kB / 0.5874 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009543/0.4617, allocations: 460 kB / 0.5878 GB, free: 12.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002081/0.4638, allocations: 0.87 MB / 0.5887 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.4648, allocations: 0.5281 MB / 0.5892 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.4673, allocations: 1.564 MB / 0.5907 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.4673, allocations: 24 kB / 0.5908 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.4673, allocations: 4 kB / 0.5908 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002854/0.4676, allocations: 7.969 kB / 0.5908 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.4788, allocations: 6.831 MB / 0.5974 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.4788, allocations: 8 kB / 0.5974 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008301/0.4796, allocations: 283.6 kB / 0.5977 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.4809, allocations: 368.4 kB / 0.5981 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.4811, allocations: 40 kB / 0.5981 GB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004486/0.4856, allocations: 4.988 MB / 0.603 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.4856, allocations: 21.06 kB / 0.603 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/0.4903, allocations: 2.977 MB / 0.6059 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/0.4919, allocations: 468.5 kB / 0.6063 GB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005205/0.4924, allocations: 43.98 kB / 0.6064 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/0.4934, allocations: 36 kB / 0.6064 GB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.4936, allocations: 140.7 kB / 0.6066 GB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/0.4937, allocations: 47.98 kB / 0.6066 GB, free: 8.949 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002719/0.4964, allocations: 2.114 MB / 0.6087 GB, free: 6.855 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4964, allocations: 4 kB / 0.6087 GB, free: 6.852 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005444/0.5019, allocations: 1.492 MB / 0.6101 GB, free: 5.359 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (164): * Single equations (assignments): 159 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004305/0.5023, allocations: 190.7 kB / 0.6103 GB, free: 5.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005798/0.5081, allocations: 3.98 MB / 0.6142 GB, free: 1.172 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.5081, allocations: 0 / 0.6142 GB, free: 1.172 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.5094, allocations: 1.007 MB / 0.6152 GB, free: 140 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.5122, allocations: 0.619 MB / 0.6158 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.5303, allocations: 10.96 MB / 0.6265 GB, free: 4.371 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002889/0.5332, allocations: 1.801 MB / 0.6282 GB, free: 2.535 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002481/0.5357, allocations: 0.6766 MB / 0.6289 GB, free: 1.852 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.537, allocations: 0.791 MB / 0.6297 GB, free: 1.059 MB / 458.7 MB Notification: Performance of SimCode: time 2.225e-06/0.537, allocations: 0 / 0.6297 GB, free: 1.059 MB / 458.7 MB Notification: Performance of Templates: time 0.2229/0.7599, allocations: 46.35 MB / 0.6749 GB, free: 165.4 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.193333243951201]