Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.001791/0.001791, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002099/0.002099, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.577/1.577, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2348/0.2348, allocations: 46.93 MB / 357.1 MB, free: 10.32 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+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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003392/0.003392, allocations: 63.89 kB / 0.4914 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1693, allocations: 66 MB / 0.5559 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01561/0.1849, allocations: 12.32 MB / 0.5679 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008166/0.193, allocations: 3.96 MB / 0.5718 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.1945, allocations: 67.75 kB / 0.5718 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.1977, allocations: 1.335 MB / 0.5731 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.2019, allocations: 1.763 MB / 0.5749 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2032, allocations: 491 kB / 0.5753 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004956/0.2081, allocations: 3.624 MB / 0.5789 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.2107, allocations: 1.767 MB / 0.5806 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.2127, allocations: 1.214 MB / 0.5818 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.215, allocations: 1.884 MB / 0.5836 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004458/0.2155, allocations: 236 kB / 0.5838 GB, free: 8.543 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.2173, allocations: 0.975 MB / 0.5848 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.219, allocations: 1.612 MB / 0.5864 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.2213, allocations: 1.867 MB / 0.5882 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2739/0.4952, allocations: 6.204 MB / 0.5943 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4952, allocations: 1.781 kB / 0.5943 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4952, allocations: 0 / 0.5943 GB, free: 12.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002221/0.4954, allocations: 1.031 kB / 0.5943 GB, free: 12.54 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.009224/0.5046, allocations: 4.243 MB / 0.5984 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5047, allocations: 9.375 kB / 0.5984 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.5166, allocations: 3.094 MB / 0.6014 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004604/0.5212, allocations: 1.877 MB / 0.6033 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.5214, allocations: 189.1 kB / 0.6034 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007187/0.5221, allocations: 248.6 kB / 0.6037 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.538, allocations: 10.49 MB / 0.6139 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-05/0.5381, allocations: 30.92 kB / 0.6139 GB, free: 7.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003898/0.5385, allocations: 123.6 kB / 0.6141 GB, free: 7.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004153/0.5427, allocations: 2.546 MB / 0.6166 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0158/0.5585, allocations: 9.923 MB / 0.6262 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05261/0.6111, allocations: 34.34 MB / 0.6598 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.6218, allocations: 4.96 MB / 0.6646 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/0.6254, allocations: 2.119 MB / 0.6667 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/0.6275, allocations: 1.885 MB / 0.6685 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/0.6275, allocations: 58.61 kB / 0.6686 GB, free: 9.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 6.462e-06/0.6276, allocations: 0 / 0.6686 GB, free: 9.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03829/0.6659, allocations: 14.04 MB / 0.6823 GB, free: 11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.6659, allocations: 73.41 kB / 0.6824 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005052/0.671, allocations: 2.646 MB / 0.6849 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003346/0.6713, allocations: 53.7 kB / 0.685 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002827/0.6741, allocations: 2.738 MB / 0.6877 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001395/0.6755, allocations: 0.8938 MB / 0.6885 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002038/0.6776, allocations: 1.049 MB / 0.6896 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.6778, allocations: 301.1 kB / 0.6899 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003755/0.6815, allocations: 2.208 MB / 0.692 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006462/0.688, allocations: 5.066 MB / 0.697 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.6998, allocations: 7.973 MB / 0.7047 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.312e-05/0.6999, allocations: 28 kB / 0.7048 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01646/0.7164, allocations: 7.89 MB / 0.7125 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.853e-05/0.7165, allocations: 48 kB / 0.7125 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/0.7166, allocations: 100.9 kB / 0.7126 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/0.7192, allocations: 0.7962 MB / 0.7134 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/0.7236, allocations: 1.185 MB / 0.7146 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007155/0.7308, allocations: 4.535 MB / 0.719 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003801/0.7346, allocations: 291.7 kB / 0.7193 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008083/0.7354, allocations: 304 kB / 0.7196 GB, free: 2.785 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (635): * Single equations (assignments): 628 * 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.004197/0.7396, allocations: 2.017 MB / 0.7215 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007602/0.7403, allocations: 270.2 kB / 0.7218 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.7504, allocations: 4.716 MB / 0.7264 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-05/0.7504, allocations: 40 kB / 0.7264 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.7504, allocations: 7.938 kB / 0.7264 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/0.7505, allocations: 15.89 kB / 0.7264 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/0.7707, allocations: 10.49 MB / 0.7367 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.7707, allocations: 8 kB / 0.7367 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/0.7723, allocations: 364.3 kB / 0.737 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/0.7746, allocations: 0.6522 MB / 0.7377 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.7748, allocations: 43.94 kB / 0.7377 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005554/0.7803, allocations: 3.913 MB / 0.7415 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.7803, allocations: 8 kB / 0.7415 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.7918, allocations: 7.153 MB / 0.7485 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/0.7924, allocations: 319.2 kB / 0.7488 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005218/0.793, allocations: 42.62 kB / 0.7489 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.7944, allocations: 139.8 kB / 0.749 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/0.7948, allocations: 139.3 kB / 0.7491 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/0.795, allocations: 67.98 kB / 0.7492 GB, free: 4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003069/0.7981, allocations: 1.619 MB / 0.7508 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7981, allocations: 0 / 0.7508 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004487/0.8026, allocations: 0.9169 MB / 0.7517 GB, free: 1.457 MB / 0.5606 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.0005689/0.8032, allocations: 179.1 kB / 0.7519 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009133/0.8123, allocations: 5.156 MB / 0.7569 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.8123, allocations: 0 / 0.7569 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.8157, allocations: 1.876 MB / 0.7587 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.8183, allocations: 356.8 kB / 0.7591 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/0.8359, allocations: 9.448 MB / 0.7683 GB, free: 352 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004711/0.8406, allocations: 3.163 MB / 0.7714 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004728/0.8453, allocations: 1.962 MB / 0.7733 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009199/0.8463, allocations: 207.4 kB / 0.7735 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of SimCode: time 1.093e-06/0.8463, allocations: 0 / 0.7735 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.06311/0.9094, allocations: 29.11 MB / 0.8019 GB, free: 14.07 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.962749429047108]