Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.001444/0.001444, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001626/0.001626, allocations: 161.6 kB / 24.27 MB, free: 172 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.472/1.472, allocations: 177.2 MB / 204.6 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] 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.3298/0.3298, allocations: 32.79 MB / 293.9 MB, free: 1.215 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.FrameForces,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.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,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.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.108e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01768/0.01771, allocations: 11.09 MB / 386.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.02973, allocations: 4.294 MB / 390.7 MB, free: 5.523 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.03276, allocations: 99.5 kB / 390.8 MB, free: 5.426 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009324/0.04208, allocations: 3.863 MB / 394.6 MB, free: 1.551 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007364/0.04944, allocations: 2.313 MB / 396.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003047/0.05249, allocations: 1.119 MB / 398 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01071/0.0632, allocations: 6.79 MB / 404.8 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007706/0.0709, allocations: 4.127 MB / 409 MB, free: 3.102 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007379/0.07828, allocations: 2.982 MB / 411.9 MB, free: 116 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005663/0.08394, allocations: 2.888 MB / 414.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.08534, allocations: 424 kB / 415.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004062/0.0894, allocations: 1.396 MB / 416.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004285/0.09369, allocations: 2.618 MB / 419.3 MB, free: 8.777 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004002/0.09769, allocations: 1.593 MB / 420.9 MB, free: 7.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.1119, allocations: 8.777 MB / 429.6 MB, free: 14.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1119, allocations: 4 kB / 429.6 MB, free: 14.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1119, allocations: 4 kB / 429.6 MB, free: 14.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003485/0.1122, allocations: 0 / 429.6 MB, free: 14.37 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01915/0.1314, allocations: 6.17 MB / 435.8 MB, free: 8.133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1314, allocations: 12.03 kB / 435.8 MB, free: 8.121 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.1461, allocations: 3.169 MB / 439 MB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.1562, allocations: 3.679 MB / 442.7 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.1566, allocations: 275.5 kB / 442.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/0.1581, allocations: 388 kB / 443.3 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1845/0.3425, allocations: 11.76 MB / 455.1 MB, free: 93.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.3426, allocations: 55.09 kB / 455.1 MB, free: 93.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004235/0.3431, allocations: 178.1 kB / 455.3 MB, free: 93.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002858/0.3459, allocations: 2.151 MB / 457.5 MB, free: 93.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/0.3616, allocations: 9.703 MB / 467.2 MB, free: 90.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05574/0.4174, allocations: 43.43 MB / 0.4986 GB, free: 58.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/0.4346, allocations: 3.655 MB / 0.5022 GB, free: 56.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004242/0.4388, allocations: 2.085 MB / 0.5042 GB, free: 54.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01739/0.4562, allocations: 6.144 MB / 0.5102 GB, free: 49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.4563, allocations: 51.12 kB / 0.5103 GB, free: 48.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=159): time 8.626e-06/0.4563, allocations: 0 / 0.5103 GB, free: 48.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=171): time 0.06172/0.518, allocations: 17.8 MB / 0.5277 GB, free: 31.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.5181, allocations: 196.9 kB / 0.5278 GB, free: 31.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007582/0.5257, allocations: 4.989 MB / 0.5327 GB, free: 26.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004799/0.5261, allocations: 57.22 kB / 0.5328 GB, free: 26.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/0.5284, allocations: 3.817 MB / 0.5365 GB, free: 22.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.5294, allocations: 0.7011 MB / 0.5372 GB, free: 22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002929/0.5324, allocations: 1.404 MB / 0.5385 GB, free: 20.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.5324, allocations: 309.1 kB / 0.5388 GB, free: 20.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/0.5354, allocations: 2.403 MB / 0.5412 GB, free: 17.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004283/0.5397, allocations: 6.695 MB / 0.5477 GB, free: 9.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009274/0.5489, allocations: 9.692 MB / 0.5572 GB, free: 13.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001886/0.5491, allocations: 44 kB / 0.5572 GB, free: 13.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=904) (initialization): time 0.02232/0.5715, allocations: 10.12 MB / 0.5671 GB, free: 3.113 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.5717, allocations: 68 kB / 0.5672 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003084/0.572, allocations: 152.2 kB / 0.5673 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004705/0.5767, allocations: 1.299 MB / 0.5686 GB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005961/0.5826, allocations: 1.587 MB / 0.5701 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.5961, allocations: 8.283 MB / 0.5782 GB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006418/0.6026, allocations: 447.6 kB / 0.5787 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/0.6041, allocations: 421.9 kB / 0.5791 GB, free: 6.691 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (842): * Single equations (assignments): 835 * 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,13,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006269/0.6104, allocations: 2.465 MB / 0.5815 GB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/0.6121, allocations: 441.3 kB / 0.5819 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008696/0.6208, allocations: 3.542 MB / 0.5853 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-05/0.6209, allocations: 24 kB / 0.5854 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/0.6209, allocations: 8 kB / 0.5854 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.6209, allocations: 11.91 kB / 0.5854 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/0.6418, allocations: 7.47 MB / 0.5927 GB, free: 8.648 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/0.6418, allocations: 4 kB / 0.5927 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.6435, allocations: 323.8 kB / 0.593 GB, free: 8.328 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003639/0.6472, allocations: 1.065 MB / 0.594 GB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.6474, allocations: 35.44 kB / 0.5941 GB, free: 7.227 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1922/0.8396, allocations: 7.628 MB / 0.6015 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.8396, allocations: 6.344 kB / 0.6015 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008107/0.8477, allocations: 6.177 MB / 0.6076 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.8488, allocations: 423.1 kB / 0.608 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004279/0.8493, allocations: 25.31 kB / 0.608 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.8509, allocations: 170.8 kB / 0.6081 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.8512, allocations: 101.2 kB / 0.6082 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.8514, allocations: 49.06 kB / 0.6083 GB, free: 128 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003732/0.8551, allocations: 2.95 MB / 0.6112 GB, free: 127 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.8551, allocations: 0 / 0.6112 GB, free: 127 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00574/0.8608, allocations: 1.299 MB / 0.6124 GB, free: 126.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (129): * Single equations (assignments): 124 * 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.0004694/0.8613, allocations: 176.6 kB / 0.6126 GB, free: 126.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007602/0.8689, allocations: 5.57 MB / 0.618 GB, free: 124.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/0.8689, allocations: 0 / 0.618 GB, free: 124.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.8711, allocations: 1.644 MB / 0.6197 GB, free: 124.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004513/0.8756, allocations: 0.5349 MB / 0.6202 GB, free: 124 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.893, allocations: 11.09 MB / 0.631 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004576/0.8976, allocations: 3.243 MB / 0.6342 GB, free: 118.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004925/0.9025, allocations: 2.051 MB / 0.6362 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008567/0.9033, allocations: 259.7 kB / 0.6364 GB, free: 118.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.573e-06/0.9033, allocations: 0 / 0.6364 GB, free: 118.1 MB / 458.7 MB Notification: Performance of Templates: time 0.06849/0.9718, allocations: 38.5 MB / 0.674 GB, free: 92.2 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.435421556932852]