Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.0007844/0.0007844, allocations: 91.62 kB / 21.44 MB, free: 3.102 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.0008525/0.0008525, allocations: 159.8 kB / 24.7 MB, free: 9.441 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.8657/0.8657, allocations: 177.2 MB / 205 MB, free: 5.719 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.2311/0.2311, allocations: 34.25 MB / 295.7 MB, free: 0.6953 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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.567e-06/3.567e-06, allocations: 0 / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.452e-05/4.809e-05, allocations: 6.219 kB / 443.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.1922/0.1922, allocations: 11.11 MB / 454.6 MB, free: 38.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.1966, allocations: 4.294 MB / 458.8 MB, free: 35.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006274/0.1973, allocations: 102.3 kB / 458.9 MB, free: 35.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002703/0.2, allocations: 3.8 MB / 462.7 MB, free: 33.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.2023, allocations: 2.323 MB / 465.1 MB, free: 32.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.2033, allocations: 1.099 MB / 466.2 MB, free: 32.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.2066, allocations: 6.795 MB / 473 MB, free: 29.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.2087, allocations: 4.026 MB / 477 MB, free: 27.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.2105, allocations: 2.988 MB / 480 MB, free: 26.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.2123, allocations: 2.881 MB / 482.9 MB, free: 25.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004145/0.2127, allocations: 422.8 kB / 483.3 MB, free: 25.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.2143, allocations: 1.394 MB / 484.7 MB, free: 25.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.2159, allocations: 2.61 MB / 487.3 MB, free: 24.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.2171, allocations: 1.585 MB / 488.9 MB, free: 23.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007127/0.2242, allocations: 8.752 MB / 497.6 MB, free: 20.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2242, allocations: 0 / 497.6 MB, free: 20.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2242, allocations: 0 / 497.6 MB, free: 20.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001231/0.2243, allocations: 1.062 kB / 497.6 MB, free: 20.45 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.007617/0.2319, allocations: 6.155 MB / 0.492 GB, free: 16.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.232, allocations: 9.969 kB / 0.492 GB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/0.2376, allocations: 2.671 MB / 0.4946 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00433/0.2419, allocations: 3.661 MB / 0.4982 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.2421, allocations: 278.3 kB / 0.4984 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004489/0.2425, allocations: 383.5 kB / 0.4988 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009333/0.2518, allocations: 11.68 MB / 0.5102 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.96e-05/0.2519, allocations: 55.58 kB / 0.5102 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.2522, allocations: 175.8 kB / 0.5104 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001901/0.2541, allocations: 2.15 MB / 0.5125 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.2649, allocations: 9.621 MB / 0.5219 GB, free: 4.594 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03234/0.2972, allocations: 43.24 MB / 0.5641 GB, free: 8.133 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005632/0.3028, allocations: 3.502 MB / 0.5675 GB, free: 4.594 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.3044, allocations: 1.978 MB / 0.5695 GB, free: 2.602 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005491/0.3099, allocations: 5.315 MB / 0.5747 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.31, allocations: 51.98 kB / 0.5747 GB, free: 13.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 3.306e-06/0.31, allocations: 0 / 0.5747 GB, free: 13.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.02584/0.3358, allocations: 18.1 MB / 0.5924 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.3359, allocations: 226.3 kB / 0.5926 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004597/0.3405, allocations: 4.99 MB / 0.5975 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.184e-05/0.3406, allocations: 45.7 kB / 0.5975 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.3421, allocations: 3.852 MB / 0.6013 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004682/0.3426, allocations: 0.6786 MB / 0.602 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.3439, allocations: 1.401 MB / 0.6033 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.344, allocations: 301.1 kB / 0.6036 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/0.3462, allocations: 2.289 MB / 0.6058 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003936/0.3501, allocations: 6.597 MB / 0.6123 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006934/0.357, allocations: 9.516 MB / 0.6216 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.613e-05/0.3571, allocations: 40 kB / 0.6216 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.1901/0.5472, allocations: 9.515 MB / 0.6309 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/0.5473, allocations: 73.11 kB / 0.631 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/0.5474, allocations: 149.7 kB / 0.6311 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/0.5493, allocations: 1.232 MB / 0.6323 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.552, allocations: 1.558 MB / 0.6339 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005295/0.5573, allocations: 8.183 MB / 0.6418 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/0.5606, allocations: 428.9 kB / 0.6423 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/0.5609, allocations: 419.1 kB / 0.6427 GB, free: 141.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (836): * Single equations (assignments): 829 * 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 {(1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002681/0.5635, allocations: 2.457 MB / 0.6451 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.5639, allocations: 413.3 kB / 0.6454 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.567, allocations: 3.307 MB / 0.6487 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.567, allocations: 21.84 kB / 0.6487 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.567, allocations: 9.859 kB / 0.6487 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.5671, allocations: 9.688 kB / 0.6487 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007216/0.5743, allocations: 7.163 MB / 0.6557 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.5743, allocations: 2.938 kB / 0.6557 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/0.5749, allocations: 256.8 kB / 0.656 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.5762, allocations: 1.002 MB / 0.6569 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.272e-05/0.5763, allocations: 28.75 kB / 0.657 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005213/0.5815, allocations: 7.552 MB / 0.6643 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5815, allocations: 4.312 kB / 0.6643 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/0.5872, allocations: 5.772 MB / 0.67 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008056/0.588, allocations: 414.3 kB / 0.6704 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.5882, allocations: 29.59 kB / 0.6704 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009342/0.5892, allocations: 156.5 kB / 0.6706 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.5893, allocations: 103.8 kB / 0.6706 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/0.5894, allocations: 45.55 kB / 0.6707 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003262/0.5927, allocations: 2.949 MB / 0.6736 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5927, allocations: 6.922 kB / 0.6736 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004155/0.5968, allocations: 1.272 MB / 0.6748 GB, free: 128.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * 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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003605/0.5972, allocations: 177.4 kB / 0.675 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005241/0.6024, allocations: 5.34 MB / 0.6802 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6024, allocations: 4.406 kB / 0.6802 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.6037, allocations: 1.526 MB / 0.6817 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.6055, allocations: 0.5193 MB / 0.6822 GB, free: 126 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.6171, allocations: 11.3 MB / 0.6932 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/0.6193, allocations: 3.229 MB / 0.6964 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007735/0.6201, allocations: 319.2 kB / 0.6967 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/0.6201, allocations: 0 / 0.6967 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.07219/0.6923, allocations: 111.8 MB / 0.8058 GB, free: 8.652 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.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: 9.820007742382586]