Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001063/0.001063, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001258/0.001258, allocations: 172 kB / 24.82 MB, free: 8.77 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.3393/0.3393, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 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.FrameForces,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.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.1.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.611e-05/3.813e-05, allocations: 5.828 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01677/0.01681, allocations: 11.95 MB / 390.5 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.029, allocations: 4.384 MB / 394.8 MB, free: 1.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003495/0.03249, allocations: 99.5 kB / 394.9 MB, free: 1.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.03797, allocations: 3.929 MB / 398.9 MB, free: 13.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005844/0.04381, allocations: 2.337 MB / 401.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.04572, allocations: 1.119 MB / 402.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007722/0.05345, allocations: 6.797 MB / 409.1 MB, free: 3.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004749/0.05819, allocations: 4.146 MB / 413.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004744/0.06294, allocations: 3.988 MB / 417.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003195/0.06613, allocations: 2.915 MB / 420.2 MB, free: 8.527 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005045/0.06664, allocations: 416 kB / 420.6 MB, free: 8.121 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.06864, allocations: 1.4 MB / 422 MB, free: 6.719 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.07027, allocations: 2.618 MB / 424.6 MB, free: 4.094 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.07151, allocations: 1.589 MB / 426.2 MB, free: 2.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004577/0.07609, allocations: 5.683 MB / 431.9 MB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.07609, allocations: 0 / 431.9 MB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.0761, allocations: 0 / 431.9 MB, free: 12.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4e-05/0.07614, allocations: 0 / 431.9 MB, free: 12.79 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.006699/0.08284, allocations: 6.303 MB / 438.2 MB, free: 6.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.08289, allocations: 12.03 kB / 438.2 MB, free: 6.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/0.08784, allocations: 2.108 MB / 440.3 MB, free: 4.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.09114, allocations: 2.776 MB / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.09128, allocations: 279.5 kB / 443.3 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004079/0.09169, allocations: 380.1 kB / 443.7 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2302/0.3219, allocations: 6.486 MB / 450.2 MB, free: 88.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.322, allocations: 50.92 kB / 450.2 MB, free: 88.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/0.3224, allocations: 180.7 kB / 450.4 MB, free: 88.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001818/0.3242, allocations: 1.891 MB / 452.3 MB, free: 88.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006457/0.3307, allocations: 2.797 MB / 455.1 MB, free: 88.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03141/0.3621, allocations: 51.15 MB / 0.4944 GB, free: 47.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004868/0.3669, allocations: 1.707 MB / 0.4961 GB, free: 47.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.3675, allocations: 455 kB / 0.4965 GB, free: 47.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006812/0.3743, allocations: 4.05 MB / 0.5005 GB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.3744, allocations: 55.16 kB / 0.5005 GB, free: 45.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.707e-06/0.3744, allocations: 3.969 kB / 0.5005 GB, free: 45.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01457/0.3889, allocations: 4.62 MB / 0.505 GB, free: 44.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.389, allocations: 192.8 kB / 0.5052 GB, free: 43.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004946/0.394, allocations: 4.521 MB / 0.5096 GB, free: 42.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.394, allocations: 47.28 kB / 0.5097 GB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00202/0.396, allocations: 4.204 MB / 0.5138 GB, free: 38.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.3964, allocations: 0.5954 MB / 0.5144 GB, free: 38.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.3976, allocations: 1.57 MB / 0.5159 GB, free: 37.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.3977, allocations: 484.6 kB / 0.5163 GB, free: 36.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009319/0.3986, allocations: 0.5687 MB / 0.5169 GB, free: 36.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/0.4022, allocations: 7.4 MB / 0.5241 GB, free: 27.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005734/0.408, allocations: 8.682 MB / 0.5326 GB, free: 17.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.485e-05/0.408, allocations: 52 kB / 0.5327 GB, free: 17.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.006061/0.4141, allocations: 5.535 MB / 0.5381 GB, free: 11.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.4142, allocations: 72 kB / 0.5381 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002056/0.4144, allocations: 167.9 kB / 0.5383 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.415, allocations: 286.4 kB / 0.5386 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/0.4181, allocations: 1.573 MB / 0.5401 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.4204, allocations: 3.768 MB / 0.5438 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00748/0.4279, allocations: 323.9 kB / 0.5441 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009514/0.4288, allocations: 382.1 kB / 0.5445 GB, free: 5.449 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * 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 (872): * Single equations (assignments): 865 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002256/0.4311, allocations: 0.745 MB / 0.5452 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/0.4323, allocations: 433.3 kB / 0.5456 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4334, allocations: 0.7594 MB / 0.5463 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.4334, allocations: 16 kB / 0.5463 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4334, allocations: 0 / 0.5463 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4334, allocations: 7.219 kB / 0.5464 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008782/0.4422, allocations: 4.64 MB / 0.5509 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.4422, allocations: 8 kB / 0.5509 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.4428, allocations: 194.1 kB / 0.5511 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.4431, allocations: 83.14 kB / 0.5512 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.4432, allocations: 28 kB / 0.5512 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.4454, allocations: 3.483 MB / 0.5546 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.4454, allocations: 11.94 kB / 0.5546 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.4484, allocations: 1.909 MB / 0.5565 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.4495, allocations: 397.3 kB / 0.5568 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/0.4498, allocations: 25.12 kB / 0.5569 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.4505, allocations: 29.11 kB / 0.5569 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.4507, allocations: 96.55 kB / 0.557 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/0.4507, allocations: 42.08 kB / 0.557 GB, free: 9.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002706/0.4535, allocations: 1.822 MB / 0.5588 GB, free: 7.363 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4535, allocations: 0 / 0.5588 GB, free: 7.363 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006528/0.46, allocations: 1.113 MB / 0.5599 GB, free: 6.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 99 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005098/0.4605, allocations: 178.8 kB / 0.5601 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006153/0.4666, allocations: 3.06 MB / 0.5631 GB, free: 3.008 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.4667, allocations: 3.938 kB / 0.5631 GB, free: 3.004 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008044/0.4675, allocations: 0.6704 MB / 0.5637 GB, free: 2.293 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.4705, allocations: 0.5117 MB / 0.5642 GB, free: 1.797 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.4893, allocations: 8.638 MB / 0.5726 GB, free: 8.965 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/0.4912, allocations: 1.448 MB / 0.5741 GB, free: 7.488 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00239/0.4936, allocations: 0.57 MB / 0.5746 GB, free: 6.918 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.4948, allocations: 0.666 MB / 0.5753 GB, free: 6.25 MB / 442.7 MB Notification: Performance of SimCode: time 8.657e-06/0.4948, allocations: 0 / 0.5753 GB, free: 6.25 MB / 442.7 MB Notification: Performance of Templates: time 0.06626/0.561, allocations: 30.88 MB / 0.6054 GB, free: 7.723 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.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.842489537782967]