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.002015/0.002015, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.00165/0.00165, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.229/0.229, allocations: 46.93 MB / 360.8 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002061/0.002061, allocations: 64.14 kB / 0.4967 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.347, allocations: 66.03 MB / 0.5611 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.016/0.363, allocations: 12.77 MB / 0.5736 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.3743, allocations: 4.548 MB / 0.578 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.3765, allocations: 99.5 kB / 0.5781 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007219/0.3837, allocations: 3.773 MB / 0.5818 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.3898, allocations: 2.241 MB / 0.584 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.3924, allocations: 1.002 MB / 0.585 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009338/0.4017, allocations: 6.058 MB / 0.5909 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00571/0.4074, allocations: 3.521 MB / 0.5943 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.4112, allocations: 1.986 MB / 0.5963 GB, free: 372 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005148/0.4164, allocations: 2.831 MB / 0.599 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001442/0.4178, allocations: 408 kB / 0.5994 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003798/0.4216, allocations: 1.482 MB / 0.6009 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003928/0.4255, allocations: 2.489 MB / 0.6033 GB, free: 9.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005825/0.4314, allocations: 2.715 MB / 0.606 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.444, allocations: 8.657 MB / 0.6144 GB, free: 13.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.444, allocations: 0 / 0.6144 GB, free: 13.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.444, allocations: 4 kB / 0.6144 GB, free: 13.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002445/0.4443, allocations: 0 / 0.6144 GB, free: 13.71 MB / 462.1 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.01501/0.4593, allocations: 6.084 MB / 0.6204 GB, free: 7.566 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.247e-05/0.4593, allocations: 19.95 kB / 0.6204 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.4713, allocations: 2.571 MB / 0.6229 GB, free: 4.969 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.482, allocations: 3.668 MB / 0.6265 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/0.4824, allocations: 275.5 kB / 0.6267 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001443/0.4838, allocations: 379.7 kB / 0.6271 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02469/0.5085, allocations: 11.61 MB / 0.6384 GB, free: 4.145 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002749/0.5088, allocations: 63.52 kB / 0.6385 GB, free: 4.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001442/0.5102, allocations: 175.8 kB / 0.6387 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004236/0.5145, allocations: 2.151 MB / 0.6408 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/0.5383, allocations: 9.633 MB / 0.6502 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07395/0.6122, allocations: 45.67 MB / 0.6948 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.6229, allocations: 3.344 MB / 0.698 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/0.6263, allocations: 1.99 MB / 0.7 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/0.6396, allocations: 5.637 MB / 0.7055 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.6397, allocations: 59.97 kB / 0.7055 GB, free: 14.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 6.101e-06/0.6398, allocations: 0 / 0.7055 GB, free: 14.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.05455/0.6943, allocations: 17.37 MB / 0.7225 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001985/0.6945, allocations: 226.2 kB / 0.7227 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01216/0.7067, allocations: 5.632 MB / 0.7282 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004621/0.7071, allocations: 53.69 kB / 0.7283 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004698/0.7118, allocations: 3.849 MB / 0.732 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/0.7132, allocations: 0.6825 MB / 0.7327 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003376/0.7166, allocations: 1.42 MB / 0.7341 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.7168, allocations: 313.1 kB / 0.7344 GB, free: 296 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3327/1.049, allocations: 2.283 MB / 0.7366 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/1.055, allocations: 6.555 MB / 0.743 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007757/1.062, allocations: 9.512 MB / 0.7523 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-05/1.062, allocations: 46.81 kB / 0.7524 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01343/1.076, allocations: 9.589 MB / 0.7617 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/1.076, allocations: 72 kB / 0.7618 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/1.076, allocations: 148 kB / 0.7619 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/1.079, allocations: 1.226 MB / 0.7631 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003959/1.083, allocations: 1.559 MB / 0.7646 GB, free: 133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007928/1.091, allocations: 8.268 MB / 0.7727 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005039/1.096, allocations: 363 kB / 0.7731 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006495/1.096, allocations: 420 kB / 0.7735 GB, free: 124.6 MB / 0.5606 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.003187/1.1, allocations: 2.468 MB / 0.7759 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006471/1.1, allocations: 478.7 kB / 0.7763 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005146/1.105, allocations: 3.378 MB / 0.7796 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/1.105, allocations: 20 kB / 0.7797 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.105, allocations: 4 kB / 0.7797 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/1.105, allocations: 12.34 kB / 0.7797 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/1.117, allocations: 8.164 MB / 0.7876 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/1.117, allocations: 4 kB / 0.7876 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.118, allocations: 251.6 kB / 0.7879 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/1.12, allocations: 1.005 MB / 0.7889 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.121, allocations: 32 kB / 0.7889 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007048/1.128, allocations: 7.597 MB / 0.7963 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.128, allocations: 4.859 kB / 0.7963 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007074/1.135, allocations: 5.866 MB / 0.802 GB, free: 95.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/1.136, allocations: 479.7 kB / 0.8025 GB, free: 95.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000512/1.137, allocations: 27.94 kB / 0.8025 GB, free: 95.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.138, allocations: 91.88 kB / 0.8026 GB, free: 95.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/1.139, allocations: 112.7 kB / 0.8027 GB, free: 94.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.139, allocations: 47.94 kB / 0.8028 GB, free: 94.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004819/1.144, allocations: 3.588 MB / 0.8063 GB, free: 91.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.144, allocations: 0 / 0.8063 GB, free: 91.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005497/1.149, allocations: 1.151 MB / 0.8074 GB, free: 90.18 MB / 0.5606 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.0004453/1.15, allocations: 161.8 kB / 0.8076 GB, free: 90.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007019/1.157, allocations: 5.33 MB / 0.8128 GB, free: 84.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.157, allocations: 4 kB / 0.8128 GB, free: 84.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/1.158, allocations: 1.535 MB / 0.8143 GB, free: 83.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/1.162, allocations: 0.5902 MB / 0.8148 GB, free: 82.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.182, allocations: 11.01 MB / 0.8256 GB, free: 71.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006328/1.188, allocations: 3.768 MB / 0.8293 GB, free: 67.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004963/1.193, allocations: 2.112 MB / 0.8313 GB, free: 65.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.194, allocations: 291.4 kB / 0.8316 GB, free: 65.29 MB / 0.5606 GB Notification: Performance of SimCode: time 1.693e-06/1.194, allocations: 0 / 0.8316 GB, free: 65.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.07946/1.274, allocations: 45.54 MB / 0.8761 GB, free: 20.1 MB / 0.5606 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: 7.9342320561409]