Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 109.6 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 187.9 kB / 22.98 MB, free: 5.062 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.67/1.67, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2377/0.2377, allocations: 44.23 MB / 330.2 MB, free: 9.555 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 72.22 kB / 468 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1359, allocations: 61.04 MB / 0.5166 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01549/0.1514, allocations: 12.75 MB / 0.529 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009367/0.1608, allocations: 4 MB / 0.5329 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.1634, allocations: 71.75 kB / 0.533 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.1667, allocations: 1.366 MB / 0.5343 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005217/0.1719, allocations: 1.841 MB / 0.5361 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1735, allocations: 491 kB / 0.5366 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2353/0.4088, allocations: 3.66 MB / 0.5402 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.4109, allocations: 1.646 MB / 0.5418 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.4127, allocations: 1.257 MB / 0.543 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/0.4158, allocations: 1.927 MB / 0.5449 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.4173, allocations: 242.7 kB / 0.5451 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.42, allocations: 0.9758 MB / 0.5461 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002141/0.4222, allocations: 1.671 MB / 0.5477 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002568/0.4248, allocations: 1.95 MB / 0.5496 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008834/0.4336, allocations: 6.382 MB / 0.5559 GB, free: 8.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4336, allocations: 0 / 0.5559 GB, free: 8.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4336, allocations: 3.594 kB / 0.5559 GB, free: 8.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002152/0.4338, allocations: 0 / 0.5559 GB, free: 8.078 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01355/0.4474, allocations: 4.285 MB / 0.56 GB, free: 5.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.4474, allocations: 9.156 kB / 0.5601 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01912/0.4665, allocations: 3.099 MB / 0.5631 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007891/0.4744, allocations: 1.91 MB / 0.5649 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.4747, allocations: 190.7 kB / 0.5651 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.4764, allocations: 259.2 kB / 0.5654 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03105/0.5074, allocations: 10.7 MB / 0.5758 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.5076, allocations: 27.36 kB / 0.5758 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009962/0.5086, allocations: 117.7 kB / 0.576 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009782/0.5184, allocations: 2.652 MB / 0.5786 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03673/0.5551, allocations: 10.02 MB / 0.5883 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09963/0.6547, allocations: 35 MB / 0.6225 GB, free: 2.594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/0.6707, allocations: 4.063 MB / 0.6265 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003534/0.6742, allocations: 2.117 MB / 0.6286 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.6755, allocations: 0.5484 MB / 0.6291 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.6756, allocations: 52.56 kB / 0.6291 GB, free: 11.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 5.29e-06/0.6756, allocations: 0 / 0.6291 GB, free: 11.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03777/0.7134, allocations: 13.95 MB / 0.6428 GB, free: 13.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.7135, allocations: 81.33 kB / 0.6428 GB, free: 13.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004607/0.7181, allocations: 2.685 MB / 0.6455 GB, free: 11.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004477/0.7185, allocations: 56.89 kB / 0.6455 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002314/0.7208, allocations: 2.822 MB / 0.6483 GB, free: 8.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001387/0.7222, allocations: 0.8841 MB / 0.6491 GB, free: 7.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/0.7239, allocations: 1.058 MB / 0.6502 GB, free: 6.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7241, allocations: 305.1 kB / 0.6505 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003608/0.7277, allocations: 2.22 MB / 0.6526 GB, free: 3.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006323/0.734, allocations: 5.133 MB / 0.6576 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.7453, allocations: 8.057 MB / 0.6655 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.487e-05/0.7454, allocations: 32 kB / 0.6655 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01614/0.7616, allocations: 7.966 MB / 0.6733 GB, free: 12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.369e-05/0.7616, allocations: 48 kB / 0.6734 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.7618, allocations: 100 kB / 0.6735 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.7642, allocations: 0.7969 MB / 0.6742 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/0.7684, allocations: 1.201 MB / 0.6754 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/0.775, allocations: 4.422 MB / 0.6797 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/0.7787, allocations: 300.5 kB / 0.68 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007481/0.7795, allocations: 304 kB / 0.6803 GB, free: 4.738 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (644): * Single equations (assignments): 637 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004213/0.7837, allocations: 2.061 MB / 0.6823 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005274/0.7842, allocations: 278.1 kB / 0.6826 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008772/0.793, allocations: 4.714 MB / 0.6872 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.418e-05/0.793, allocations: 43.12 kB / 0.6872 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.7931, allocations: 8 kB / 0.6872 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/0.7931, allocations: 15.89 kB / 0.6872 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/0.8127, allocations: 10.55 MB / 0.6976 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.8127, allocations: 7.938 kB / 0.6976 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.8145, allocations: 363.4 kB / 0.6979 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/0.8166, allocations: 0.6602 MB / 0.6986 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.8169, allocations: 50.56 kB / 0.6986 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005707/0.8226, allocations: 3.801 MB / 0.7023 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.8226, allocations: 11.94 kB / 0.7023 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.8347, allocations: 7.145 MB / 0.7093 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/0.8371, allocations: 0.5878 MB / 0.7099 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005542/0.8376, allocations: 43.98 kB / 0.7099 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.839, allocations: 143.8 kB / 0.7101 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003643/0.8394, allocations: 136.7 kB / 0.7102 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/0.8396, allocations: 67.94 kB / 0.7102 GB, free: 5.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003428/0.843, allocations: 1.644 MB / 0.7119 GB, free: 4.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.843, allocations: 0 / 0.7119 GB, free: 4.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005109/0.8481, allocations: 0.9416 MB / 0.7128 GB, free: 3.109 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006524/0.8487, allocations: 185.9 kB / 0.713 GB, free: 2.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009654/0.8584, allocations: 5.182 MB / 0.718 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.8584, allocations: 7.938 kB / 0.718 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003391/0.8618, allocations: 1.877 MB / 0.7199 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.8644, allocations: 354.7 kB / 0.7202 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/0.8842, allocations: 9.731 MB / 0.7297 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006298/0.8905, allocations: 3.235 MB / 0.7329 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004831/0.8954, allocations: 1.969 MB / 0.7348 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007402/0.8961, allocations: 207.4 kB / 0.735 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.8961, allocations: 0 / 0.735 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.2905/1.187, allocations: 32.89 MB / 0.7671 GB, free: 199.2 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.3656981866806746]