Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 75.69 kB / 21.7 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 160.4 kB / 24.99 MB, free: 9.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.004/1.004, allocations: 177 MB / 205.2 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3094/0.3094, allocations: 34.87 MB / 296.6 MB, free: 0.5781 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 378.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.203e-05, allocations: 8.922 kB / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01058/0.01061, allocations: 12.2 MB / 391 MB, free: 6.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007717/0.01833, allocations: 4.407 MB / 395.4 MB, free: 1.738 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.01985, allocations: 103.5 kB / 395.5 MB, free: 1.637 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003994/0.02384, allocations: 3.976 MB / 399.4 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.02778, allocations: 2.329 MB / 401.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.02925, allocations: 1.119 MB / 402.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006134/0.03538, allocations: 6.784 MB / 409.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004685/0.04007, allocations: 4.146 MB / 413.8 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005239/0.04531, allocations: 2.997 MB / 416.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004036/0.04934, allocations: 2.958 MB / 419.8 MB, free: 9.203 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009331/0.05028, allocations: 416 kB / 420.2 MB, free: 8.797 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.05261, allocations: 1.396 MB / 421.6 MB, free: 7.398 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002301/0.05491, allocations: 2.626 MB / 424.2 MB, free: 4.766 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.05743, allocations: 1.597 MB / 425.8 MB, free: 3.164 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006679/0.06411, allocations: 5.672 MB / 431.5 MB, free: 13.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.06411, allocations: 0 / 431.5 MB, free: 13.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.06412, allocations: 4 kB / 431.5 MB, free: 13.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001658/0.06428, allocations: 0 / 431.5 MB, free: 13.46 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.008553/0.07283, allocations: 6.553 MB / 438 MB, free: 6.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.07288, allocations: 12.03 kB / 438 MB, free: 6.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006837/0.07971, allocations: 3.098 MB / 441.1 MB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005739/0.08545, allocations: 3.291 MB / 444.4 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.08569, allocations: 283.5 kB / 444.7 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1727/0.2584, allocations: 372.8 kB / 445.1 MB, free: 98.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/0.2712, allocations: 7.261 MB / 452.3 MB, free: 95.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/0.2714, allocations: 68.44 kB / 452.4 MB, free: 95.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005095/0.2719, allocations: 179.9 kB / 452.6 MB, free: 95.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002054/0.2739, allocations: 2.139 MB / 454.7 MB, free: 94.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.284, allocations: 3.878 MB / 458.6 MB, free: 94.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03425/0.3182, allocations: 51.11 MB / 0.4978 GB, free: 51.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005802/0.324, allocations: 2.102 MB / 0.4998 GB, free: 51.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.3253, allocations: 0.6757 MB / 0.5005 GB, free: 51.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007855/0.3332, allocations: 4.439 MB / 0.5048 GB, free: 49.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.3332, allocations: 63.38 kB / 0.5049 GB, free: 49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=154): time 6.863e-06/0.3332, allocations: 0 / 0.5049 GB, free: 49 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.03295/0.3662, allocations: 12.49 MB / 0.5171 GB, free: 42.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.3662, allocations: 200.9 kB / 0.5173 GB, free: 42.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004901/0.3711, allocations: 4.374 MB / 0.5215 GB, free: 38.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.3713, allocations: 49.7 kB / 0.5216 GB, free: 38.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.3731, allocations: 4.048 MB / 0.5255 GB, free: 34.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006323/0.3738, allocations: 0.7175 MB / 0.5262 GB, free: 34.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.3752, allocations: 1.531 MB / 0.5277 GB, free: 32.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.3752, allocations: 476.8 kB / 0.5282 GB, free: 32.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.3766, allocations: 0.7395 MB / 0.5289 GB, free: 31.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003147/0.3797, allocations: 7.112 MB / 0.5358 GB, free: 21.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006428/0.3862, allocations: 8.58 MB / 0.5442 GB, free: 9.875 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000176/0.3863, allocations: 40 kB / 0.5443 GB, free: 9.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01619/0.4025, allocations: 6.511 MB / 0.5506 GB, free: 3.312 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.4026, allocations: 76.03 kB / 0.5507 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/0.4028, allocations: 148 kB / 0.5508 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002839/0.4057, allocations: 0.7943 MB / 0.5516 GB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003927/0.4096, allocations: 1.571 MB / 0.5531 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/0.4144, allocations: 5.858 MB / 0.5589 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/0.4179, allocations: 419.5 kB / 0.5593 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005244/0.4184, allocations: 428 kB / 0.5597 GB, free: 9.805 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 (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 {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001542/0.4199, allocations: 0.7246 MB / 0.5604 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/0.4206, allocations: 449.2 kB / 0.5608 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/0.4233, allocations: 1.764 MB / 0.5625 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.4234, allocations: 20 kB / 0.5625 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.4234, allocations: 4 kB / 0.5626 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.4234, allocations: 15.91 kB / 0.5626 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009416/0.4328, allocations: 5.756 MB / 0.5682 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.4328, allocations: 4 kB / 0.5682 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.4337, allocations: 295.5 kB / 0.5685 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.4352, allocations: 0.5806 MB / 0.569 GB, free: 52 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.4354, allocations: 32 kB / 0.5691 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004603/0.44, allocations: 5.313 MB / 0.5743 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.44, allocations: 7.938 kB / 0.5743 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/0.4445, allocations: 2.852 MB / 0.5771 GB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.4457, allocations: 409.1 kB / 0.5774 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/0.4461, allocations: 31.98 kB / 0.5775 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009863/0.4471, allocations: 147.8 kB / 0.5776 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.4473, allocations: 108.7 kB / 0.5777 GB, free: 6.852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/0.4474, allocations: 40 kB / 0.5778 GB, free: 6.812 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002778/0.4502, allocations: 1.904 MB / 0.5796 GB, free: 4.906 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4502, allocations: 0 / 0.5796 GB, free: 4.906 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006018/0.4562, allocations: 1.289 MB / 0.5809 GB, free: 3.617 MB / 442.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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004356/0.4567, allocations: 174.9 kB / 0.581 GB, free: 3.438 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00521/0.4619, allocations: 3.541 MB / 0.5845 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4619, allocations: 256 / 0.5845 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.4631, allocations: 0.9579 MB / 0.5854 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/0.4656, allocations: 0.5341 MB / 0.586 GB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.4822, allocations: 8.84 MB / 0.5946 GB, free: 5.402 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/0.4843, allocations: 1.473 MB / 0.596 GB, free: 3.898 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003353/0.4877, allocations: 1.752 MB / 0.5977 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007791/0.4884, allocations: 264.4 kB / 0.598 GB, free: 1.883 MB / 458.7 MB Notification: Performance of SimCode: time 3.346e-06/0.4884, allocations: 0 / 0.598 GB, free: 1.883 MB / 458.7 MB Notification: Performance of Templates: time 0.2178/0.7063, allocations: 37.75 MB / 0.6349 GB, free: 119.6 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.800633687060326]