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.002064/0.002064, allocations: 88.23 kB / 20.21 MB, free: 4.219 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.002293/0.002293, allocations: 161.7 kB / 23.52 MB, free: 0.9102 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 1.499/1.499, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2232/0.2232, allocations: 32.37 MB / 270 MB, free: 14.79 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 1.443e-06/1.443e-06, allocations: 0 / 347 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.44e-05, allocations: 2.312 kB / 347 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01389/0.01392, allocations: 14.45 MB / 361.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.02569, allocations: 4.867 MB / 366.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.0279, allocations: 131.4 kB / 366.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01079/0.0387, allocations: 5.26 MB / 371.7 MB, free: 0.957 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008228/0.04692, allocations: 2.849 MB / 374.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.05039, allocations: 1.232 MB / 375.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01379/0.06418, allocations: 7.473 MB / 383.2 MB, free: 5.371 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009363/0.07354, allocations: 5.303 MB / 388.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009863/0.0834, allocations: 3.855 MB / 392.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007501/0.0909, allocations: 3.675 MB / 396.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.09277, allocations: 0.5586 MB / 396.6 MB, free: 7.887 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.09664, allocations: 1.404 MB / 398 MB, free: 6.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004503/0.1011, allocations: 3.421 MB / 401.5 MB, free: 3.051 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003913/0.1051, allocations: 2.122 MB / 403.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01745/0.1225, allocations: 11.3 MB / 414.9 MB, free: 5.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1225, allocations: 0 / 414.9 MB, free: 5.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1225, allocations: 0 / 414.9 MB, free: 5.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003947/0.1229, allocations: 3.938 kB / 414.9 MB, free: 5.578 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.02487/0.1478, allocations: 7.987 MB / 422.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.1478, allocations: 12.03 kB / 422.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/0.1644, allocations: 3.616 MB / 426.5 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.177, allocations: 4.445 MB / 430.9 MB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/0.1775, allocations: 378 kB / 431.3 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/0.1795, allocations: 0.5 MB / 431.8 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1891/0.3686, allocations: 15.82 MB / 447.6 MB, free: 80.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001842/0.3688, allocations: 71.78 kB / 447.7 MB, free: 80.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000682/0.3695, allocations: 231.5 kB / 447.9 MB, free: 80.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004308/0.3738, allocations: 3.02 MB / 450.9 MB, free: 79.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/0.3957, allocations: 13.42 MB / 464.4 MB, free: 65.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06039/0.4561, allocations: 57.65 MB / 0.5098 GB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01631/0.4724, allocations: 6.625 MB / 0.5163 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00636/0.4788, allocations: 3.877 MB / 0.52 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02066/0.4995, allocations: 8.946 MB / 0.5288 GB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.818e-05/0.4995, allocations: 68.8 kB / 0.5288 GB, free: 3.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=278): time 5.59e-06/0.4995, allocations: 0 / 0.5288 GB, free: 3.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=320): time 0.1029/0.6024, allocations: 36.32 MB / 0.5643 GB, free: 15.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.6026, allocations: 243.9 kB / 0.5645 GB, free: 15.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009707/0.6123, allocations: 6.035 MB / 0.5704 GB, free: 9.738 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00063/0.613, allocations: 69.7 kB / 0.5705 GB, free: 9.664 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004597/0.6176, allocations: 4.79 MB / 0.5752 GB, free: 4.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001872/0.6194, allocations: 1.24 MB / 0.5764 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003163/0.6226, allocations: 1.865 MB / 0.5782 GB, free: 1.746 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6228, allocations: 305.1 kB / 0.5785 GB, free: 1.445 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00715/0.6299, allocations: 3.981 MB / 0.5824 GB, free: 13.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01341/0.6433, allocations: 9.179 MB / 0.5914 GB, free: 1.738 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1619/0.8052, allocations: 14.01 MB / 0.605 GB, free: 135.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002231/0.8054, allocations: 54.77 kB / 0.6051 GB, free: 135.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.02604/0.8314, allocations: 15.34 MB / 0.6201 GB, free: 129.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.8315, allocations: 80.75 kB / 0.6201 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001685/0.8317, allocations: 180.2 kB / 0.6203 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005863/0.8376, allocations: 2.477 MB / 0.6227 GB, free: 128.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007016/0.8446, allocations: 2.181 MB / 0.6249 GB, free: 126.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.8594, allocations: 14.23 MB / 0.6388 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00745/0.8669, allocations: 0.6239 MB / 0.6394 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/0.8681, allocations: 0.5273 MB / 0.6399 GB, free: 112.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 816 * 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 (1120): * Single equations (assignments): 1113 * 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,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004221/0.8723, allocations: 3.156 MB / 0.643 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/0.8736, allocations: 0.6015 MB / 0.6436 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.8855, allocations: 7.807 MB / 0.6512 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.093e-05/0.8856, allocations: 39.94 kB / 0.6512 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.723e-05/0.8856, allocations: 12 kB / 0.6512 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.856e-05/0.8857, allocations: 19.94 kB / 0.6512 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/0.9095, allocations: 14.71 MB / 0.6656 GB, free: 86.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.771e-05/0.9095, allocations: 4 kB / 0.6656 GB, free: 86.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/0.9123, allocations: 0.5777 MB / 0.6662 GB, free: 86.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005574/0.9179, allocations: 2.226 MB / 0.6684 GB, free: 84.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005825/0.9185, allocations: 56 kB / 0.6684 GB, free: 84.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/0.9335, allocations: 13.55 MB / 0.6816 GB, free: 70.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.9335, allocations: 7.938 kB / 0.6816 GB, free: 70.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/0.9501, allocations: 12.6 MB / 0.694 GB, free: 57.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003107/0.9532, allocations: 1.085 MB / 0.695 GB, free: 56.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/0.9543, allocations: 52 kB / 0.6951 GB, free: 56.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003096/0.9574, allocations: 318.5 kB / 0.6954 GB, free: 56.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006484/0.958, allocations: 205.8 kB / 0.6956 GB, free: 56.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/0.9583, allocations: 87.98 kB / 0.6956 GB, free: 56.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004429/0.9627, allocations: 3.567 MB / 0.6991 GB, free: 52.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9627, allocations: 0 / 0.6991 GB, free: 52.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007161/0.9699, allocations: 1.885 MB / 0.701 GB, free: 50.89 MB / 442.7 MB 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 (263): * Single equations (assignments): 258 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000644/0.9705, allocations: 230.8 kB / 0.7012 GB, free: 50.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01152/0.982, allocations: 9.167 MB / 0.7101 GB, free: 41.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.982, allocations: 0 / 0.7101 GB, free: 41.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005353/0.9874, allocations: 3.642 MB / 0.7137 GB, free: 37.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/0.9916, allocations: 0.6414 MB / 0.7143 GB, free: 37.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/1.016, allocations: 16.11 MB / 0.7301 GB, free: 20.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005149/1.021, allocations: 4.322 MB / 0.7343 GB, free: 16.63 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006291/1.027, allocations: 2.848 MB / 0.7371 GB, free: 13.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/1.029, allocations: 368.4 kB / 0.7374 GB, free: 13.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.324e-06/1.029, allocations: 0 / 0.7374 GB, free: 13.41 MB / 442.7 MB Notification: Performance of Templates: time 0.2433/1.272, allocations: 61.27 MB / 0.7972 GB, free: 126.7 MB / 458.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.289550385903567]