Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 95.31 kB / 20.43 MB, free: 4.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 169 kB / 23.8 MB, free: 0.7656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9929/0.9929, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1425/0.1425, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 347.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.401e-05, allocations: 4.281 kB / 347.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01415/0.01418, allocations: 16.05 MB / 363.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.02497, allocations: 4.988 MB / 368.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.02708, allocations: 127.4 kB / 368.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005436/0.03252, allocations: 5.432 MB / 374.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.03757, allocations: 2.861 MB / 377.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.03967, allocations: 1.228 MB / 378.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007028/0.0467, allocations: 7.479 MB / 385.9 MB, free: 3.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005177/0.05188, allocations: 5.326 MB / 391.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006054/0.05793, allocations: 4.546 MB / 395.8 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004703/0.06263, allocations: 3.69 MB / 399.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001327/0.06396, allocations: 0.5469 MB / 400 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.06601, allocations: 1.408 MB / 401.4 MB, free: 3.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002275/0.06828, allocations: 3.432 MB / 404.8 MB, free: 36 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002248/0.07053, allocations: 2.119 MB / 407 MB, free: 13.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007006/0.07754, allocations: 7.185 MB / 414.1 MB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.07754, allocations: 0 / 414.1 MB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.07755, allocations: 0 / 414.1 MB, free: 6.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.07766, allocations: 0 / 414.1 MB, free: 6.699 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.009039/0.0867, allocations: 8.506 MB / 422.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.08675, allocations: 16.02 kB / 422.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007265/0.09401, allocations: 3.46 MB / 426.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.09848, allocations: 3.835 MB / 430 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.09867, allocations: 378 kB / 430.3 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00084/0.09951, allocations: 0.4961 MB / 430.8 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1705/0.27, allocations: 9.565 MB / 440.4 MB, free: 76.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/0.2702, allocations: 70.19 kB / 440.5 MB, free: 76.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003924/0.2706, allocations: 233 kB / 440.7 MB, free: 76.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002427/0.273, allocations: 2.785 MB / 443.5 MB, free: 76.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009641/0.2827, allocations: 5.093 MB / 448.6 MB, free: 76.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03347/0.3161, allocations: 64.91 MB / 0.5014 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007246/0.3234, allocations: 3.816 MB / 0.5052 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.3244, allocations: 0.9154 MB / 0.5061 GB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006435/0.3308, allocations: 6.019 MB / 0.5119 GB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.3309, allocations: 62.98 kB / 0.512 GB, free: 3.992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=218): time 4.268e-06/0.3309, allocations: 0 / 0.512 GB, free: 3.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=227): time 0.0319/0.3628, allocations: 18.25 MB / 0.5298 GB, free: 1.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.3629, allocations: 231.3 kB / 0.53 GB, free: 1.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006091/0.369, allocations: 5.504 MB / 0.5354 GB, free: 12.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.3692, allocations: 65.61 kB / 0.5355 GB, free: 12.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002848/0.372, allocations: 5.241 MB / 0.5406 GB, free: 7.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001221/0.3732, allocations: 0.9678 MB / 0.5415 GB, free: 6.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/0.375, allocations: 1.964 MB / 0.5435 GB, free: 4.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3751, allocations: 476.8 kB / 0.5439 GB, free: 3.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.3767, allocations: 0.9975 MB / 0.5449 GB, free: 2.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006247/0.383, allocations: 9.214 MB / 0.5539 GB, free: 5.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009353/0.3923, allocations: 11.18 MB / 0.5648 GB, free: 6.906 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/0.3924, allocations: 56 kB / 0.5649 GB, free: 6.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.01117/0.4036, allocations: 8.247 MB / 0.5729 GB, free: 14.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.414e-05/0.4037, allocations: 91.98 kB / 0.573 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001574/0.4039, allocations: 192 kB / 0.5732 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/0.4055, allocations: 0.8309 MB / 0.574 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/0.409, allocations: 2.129 MB / 0.5761 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/0.4139, allocations: 5.637 MB / 0.5816 GB, free: 5.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004122/0.418, allocations: 0.5684 MB / 0.5821 GB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005684/0.4186, allocations: 0.5352 MB / 0.5827 GB, free: 4.367 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 888 * Number of states: 0 () * Number of discrete variables: 63 (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 (1127): * Single equations (assignments): 1120 * 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.002005/0.4206, allocations: 0.9019 MB / 0.5835 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/0.4218, allocations: 0.5649 MB / 0.5841 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/0.4251, allocations: 2.175 MB / 0.5862 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/0.4251, allocations: 31.94 kB / 0.5862 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.4252, allocations: 4 kB / 0.5862 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.4252, allocations: 19.95 kB / 0.5863 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1819/0.6071, allocations: 7.915 MB / 0.594 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.6071, allocations: 6.438 kB / 0.594 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.6082, allocations: 398.4 kB / 0.5944 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.6095, allocations: 0.5387 MB / 0.5949 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.6097, allocations: 46.16 kB / 0.595 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/0.6132, allocations: 5.208 MB / 0.6 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.6132, allocations: 15.28 kB / 0.6001 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004777/0.618, allocations: 3.69 MB / 0.6037 GB, free: 128.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.6198, allocations: 0.7624 MB / 0.6044 GB, free: 128.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005001/0.6203, allocations: 45.06 kB / 0.6044 GB, free: 128.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.6214, allocations: 190 kB / 0.6046 GB, free: 128.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.6216, allocations: 158.5 kB / 0.6048 GB, free: 128.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-05/0.6217, allocations: 70.53 kB / 0.6048 GB, free: 128.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002955/0.6247, allocations: 2.374 MB / 0.6072 GB, free: 128.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6247, allocations: 0 / 0.6072 GB, free: 128.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004933/0.6296, allocations: 1.622 MB / 0.6087 GB, free: 128.5 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 (193): * Single equations (assignments): 188 * 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.0004114/0.63, allocations: 209.4 kB / 0.6089 GB, free: 128.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005113/0.6351, allocations: 4.563 MB / 0.6134 GB, free: 127.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6351, allocations: 0 / 0.6134 GB, free: 127.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.6362, allocations: 1.221 MB / 0.6146 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.6381, allocations: 0.6195 MB / 0.6152 GB, free: 127 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.651, allocations: 11.82 MB / 0.6267 GB, free: 116.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.6523, allocations: 1.923 MB / 0.6286 GB, free: 114.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002927/0.6552, allocations: 2.272 MB / 0.6308 GB, free: 113.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/0.6558, allocations: 336.5 kB / 0.6312 GB, free: 113.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.274e-06/0.6558, allocations: 0 / 0.6312 GB, free: 113.3 MB / 442.7 MB Notification: Performance of Templates: time 0.05757/0.7134, allocations: 46.29 MB / 0.6764 GB, free: 67.15 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.995968158822507]