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.002008/0.002008, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002109/0.002109, allocations: 165.6 kB / 24.27 MB, free: 152 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.566/1.566, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3475/0.3475, allocations: 32.8 MB / 293.9 MB, free: 1.188 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 1.713e-06/1.713e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.98e-05, allocations: 6.25 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01789/0.01792, allocations: 12.17 MB / 387.4 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.02859, allocations: 4.407 MB / 391.9 MB, free: 4.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.03086, allocations: 103.5 kB / 392 MB, free: 4.219 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009065/0.03992, allocations: 3.98 MB / 395.9 MB, free: 232 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006587/0.04651, allocations: 2.313 MB / 398.2 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.04927, allocations: 1.13 MB / 399.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.06017, allocations: 6.786 MB / 406.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00641/0.06658, allocations: 4.135 MB / 410.3 MB, free: 1.766 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005204/0.07179, allocations: 3.001 MB / 413.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005057/0.07684, allocations: 2.954 MB / 416.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.07799, allocations: 420 kB / 416.7 MB, free: 11.39 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/0.08083, allocations: 1.392 MB / 418.1 MB, free: 9.992 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003083/0.08392, allocations: 2.634 MB / 420.7 MB, free: 7.352 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.08671, allocations: 1.593 MB / 422.3 MB, free: 5.754 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.09901, allocations: 8.758 MB / 431 MB, free: 12.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.09901, allocations: 0 / 431 MB, free: 12.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.09902, allocations: 0 / 431 MB, free: 12.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002383/0.09925, allocations: 0 / 431 MB, free: 12.97 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.0176/0.1169, allocations: 7.112 MB / 438.2 MB, free: 5.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1169, allocations: 12.03 kB / 438.2 MB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.1314, allocations: 3.098 MB / 441.3 MB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1662/0.2976, allocations: 3.34 MB / 444.6 MB, free: 97.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.2979, allocations: 280.3 kB / 444.9 MB, free: 97.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.299, allocations: 375 kB / 445.2 MB, free: 97.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/0.3135, allocations: 7.768 MB / 453 MB, free: 93.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.3136, allocations: 51.86 kB / 453.1 MB, free: 93.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004472/0.3141, allocations: 181.3 kB / 453.2 MB, free: 93.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003051/0.3171, allocations: 2.143 MB / 455.4 MB, free: 93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.3299, allocations: 4.161 MB / 459.5 MB, free: 92.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05207/0.382, allocations: 55.51 MB / 0.503 GB, free: 48.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008341/0.3904, allocations: 2.212 MB / 0.5051 GB, free: 47.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.3918, allocations: 0.7146 MB / 0.5058 GB, free: 47.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009056/0.4009, allocations: 4.513 MB / 0.5102 GB, free: 45.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.4009, allocations: 62.44 kB / 0.5103 GB, free: 44.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=154): time 4.338e-06/0.4009, allocations: 0 / 0.5103 GB, free: 44.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.03998/0.4409, allocations: 12.72 MB / 0.5227 GB, free: 35.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.441, allocations: 196.9 kB / 0.5229 GB, free: 34.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006761/0.4477, allocations: 5.463 MB / 0.5282 GB, free: 29.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003551/0.4481, allocations: 53.7 kB / 0.5283 GB, free: 29.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002029/0.4501, allocations: 4.298 MB / 0.5325 GB, free: 25.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008313/0.4509, allocations: 0.7722 MB / 0.5332 GB, free: 24.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001958/0.4529, allocations: 1.8 MB / 0.535 GB, free: 22.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.453, allocations: 476.8 kB / 0.5355 GB, free: 22.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.4545, allocations: 0.8254 MB / 0.5363 GB, free: 21.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003462/0.458, allocations: 7.417 MB / 0.5435 GB, free: 11.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006885/0.4649, allocations: 8.998 MB / 0.5523 GB, free: 15.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002015/0.4651, allocations: 44 kB / 0.5523 GB, free: 15.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01725/0.4823, allocations: 6.694 MB / 0.5589 GB, free: 8.664 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.4825, allocations: 69.09 kB / 0.5589 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002717/0.4828, allocations: 163.9 kB / 0.5591 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/0.4863, allocations: 0.8076 MB / 0.5599 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005598/0.4919, allocations: 1.567 MB / 0.5614 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009497/0.5014, allocations: 6.061 MB / 0.5673 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/0.5068, allocations: 427.5 kB / 0.5677 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/0.5081, allocations: 427.9 kB / 0.5682 GB, free: 14.91 MB / 442.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.003639/0.5118, allocations: 0.8261 MB / 0.569 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/0.5131, allocations: 453.1 kB / 0.5694 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005753/0.5188, allocations: 1.834 MB / 0.5712 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-05/0.5189, allocations: 23.94 kB / 0.5712 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.5189, allocations: 4 kB / 0.5712 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.5189, allocations: 11.97 kB / 0.5712 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/0.5385, allocations: 6.947 MB / 0.578 GB, free: 4.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/0.5386, allocations: 4 kB / 0.578 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.5402, allocations: 303.5 kB / 0.5783 GB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003077/0.5433, allocations: 0.6066 MB / 0.5789 GB, free: 3.766 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/0.5435, allocations: 28 kB / 0.5789 GB, free: 3.738 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008444/0.552, allocations: 5.496 MB / 0.5843 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.552, allocations: 4.109 kB / 0.5843 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007671/0.5596, allocations: 3.066 MB / 0.5873 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.5612, allocations: 401.1 kB / 0.5877 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008424/0.5621, allocations: 35.94 kB / 0.5877 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/0.5643, allocations: 147.8 kB / 0.5878 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.5647, allocations: 104.7 kB / 0.5879 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.5648, allocations: 44 kB / 0.588 GB, free: 10.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005123/0.57, allocations: 2.264 MB / 0.5902 GB, free: 7.879 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.57, allocations: 0 / 0.5902 GB, free: 7.879 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006917/0.5769, allocations: 1.285 MB / 0.5914 GB, free: 6.594 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 (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.0006194/0.5775, allocations: 186.8 kB / 0.5916 GB, free: 6.398 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009432/0.5869, allocations: 3.909 MB / 0.5954 GB, free: 2.484 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.5869, allocations: 0 / 0.5954 GB, free: 2.484 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.5889, allocations: 1.035 MB / 0.5965 GB, free: 1.406 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/0.5927, allocations: 0.5247 MB / 0.597 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1718/0.7646, allocations: 8.921 MB / 0.6057 GB, free: 119.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/0.7678, allocations: 2.953 MB / 0.6086 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003751/0.7715, allocations: 1.754 MB / 0.6103 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007995/0.7723, allocations: 271 kB / 0.6105 GB, free: 119 MB / 458.7 MB Notification: Performance of SimCode: time 1.894e-06/0.7723, allocations: 0 / 0.6105 GB, free: 119 MB / 458.7 MB Notification: Performance of Templates: time 0.07115/0.8435, allocations: 37.7 MB / 0.6473 GB, free: 108.5 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] 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.381192810018547]