Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001697/0.001697, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002194/0.002194, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.472/1.472, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 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.2097/0.2097, allocations: 32.8 MB / 294.1 MB, free: 0 / 270.1 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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00228/0.00228, allocations: 63.91 kB / 440.6 MB, free: 9.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3361, allocations: 65.44 MB / 0.4942 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009554/0.3456, allocations: 10.73 MB / 0.5046 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006585/0.3522, allocations: 3.758 MB / 0.5083 GB, free: 22.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.3533, allocations: 67.25 kB / 0.5084 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.3555, allocations: 1.299 MB / 0.5096 GB, free: 21.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.3583, allocations: 1.775 MB / 0.5114 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.3592, allocations: 495.2 kB / 0.5118 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003809/0.363, allocations: 3.605 MB / 0.5154 GB, free: 19.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.365, allocations: 1.829 MB / 0.5171 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.3666, allocations: 1.212 MB / 0.5183 GB, free: 17.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.3689, allocations: 1.813 MB / 0.5201 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005157/0.3695, allocations: 235.3 kB / 0.5203 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.3713, allocations: 0.8424 MB / 0.5211 GB, free: 17.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.3727, allocations: 1.611 MB / 0.5227 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.3741, allocations: 1.338 MB / 0.524 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007967/0.382, allocations: 6.23 MB / 0.5301 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3821, allocations: 0 / 0.5301 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3821, allocations: 1.156 kB / 0.5301 GB, free: 13.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002262/0.3823, allocations: 0 / 0.5301 GB, free: 13.44 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.008911/0.3912, allocations: 4.167 MB / 0.5342 GB, free: 10.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3912, allocations: 13.56 kB / 0.5342 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.4018, allocations: 3.142 MB / 0.5373 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/0.4061, allocations: 1.831 MB / 0.5391 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.4062, allocations: 185.8 kB / 0.5392 GB, free: 7.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005857/0.4068, allocations: 252 kB / 0.5395 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.4242, allocations: 10.49 MB / 0.5497 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.4243, allocations: 23.77 kB / 0.5497 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005284/0.4249, allocations: 119.8 kB / 0.5499 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004964/0.4298, allocations: 2.553 MB / 0.5523 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/0.4503, allocations: 9.903 MB / 0.562 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05789/0.5082, allocations: 31.83 MB / 0.5931 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009686/0.5179, allocations: 4.153 MB / 0.5972 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/0.5211, allocations: 2.118 MB / 0.5992 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.5223, allocations: 0.5595 MB / 0.5998 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.5223, allocations: 48.56 kB / 0.5998 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 4.699e-06/0.5223, allocations: 0 / 0.5998 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03389/0.5562, allocations: 14.25 MB / 0.6137 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.5563, allocations: 73.41 kB / 0.6138 GB, free: 13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003866/0.5601, allocations: 2.624 MB / 0.6164 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003627/0.5605, allocations: 61.69 kB / 0.6164 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002337/0.5628, allocations: 2.749 MB / 0.6191 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/0.5645, allocations: 0.8952 MB / 0.62 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001926/0.5664, allocations: 1.045 MB / 0.621 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003146/0.5667, allocations: 357.9 kB / 0.6213 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003711/0.5704, allocations: 2.204 MB / 0.6235 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006398/0.5768, allocations: 5.071 MB / 0.6284 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.5879, allocations: 7.981 MB / 0.6362 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/0.588, allocations: 28 kB / 0.6363 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01418/0.6021, allocations: 7.881 MB / 0.644 GB, free: 11.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/0.6022, allocations: 48 kB / 0.644 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.6023, allocations: 96 kB / 0.6441 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002368/0.6047, allocations: 0.7856 MB / 0.6449 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/0.6085, allocations: 1.189 MB / 0.646 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006378/0.6149, allocations: 4.362 MB / 0.6503 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.6181, allocations: 291.8 kB / 0.6506 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004971/0.6186, allocations: 304 kB / 0.6509 GB, free: 4.027 MB / 0.545 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.003554/0.6221, allocations: 2.019 MB / 0.6528 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/0.6226, allocations: 258.3 kB / 0.6531 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008587/0.6312, allocations: 4.711 MB / 0.6577 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.561e-05/0.6313, allocations: 43.98 kB / 0.6577 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.6313, allocations: 4 kB / 0.6577 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.6313, allocations: 7.969 kB / 0.6577 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/0.6499, allocations: 9.239 MB / 0.6668 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.6499, allocations: 12.03 kB / 0.6668 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.6516, allocations: 363.3 kB / 0.6671 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/0.6537, allocations: 0.6522 MB / 0.6677 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.6539, allocations: 43.98 kB / 0.6678 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005351/0.6593, allocations: 3.752 MB / 0.6715 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/0.6593, allocations: 8 kB / 0.6715 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.6704, allocations: 7.123 MB / 0.6784 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/0.6711, allocations: 230.2 kB / 0.6786 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/0.6714, allocations: 39.92 kB / 0.6787 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.6726, allocations: 143.8 kB / 0.6788 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/0.6729, allocations: 133 kB / 0.6789 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/0.6731, allocations: 67.94 kB / 0.679 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00228/0.6753, allocations: 1.473 MB / 0.6804 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6753, allocations: 0 / 0.6804 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003824/0.6792, allocations: 0.9139 MB / 0.6813 GB, free: 4.406 MB / 0.5762 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.0004081/0.6796, allocations: 175.1 kB / 0.6815 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007832/0.6874, allocations: 5.154 MB / 0.6865 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6874, allocations: 0 / 0.6865 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.6901, allocations: 1.883 MB / 0.6884 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.6917, allocations: 278.1 kB / 0.6886 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/0.7101, allocations: 9.551 MB / 0.698 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004125/0.7142, allocations: 2.625 MB / 0.7005 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.2484/0.9626, allocations: 1.93 MB / 0.7024 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.9636, allocations: 189.3 kB / 0.7026 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.202e-06/0.9636, allocations: 0.9062 kB / 0.7026 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.05069/1.014, allocations: 23.89 MB / 0.7259 GB, free: 165.7 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.70019973104354]