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.00104/0.00104, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001047/0.001047, allocations: 161 kB / 24.55 MB, free: 16 kB / 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.007/1.007, allocations: 177.1 MB / 205 MB, free: 5.578 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.2735/0.2735, allocations: 32.81 MB / 294.3 MB, free: 1.266 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 2.194e-06/2.194e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.192e-05, allocations: 6.25 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01168/0.0117, allocations: 12.27 MB / 388.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00748/0.01918, allocations: 4.423 MB / 392.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.02034, allocations: 103.5 kB / 392.8 MB, free: 3.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003847/0.02419, allocations: 3.991 MB / 396.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.02752, allocations: 2.325 MB / 399.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.02905, allocations: 1.127 MB / 400.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004998/0.03405, allocations: 6.793 MB / 407.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/0.03688, allocations: 4.154 MB / 411.2 MB, free: 1.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.03946, allocations: 3.013 MB / 414.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.04202, allocations: 2.962 MB / 417.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004951/0.04252, allocations: 416 kB / 417.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.0441, allocations: 1.396 MB / 419 MB, free: 9.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001901/0.04601, allocations: 2.63 MB / 421.6 MB, free: 6.844 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.04735, allocations: 1.593 MB / 423.2 MB, free: 5.246 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004639/0.05199, allocations: 5.691 MB / 428.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.05199, allocations: 0 / 428.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.052, allocations: 0 / 428.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.073e-05/0.05209, allocations: 4 kB / 428.9 MB, free: 15.53 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.007084/0.05917, allocations: 6.569 MB / 435.5 MB, free: 8.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.05921, allocations: 12.03 kB / 435.5 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006069/0.06528, allocations: 3.102 MB / 438.6 MB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/0.06927, allocations: 3.295 MB / 441.9 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.06941, allocations: 283.5 kB / 442.2 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004264/0.06984, allocations: 380.1 kB / 442.5 MB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1926/0.2624, allocations: 7.271 MB / 449.8 MB, free: 75.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.2625, allocations: 49.48 kB / 449.9 MB, free: 75.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.2628, allocations: 184.9 kB / 450 MB, free: 75.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001796/0.2646, allocations: 2.145 MB / 452.2 MB, free: 75.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007314/0.272, allocations: 3.885 MB / 456.1 MB, free: 75.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03445/0.3064, allocations: 51.32 MB / 0.4955 GB, free: 35.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005303/0.3117, allocations: 2.124 MB / 0.4976 GB, free: 34.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.313, allocations: 0.6697 MB / 0.4982 GB, free: 34.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007074/0.3201, allocations: 4.274 MB / 0.5024 GB, free: 32.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.3202, allocations: 60.88 kB / 0.5025 GB, free: 32.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 5.33e-06/0.3202, allocations: 0 / 0.5025 GB, free: 32.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.02835/0.3485, allocations: 13.51 MB / 0.5157 GB, free: 27.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.3486, allocations: 227.2 kB / 0.5159 GB, free: 27.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004865/0.3534, allocations: 4.39 MB / 0.5202 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.3537, allocations: 49.36 kB / 0.5202 GB, free: 25.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.3554, allocations: 4.056 MB / 0.5242 GB, free: 22.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006558/0.356, allocations: 0.7064 MB / 0.5249 GB, free: 21.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.3573, allocations: 1.522 MB / 0.5263 GB, free: 21.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.3573, allocations: 484.7 kB / 0.5268 GB, free: 20.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3585, allocations: 0.7333 MB / 0.5275 GB, free: 20.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003387/0.3619, allocations: 7.105 MB / 0.5345 GB, free: 11.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006224/0.3681, allocations: 8.569 MB / 0.5428 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/0.3682, allocations: 44 kB / 0.5429 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01337/0.3816, allocations: 6.511 MB / 0.5492 GB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.3817, allocations: 68 kB / 0.5493 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002442/0.382, allocations: 152 kB / 0.5494 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/0.3843, allocations: 0.8093 MB / 0.5502 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003913/0.3882, allocations: 1.562 MB / 0.5517 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.3934, allocations: 5.924 MB / 0.5575 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/0.3976, allocations: 419.6 kB / 0.5579 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008372/0.3984, allocations: 426 kB / 0.5583 GB, free: 1.801 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.002018/0.4005, allocations: 0.7207 MB / 0.559 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008673/0.4013, allocations: 445.3 kB / 0.5595 GB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.4044, allocations: 1.754 MB / 0.5612 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.4044, allocations: 20.62 kB / 0.5612 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.4044, allocations: 11.94 kB / 0.5612 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.4044, allocations: 7.969 kB / 0.5612 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.4146, allocations: 5.832 MB / 0.5669 GB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.4146, allocations: 4 kB / 0.5669 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007347/0.4153, allocations: 255.6 kB / 0.5672 GB, free: 8.656 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.4168, allocations: 0.5859 MB / 0.5677 GB, free: 8.066 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.4169, allocations: 31.98 kB / 0.5678 GB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/0.4216, allocations: 5.438 MB / 0.5731 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4216, allocations: 4 kB / 0.5731 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00525/0.4268, allocations: 2.943 MB / 0.576 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.4281, allocations: 409.1 kB / 0.5763 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/0.4286, allocations: 33.06 kB / 0.5764 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.4299, allocations: 143.8 kB / 0.5765 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/0.4302, allocations: 108.7 kB / 0.5766 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.4303, allocations: 48 kB / 0.5767 GB, free: 14.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00325/0.4335, allocations: 1.905 MB / 0.5785 GB, free: 12.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4335, allocations: 0 / 0.5785 GB, free: 12.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005679/0.4392, allocations: 1.284 MB / 0.5798 GB, free: 11.45 MB / 458.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.000439/0.4397, allocations: 176.5 kB / 0.5799 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006694/0.4464, allocations: 3.553 MB / 0.5834 GB, free: 7.707 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.4464, allocations: 4 kB / 0.5834 GB, free: 7.703 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.4478, allocations: 0.9566 MB / 0.5844 GB, free: 6.707 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/0.4509, allocations: 0.5215 MB / 0.5849 GB, free: 6.195 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.4669, allocations: 8.866 MB / 0.5935 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/0.4689, allocations: 1.481 MB / 0.595 GB, free: 11.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002942/0.4719, allocations: 1.743 MB / 0.5967 GB, free: 9.945 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/0.4725, allocations: 264.4 kB / 0.5969 GB, free: 9.688 MB / 474.7 MB Notification: Performance of SimCode: time 2.665e-06/0.4725, allocations: 0 / 0.5969 GB, free: 9.688 MB / 474.7 MB Notification: Performance of Templates: time 0.1964/0.6689, allocations: 36.95 MB / 0.633 GB, free: 121.5 MB / 474.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.788817579858005]