Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001377/0.001377, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001641/0.001641, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.26/0.26, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.239e-05, allocations: 6.25 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009324/0.009346, allocations: 12.24 MB / 388.2 MB, free: 8.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006973/0.01632, allocations: 4.407 MB / 392.7 MB, free: 4.258 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009694/0.01729, allocations: 103.5 kB / 392.8 MB, free: 4.156 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.02134, allocations: 3.98 MB / 396.7 MB, free: 168 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.02451, allocations: 2.321 MB / 399.1 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.02585, allocations: 1.119 MB / 400.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005284/0.03114, allocations: 6.798 MB / 407 MB, free: 5.902 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/0.03448, allocations: 4.158 MB / 411.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.03734, allocations: 2.997 MB / 414.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003214/0.04055, allocations: 2.969 MB / 417.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005582/0.04111, allocations: 420 kB / 417.5 MB, free: 11.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.04283, allocations: 1.392 MB / 418.9 MB, free: 9.887 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.04445, allocations: 2.63 MB / 421.5 MB, free: 7.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.04609, allocations: 1.601 MB / 423.1 MB, free: 5.645 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.05047, allocations: 5.687 MB / 428.8 MB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.05047, allocations: 4 kB / 428.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.05047, allocations: 3.938 kB / 428.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.642e-05/0.05052, allocations: 0 / 428.8 MB, free: 15.93 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.00659/0.05711, allocations: 6.561 MB / 435.4 MB, free: 9.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.05715, allocations: 8.031 kB / 435.4 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006439/0.06359, allocations: 3.098 MB / 438.5 MB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/0.06719, allocations: 3.311 MB / 441.8 MB, free: 2.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.06732, allocations: 283.5 kB / 442.1 MB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003788/0.0677, allocations: 372.1 kB / 442.4 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1615/0.2292, allocations: 7.274 MB / 449.7 MB, free: 96.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.2293, allocations: 51.34 kB / 449.8 MB, free: 96.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/0.2296, allocations: 185 kB / 450 MB, free: 96.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00184/0.2315, allocations: 2.145 MB / 452.1 MB, free: 96.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007088/0.2385, allocations: 3.886 MB / 456 MB, free: 95.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.024/0.2625, allocations: 51.31 MB / 0.4954 GB, free: 53.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005211/0.2678, allocations: 2.133 MB / 0.4975 GB, free: 52.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009674/0.2687, allocations: 0.673 MB / 0.4981 GB, free: 52.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004874/0.2736, allocations: 4.265 MB / 0.5023 GB, free: 50.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.2736, allocations: 54.38 kB / 0.5024 GB, free: 50.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.516e-06/0.2736, allocations: 0 / 0.5024 GB, free: 50.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.02373/0.2974, allocations: 13.53 MB / 0.5156 GB, free: 45.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.2974, allocations: 228.2 kB / 0.5158 GB, free: 45.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/0.301, allocations: 4.379 MB / 0.5201 GB, free: 41.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.219e-05/0.3011, allocations: 49.7 kB / 0.5201 GB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.3025, allocations: 4.056 MB / 0.5241 GB, free: 38.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000426/0.3029, allocations: 0.709 MB / 0.5248 GB, free: 37.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.304, allocations: 1.519 MB / 0.5262 GB, free: 35.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.3041, allocations: 480.8 kB / 0.5267 GB, free: 35.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.3051, allocations: 0.7434 MB / 0.5274 GB, free: 34.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/0.3077, allocations: 7.108 MB / 0.5344 GB, free: 24.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005576/0.3133, allocations: 8.576 MB / 0.5427 GB, free: 13.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.077e-05/0.3134, allocations: 44 kB / 0.5428 GB, free: 13.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.007564/0.3209, allocations: 6.492 MB / 0.5491 GB, free: 6.562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/0.321, allocations: 72.88 kB / 0.5492 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/0.3211, allocations: 155.9 kB / 0.5493 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.3227, allocations: 0.8042 MB / 0.5501 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.3249, allocations: 1.56 MB / 0.5517 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004134/0.329, allocations: 5.924 MB / 0.5574 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.3318, allocations: 430.1 kB / 0.5579 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003559/0.3321, allocations: 416 kB / 0.5582 GB, free: 12.99 MB / 426.7 MB 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.001282/0.3334, allocations: 0.7266 MB / 0.559 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004733/0.3339, allocations: 445.3 kB / 0.5594 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.3364, allocations: 1.742 MB / 0.5611 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.3364, allocations: 24 kB / 0.5611 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.3364, allocations: 4 kB / 0.5611 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.3365, allocations: 19.89 kB / 0.5611 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007897/0.3444, allocations: 5.833 MB / 0.5668 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3444, allocations: 4 kB / 0.5668 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.345, allocations: 247.6 kB / 0.5671 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.3464, allocations: 0.5954 MB / 0.5676 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/0.3465, allocations: 35.98 kB / 0.5677 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004261/0.3507, allocations: 5.433 MB / 0.573 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3507, allocations: 4 kB / 0.573 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/0.3544, allocations: 2.939 MB / 0.5759 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005783/0.355, allocations: 405.1 kB / 0.5762 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.3553, allocations: 28 kB / 0.5763 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.3562, allocations: 151.8 kB / 0.5764 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.3564, allocations: 100.7 kB / 0.5765 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/0.3565, allocations: 51.66 kB / 0.5766 GB, free: 9.797 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002506/0.359, allocations: 1.905 MB / 0.5784 GB, free: 7.891 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.359, allocations: 0 / 0.5784 GB, free: 7.891 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004041/0.363, allocations: 1.277 MB / 0.5797 GB, free: 6.613 MB / 442.7 MB 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.0003785/0.3634, allocations: 173.3 kB / 0.5798 GB, free: 6.434 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004641/0.368, allocations: 3.542 MB / 0.5833 GB, free: 2.887 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.368, allocations: 0 / 0.5833 GB, free: 2.887 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009592/0.369, allocations: 0.9832 MB / 0.5843 GB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.3706, allocations: 0.5116 MB / 0.5848 GB, free: 1.371 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.3819, allocations: 8.865 MB / 0.5934 GB, free: 8.371 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.3832, allocations: 1.481 MB / 0.5949 GB, free: 6.859 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002579/0.3858, allocations: 1.743 MB / 0.5966 GB, free: 5.113 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/0.3863, allocations: 268.4 kB / 0.5968 GB, free: 4.852 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3863, allocations: 0 / 0.5968 GB, free: 4.852 MB / 458.7 MB Notification: Performance of Templates: time 0.1915/0.5777, allocations: 36.94 MB / 0.6329 GB, free: 123.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.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.668153543025255]