Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009505/0.0009505, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001075/0.001075, allocations: 170 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9369/0.9369, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2903/0.2903, allocations: 34.25 MB / 296.1 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.278e-05, allocations: 3.156 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01094/0.01096, allocations: 14.63 MB / 339.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009224/0.02019, allocations: 5.052 MB / 344.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.02271, allocations: 123.4 kB / 345.1 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007627/0.03034, allocations: 5.358 MB / 350.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005863/0.0362, allocations: 2.675 MB / 353.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.03854, allocations: 1.228 MB / 354.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007962/0.0465, allocations: 7.622 MB / 361.9 MB, free: 2.875 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004927/0.05143, allocations: 5.275 MB / 367.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005594/0.05702, allocations: 4.675 MB / 371.9 MB, free: 8.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004635/0.06165, allocations: 3.308 MB / 375.2 MB, free: 5.496 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001712/0.06337, allocations: 0.5117 MB / 375.7 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.06579, allocations: 1.346 MB / 377.1 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002777/0.06856, allocations: 3.187 MB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003225/0.07179, allocations: 1.974 MB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007261/0.07905, allocations: 6.703 MB / 388.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.07905, allocations: 0 / 388.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.07906, allocations: 4 kB / 388.9 MB, free: 7.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002876/0.07934, allocations: 0 / 388.9 MB, free: 7.73 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.01017/0.08952, allocations: 6.929 MB / 395.9 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001919/0.08971, allocations: 12.02 kB / 395.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004099/0.09381, allocations: 1.503 MB / 397.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005066/0.09887, allocations: 3.029 MB / 400.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.09909, allocations: 357.5 kB / 400.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008531/0.09994, allocations: 476.1 kB / 401.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.1107, allocations: 7.254 MB / 408.5 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.1109, allocations: 63.48 kB / 408.5 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004019/0.1113, allocations: 227.8 kB / 408.7 MB, free: 2.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002123/0.1134, allocations: 2.36 MB / 411.1 MB, free: 384 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007997/0.1214, allocations: 3.663 MB / 414.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2237/0.3451, allocations: 44.68 MB / 459.4 MB, free: 76.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006355/0.3515, allocations: 2.763 MB / 462.2 MB, free: 75.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008677/0.3523, allocations: 0.5694 MB / 462.8 MB, free: 75.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006919/0.3593, allocations: 4.903 MB / 467.7 MB, free: 74.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.3593, allocations: 63.8 kB / 467.7 MB, free: 74.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 4.859e-06/0.3593, allocations: 0 / 467.7 MB, free: 74.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.01949/0.3788, allocations: 8.148 MB / 475.9 MB, free: 73.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.3789, allocations: 234.6 kB / 476.1 MB, free: 73.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/0.3827, allocations: 4.738 MB / 480.9 MB, free: 69.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.383, allocations: 50.08 kB / 480.9 MB, free: 69.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.3844, allocations: 4.411 MB / 485.3 MB, free: 65.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007113/0.3851, allocations: 0.8374 MB / 486.2 MB, free: 65.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.3862, allocations: 1.632 MB / 487.8 MB, free: 63.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.932e-05/0.3863, allocations: 305.1 kB / 488.1 MB, free: 63.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.3877, allocations: 1.056 MB / 489.1 MB, free: 62.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.3904, allocations: 6.258 MB / 495.4 MB, free: 53.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005674/0.3961, allocations: 8.014 MB / 0.4916 GB, free: 43.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/0.3962, allocations: 56 kB / 0.4917 GB, free: 43.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.008005/0.4042, allocations: 6.028 MB / 0.4976 GB, free: 37.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.4043, allocations: 84 kB / 0.4976 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.4044, allocations: 188 kB / 0.4978 GB, free: 37.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.4058, allocations: 0.6007 MB / 0.4984 GB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/0.4092, allocations: 1.907 MB / 0.5003 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.4124, allocations: 4.225 MB / 0.5044 GB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00445/0.4168, allocations: 379.7 kB / 0.5048 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008094/0.4176, allocations: 452 kB / 0.5052 GB, free: 29.52 MB / 410.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.001945/0.4196, allocations: 0.8311 MB / 0.506 GB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000782/0.4204, allocations: 307.6 kB / 0.5063 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.4223, allocations: 1.39 MB / 0.5076 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.4223, allocations: 20 kB / 0.5077 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4223, allocations: 7.719 kB / 0.5077 GB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.4223, allocations: 11.97 kB / 0.5077 GB, free: 26.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009826/0.4321, allocations: 5.762 MB / 0.5133 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.4322, allocations: 8 kB / 0.5133 GB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006927/0.4328, allocations: 283.6 kB / 0.5136 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.4342, allocations: 0.6195 MB / 0.5142 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.4343, allocations: 40 kB / 0.5142 GB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/0.4372, allocations: 3.839 MB / 0.518 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4372, allocations: 11.94 kB / 0.518 GB, free: 16.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/0.4402, allocations: 2.507 MB / 0.5204 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.4413, allocations: 444.5 kB / 0.5209 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/0.4417, allocations: 51.86 kB / 0.5209 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/0.4425, allocations: 40 kB / 0.521 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.4427, allocations: 136.8 kB / 0.5211 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.4428, allocations: 48 kB / 0.5211 GB, free: 12.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001753/0.4445, allocations: 1.765 MB / 0.5229 GB, free: 10.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4445, allocations: 8 kB / 0.5229 GB, free: 10.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005442/0.45, allocations: 1.488 MB / 0.5243 GB, free: 9.461 MB / 410.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.0005872/0.4506, allocations: 180.5 kB / 0.5245 GB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00465/0.4552, allocations: 3.579 MB / 0.528 GB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003001/0.4555, allocations: 120.2 kB / 0.5281 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009987/0.4565, allocations: 0.8195 MB / 0.5289 GB, free: 4.742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/0.4599, allocations: 0.8906 MB / 0.5298 GB, free: 3.883 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.4744, allocations: 10.74 MB / 0.5403 GB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.4764, allocations: 1.781 MB / 0.542 GB, free: 7.137 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002093/0.4785, allocations: 0.6939 MB / 0.5427 GB, free: 6.445 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.4796, allocations: 0.7316 MB / 0.5434 GB, free: 5.711 MB / 426.7 MB Notification: Performance of SimCode: time 2.244e-06/0.4796, allocations: 0 / 0.5434 GB, free: 5.711 MB / 426.7 MB Notification: Performance of Templates: time 0.06821/0.5478, allocations: 45.26 MB / 0.5876 GB, free: 8.895 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 4.541148389223963]