Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.001715/0.001715, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001814/0.001814, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.495/1.495, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 79.86 kB / 0.4913 GB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1399, allocations: 65.99 MB / 0.5557 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01416/0.154, allocations: 12.33 MB / 0.5677 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008706/0.1627, allocations: 3.962 MB / 0.5716 GB, free: 5.844 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.1649, allocations: 63.88 kB / 0.5717 GB, free: 5.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.1683, allocations: 1.339 MB / 0.573 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.1729, allocations: 1.763 MB / 0.5747 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1744, allocations: 487 kB / 0.5752 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005487/0.1799, allocations: 3.617 MB / 0.5787 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002983/0.1829, allocations: 1.763 MB / 0.5804 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.1852, allocations: 1.195 MB / 0.5816 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/0.1883, allocations: 1.896 MB / 0.5834 GB, free: 9.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.1894, allocations: 236 kB / 0.5837 GB, free: 9.438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.192, allocations: 0.9672 MB / 0.5846 GB, free: 8.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002235/0.1942, allocations: 1.612 MB / 0.5862 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002886/0.1971, allocations: 1.878 MB / 0.588 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3234/0.5205, allocations: 6.209 MB / 0.5941 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5205, allocations: 0 / 0.5941 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5205, allocations: 1.25 kB / 0.5941 GB, free: 12.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002645/0.5208, allocations: 0 / 0.5941 GB, free: 12.09 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.01351/0.5343, allocations: 4.247 MB / 0.5982 GB, free: 10.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.5343, allocations: 10.41 kB / 0.5982 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002302/0.5366, allocations: 0.7068 MB / 0.5989 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.549, allocations: 3.111 MB / 0.602 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00728/0.5562, allocations: 2.101 MB / 0.604 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003736/0.5566, allocations: 192.8 kB / 0.6042 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.5586, allocations: 250.5 kB / 0.6044 GB, free: 9.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.5814, allocations: 10.49 MB / 0.6147 GB, free: 7.199 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.5815, allocations: 24.88 kB / 0.6147 GB, free: 7.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009994/0.5825, allocations: 120 kB / 0.6148 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004494/0.587, allocations: 2.555 MB / 0.6173 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01874/0.6058, allocations: 9.92 MB / 0.627 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06171/0.6675, allocations: 34.34 MB / 0.6605 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.6779, allocations: 4.963 MB / 0.6654 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/0.6814, allocations: 2.116 MB / 0.6674 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002143/0.6836, allocations: 1.878 MB / 0.6693 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/0.6836, allocations: 62.05 kB / 0.6693 GB, free: 8.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 6.362e-06/0.6836, allocations: 0 / 0.6693 GB, free: 8.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03701/0.7206, allocations: 14.05 MB / 0.6831 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.7207, allocations: 73.34 kB / 0.6831 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004752/0.7255, allocations: 2.639 MB / 0.6857 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004782/0.7259, allocations: 52.91 kB / 0.6858 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.7282, allocations: 2.742 MB / 0.6884 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/0.7294, allocations: 0.8934 MB / 0.6893 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/0.7318, allocations: 1.043 MB / 0.6903 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7319, allocations: 309.1 kB / 0.6906 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/0.7357, allocations: 2.196 MB / 0.6928 GB, free: 304 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0064/0.7421, allocations: 5.051 MB / 0.6977 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/0.7528, allocations: 7.967 MB / 0.7055 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/0.753, allocations: 28 kB / 0.7055 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01636/0.7693, allocations: 7.872 MB / 0.7132 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.7695, allocations: 48 kB / 0.7132 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/0.7697, allocations: 102.2 kB / 0.7133 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/0.7722, allocations: 0.7916 MB / 0.7141 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004419/0.7766, allocations: 1.189 MB / 0.7153 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006951/0.7836, allocations: 4.509 MB / 0.7197 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/0.7876, allocations: 303.7 kB / 0.72 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/0.7889, allocations: 298.2 kB / 0.7202 GB, free: 2.109 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 (631): * Single equations (assignments): 624 * 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.004845/0.7937, allocations: 2.009 MB / 0.7222 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008925/0.7946, allocations: 274.3 kB / 0.7225 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.8061, allocations: 4.724 MB / 0.7271 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.071e-05/0.8062, allocations: 40 kB / 0.7271 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/0.8062, allocations: 8.812 kB / 0.7271 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.482e-05/0.8063, allocations: 15.94 kB / 0.7271 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02528/0.8315, allocations: 10.5 MB / 0.7374 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-05/0.8316, allocations: 4 kB / 0.7374 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/0.8335, allocations: 360.2 kB / 0.7377 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/0.8357, allocations: 0.6677 MB / 0.7384 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000496/0.8362, allocations: 41.97 kB / 0.7384 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005765/0.842, allocations: 3.898 MB / 0.7422 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/0.842, allocations: 7.938 kB / 0.7423 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.8555, allocations: 7.148 MB / 0.7492 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009462/0.8564, allocations: 327.1 kB / 0.7495 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008724/0.8573, allocations: 42.58 kB / 0.7496 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.859, allocations: 143.8 kB / 0.7497 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005566/0.8596, allocations: 133 kB / 0.7498 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002964/0.8599, allocations: 60 kB / 0.7499 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003156/0.863, allocations: 1.623 MB / 0.7515 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.863, allocations: 0 / 0.7515 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004886/0.8679, allocations: 0.9054 MB / 0.7524 GB, free: 0.7852 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.01349/0.8814, allocations: 7.801 MB / 0.76 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01006/0.8915, allocations: 5.146 MB / 0.765 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.8915, allocations: 0 / 0.765 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003773/0.8953, allocations: 1.878 MB / 0.7669 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/0.8989, allocations: 371.9 kB / 0.7672 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08014/0.9791, allocations: 39.66 MB / 0.8059 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00641/0.9855, allocations: 3.156 MB / 0.809 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00539/0.9909, allocations: 1.957 MB / 0.8109 GB, free: 416 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003724/0.9946, allocations: 1.71 MB / 0.8126 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of SimCode: time 1.683e-06/0.9946, allocations: 0 / 0.8126 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4572/1.452, allocations: 54.82 MB / 0.8661 GB, free: 237.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.49/22.94, allocations: 9.547 kB / 0.8661 GB, free: 237.2 MB / 0.6544 GB " [Timeout remaining time 637] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 26.384921266231686]