Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001425/0.001425, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001619/0.001619, allocations: 212.1 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.26 MB / 330.3 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 63.91 kB / 468.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1454, allocations: 61.04 MB / 0.5167 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.0159/0.1613, allocations: 11.99 MB / 0.5284 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.1724, allocations: 4.408 MB / 0.5327 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.1751, allocations: 103.5 kB / 0.5328 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008441/0.1835, allocations: 3.664 MB / 0.5364 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3101/0.4936, allocations: 2.447 MB / 0.5388 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.4969, allocations: 0.9938 MB / 0.5398 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.5075, allocations: 5.913 MB / 0.5455 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00685/0.5143, allocations: 3.642 MB / 0.5491 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006084/0.5204, allocations: 2.119 MB / 0.5512 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007421/0.5278, allocations: 2.885 MB / 0.554 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002113/0.5299, allocations: 444 kB / 0.5544 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00461/0.5345, allocations: 1.369 MB / 0.5557 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004323/0.5389, allocations: 2.69 MB / 0.5584 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004741/0.5436, allocations: 2.193 MB / 0.5605 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.5577, allocations: 9.448 MB / 0.5697 GB, free: 2.836 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.5577, allocations: 3.984 kB / 0.5697 GB, free: 2.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5577, allocations: 0 / 0.5697 GB, free: 2.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004359/0.5582, allocations: 1.188 kB / 0.5697 GB, free: 2.832 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02289/0.5811, allocations: 6.483 MB / 0.5761 GB, free: 14.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.5811, allocations: 11.72 kB / 0.5761 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.5953, allocations: 2.676 MB / 0.5787 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.6087, allocations: 3.96 MB / 0.5826 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/0.6091, allocations: 302.9 kB / 0.5829 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002216/0.6113, allocations: 405.3 kB / 0.5832 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0332/0.6445, allocations: 12.67 MB / 0.5956 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/0.6447, allocations: 54.25 kB / 0.5957 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006571/0.6454, allocations: 190.9 kB / 0.5958 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004618/0.65, allocations: 2.412 MB / 0.5982 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0262/0.6762, allocations: 10.51 MB / 0.6085 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07595/0.7521, allocations: 45.45 MB / 0.6528 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.7648, allocations: 4.167 MB / 0.6569 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00398/0.7688, allocations: 2.241 MB / 0.6591 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01465/0.7835, allocations: 6.229 MB / 0.6652 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.7835, allocations: 59.8 kB / 0.6652 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.28e-06/0.7835, allocations: 0 / 0.6652 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.05602/0.8395, allocations: 18.07 MB / 0.6829 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000248/0.8398, allocations: 205.2 kB / 0.6831 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01233/0.8521, allocations: 5.021 MB / 0.688 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007926/0.8529, allocations: 53.53 kB / 0.688 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004279/0.8572, allocations: 4.127 MB / 0.6921 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.8587, allocations: 0.7983 MB / 0.6929 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002573/0.8613, allocations: 1.524 MB / 0.6943 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8614, allocations: 305.1 kB / 0.6946 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004373/0.8658, allocations: 2.603 MB / 0.6972 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009332/0.8752, allocations: 7.091 MB / 0.7041 GB, free: 13.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/0.8906, allocations: 10.33 MB / 0.7142 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001557/0.8908, allocations: 44 kB / 0.7142 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02195/0.9127, allocations: 10.34 MB / 0.7243 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.9128, allocations: 72 kB / 0.7244 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/0.913, allocations: 158.2 kB / 0.7246 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/0.9164, allocations: 1.223 MB / 0.7257 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005781/0.9221, allocations: 1.7 MB / 0.7274 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.9342, allocations: 8.021 MB / 0.7352 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00669/0.9409, allocations: 419.3 kB / 0.7356 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/0.942, allocations: 444 kB / 0.7361 GB, free: 10.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (904): * Single equations (assignments): 897 * 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%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005473/0.9475, allocations: 2.624 MB / 0.7386 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.9486, allocations: 427.1 kB / 0.739 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007762/0.9563, allocations: 3.892 MB / 0.7428 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/0.9563, allocations: 20 kB / 0.7429 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.9564, allocations: 4 kB / 0.7429 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.9564, allocations: 11.97 kB / 0.7429 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.974, allocations: 7.956 MB / 0.7506 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.974, allocations: 4 kB / 0.7506 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/0.9759, allocations: 367.7 kB / 0.751 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/0.9787, allocations: 0.9866 MB / 0.752 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.9789, allocations: 36 kB / 0.752 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.989, allocations: 7.375 MB / 0.7592 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.9891, allocations: 4 kB / 0.7592 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3455/1.335, allocations: 6.662 MB / 0.7657 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003512/1.338, allocations: 0.6685 MB / 0.7664 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009258/1.339, allocations: 35.08 kB / 0.7664 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.341, allocations: 115.2 kB / 0.7665 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003959/1.341, allocations: 122.9 kB / 0.7666 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.341, allocations: 56.02 kB / 0.7667 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007059/1.348, allocations: 2.946 MB / 0.7695 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.348, allocations: 0 / 0.7695 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01144/1.36, allocations: 1.25 MB / 0.7708 GB, free: 190.1 MB / 0.5919 GB 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 (154): * Single equations (assignments): 149 * 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.000704/1.361, allocations: 171.9 kB / 0.7709 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01344/1.374, allocations: 5.982 MB / 0.7768 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/1.374, allocations: 1 kB / 0.7768 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003619/1.378, allocations: 1.765 MB / 0.7785 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/1.382, allocations: 0.5136 MB / 0.779 GB, free: 187 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/1.408, allocations: 11.91 MB / 0.7906 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006205/1.415, allocations: 3.52 MB / 0.7941 GB, free: 181 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005678/1.42, allocations: 2.185 MB / 0.7962 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.421, allocations: 277.7 kB / 0.7965 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/1.421, allocations: 3.938 kB / 0.7965 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.08216/1.503, allocations: 43.96 MB / 0.8394 GB, free: 143.7 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.149812787771225]