Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.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.001873/0.001873, allocations: 110.3 kB / 21.17 MB, free: 0.7812 MB / 14.72 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.002338/0.002338, allocations: 209.4 kB / 24.46 MB, free: 4.359 MB / 14.72 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.553/1.553, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.247/0.247, allocations: 46.89 MB / 361.1 MB, free: 4.648 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 79.81 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.354, allocations: 65.98 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02174/0.3757, allocations: 18.26 MB / 0.579 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01324/0.389, allocations: 5.327 MB / 0.5842 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/0.3929, allocations: 107.7 kB / 0.5843 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007097/0.4, allocations: 3.114 MB / 0.5874 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008228/0.4082, allocations: 2.603 MB / 0.5899 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.411, allocations: 1.026 MB / 0.5909 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.4224, allocations: 7.664 MB / 0.5984 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005759/0.4281, allocations: 3.277 MB / 0.6016 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004667/0.4328, allocations: 2.262 MB / 0.6038 GB, free: 9.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00598/0.4388, allocations: 3.52 MB / 0.6073 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.4404, allocations: 452 kB / 0.6077 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003597/0.444, allocations: 1.33 MB / 0.609 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0039/0.4479, allocations: 2.867 MB / 0.6118 GB, free: 1.035 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005951/0.4539, allocations: 3.177 MB / 0.6149 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.4684, allocations: 9.994 MB / 0.6246 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4684, allocations: 0 / 0.6246 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4684, allocations: 0 / 0.6246 GB, free: 3.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003972/0.4688, allocations: 0 / 0.6246 GB, free: 3.805 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02039/0.4892, allocations: 7.385 MB / 0.6319 GB, free: 12.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4892, allocations: 8.031 kB / 0.6319 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.5067, allocations: 3.873 MB / 0.6356 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.5173, allocations: 4.027 MB / 0.6396 GB, free: 4.348 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.5176, allocations: 320.4 kB / 0.6399 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001768/0.5194, allocations: 435.8 kB / 0.6403 GB, free: 3.605 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0316/0.551, allocations: 15.59 MB / 0.6555 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002232/0.5512, allocations: 55.59 kB / 0.6556 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007624/0.5519, allocations: 199.7 kB / 0.6558 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00689/0.5588, allocations: 3.388 MB / 0.6591 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03266/0.5915, allocations: 14.82 MB / 0.6735 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1022/0.6937, allocations: 55.07 MB / 0.7273 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02028/0.714, allocations: 7.877 MB / 0.735 GB, free: 448 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3055/1.019, allocations: 4.464 MB / 0.7394 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00181/1.021, allocations: 2.211 MB / 0.7415 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/1.021, allocations: 72.36 kB / 0.7416 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 7.785e-06/1.021, allocations: 0 / 0.7416 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.09698/1.118, allocations: 40.22 MB / 0.7809 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/1.118, allocations: 119.8 kB / 0.781 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/1.123, allocations: 4.294 MB / 0.7852 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008704/1.124, allocations: 85.7 kB / 0.7853 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/1.126, allocations: 3.932 MB / 0.7891 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001314/1.127, allocations: 1.562 MB / 0.7906 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00184/1.129, allocations: 1.584 MB / 0.7922 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.043e-05/1.129, allocations: 301.1 kB / 0.7925 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004828/1.134, allocations: 4.072 MB / 0.7965 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005902/1.139, allocations: 7.844 MB / 0.8041 GB, free: 98.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.151, allocations: 12.89 MB / 0.8167 GB, free: 83.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.861e-05/1.151, allocations: 36 kB / 0.8167 GB, free: 83.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02276/1.174, allocations: 14.72 MB / 0.8311 GB, free: 68.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.448e-05/1.174, allocations: 62.03 kB / 0.8312 GB, free: 68.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-05/1.174, allocations: 128 kB / 0.8313 GB, free: 68.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007289/1.181, allocations: 2.928 MB / 0.8342 GB, free: 65.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006127/1.187, allocations: 1.81 MB / 0.8359 GB, free: 64.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/1.205, allocations: 15.96 MB / 0.8515 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006415/1.211, allocations: 0.4958 MB / 0.852 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/1.212, allocations: 435.9 kB / 0.8524 GB, free: 46.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (942): * Single equations (assignments): 934 * Array equations: 6 * 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 {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004819/1.217, allocations: 2.866 MB / 0.8552 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.218, allocations: 480.8 kB / 0.8557 GB, free: 43.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/1.235, allocations: 10.89 MB / 0.8663 GB, free: 32.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.88e-05/1.235, allocations: 67.42 kB / 0.8664 GB, free: 32.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.235, allocations: 15.94 kB / 0.8664 GB, free: 32.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.033e-05/1.235, allocations: 23.92 kB / 0.8664 GB, free: 32.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03424/1.269, allocations: 21.54 MB / 0.8874 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.269, allocations: 8 kB / 0.8874 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003175/1.272, allocations: 0.6834 MB / 0.8881 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007394/1.28, allocations: 2.744 MB / 0.8908 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007287/1.28, allocations: 79.98 kB / 0.8909 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/1.299, allocations: 14.55 MB / 0.9051 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/1.299, allocations: 15.94 kB / 0.9051 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0277/1.327, allocations: 15.56 MB / 0.9203 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.328, allocations: 0.5174 MB / 0.9208 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007717/1.329, allocations: 76 kB / 0.9209 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/1.331, allocations: 314.7 kB / 0.9212 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007265/1.332, allocations: 265.9 kB / 0.9214 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003081/1.332, allocations: 119.9 kB / 0.9215 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004175/1.337, allocations: 2.681 MB / 0.9242 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.337, allocations: 0 / 0.9242 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005861/1.343, allocations: 1.663 MB / 0.9258 GB, free: 2.926 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * 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,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006252/1.343, allocations: 232.9 kB / 0.926 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01695/1.36, allocations: 9.647 MB / 0.9354 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.65e-05/1.36, allocations: 4 kB / 0.9354 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007152/1.367, allocations: 4.066 MB / 0.9394 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/1.371, allocations: 0.7162 MB / 0.9401 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02911/1.401, allocations: 16.02 MB / 0.9557 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006059/1.407, allocations: 4.548 MB / 0.9602 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006452/1.413, allocations: 2.723 MB / 0.9628 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/1.414, allocations: 347.3 kB / 0.9632 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of SimCode: time 1.192e-06/1.414, allocations: 0 / 0.9632 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.4242/1.839, allocations: 71.74 MB / 1.033 GB, free: 174 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.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.845889524091035]