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.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.001312/0.001312, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001732/0.001732, allocations: 214.3 kB / 22.98 MB, free: 4.977 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.442/1.442, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2129/0.2129, allocations: 44.26 MB / 330.3 MB, free: 9.406 MB / 270.1 MB " [Timeout remaining time 180] 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.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 75.89 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1156, allocations: 61.05 MB / 0.5162 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01324/0.1288, allocations: 11.05 MB / 0.527 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007898/0.1367, allocations: 3.786 MB / 0.5307 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.1382, allocations: 71.75 kB / 0.5307 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.1409, allocations: 1.311 MB / 0.532 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004343/0.1452, allocations: 1.845 MB / 0.5338 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1464, allocations: 491 kB / 0.5343 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004731/0.1512, allocations: 3.657 MB / 0.5378 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2161/0.3673, allocations: 1.869 MB / 0.5397 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.3696, allocations: 1.264 MB / 0.5409 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.3726, allocations: 1.846 MB / 0.5427 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008215/0.3735, allocations: 240.2 kB / 0.5429 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.3756, allocations: 0.8507 MB / 0.5438 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001806/0.3774, allocations: 1.674 MB / 0.5454 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.3791, allocations: 1.395 MB / 0.5468 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009712/0.3889, allocations: 6.432 MB / 0.553 GB, free: 8.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.3889, allocations: 0 / 0.553 GB, free: 8.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3889, allocations: 1.281 kB / 0.5531 GB, free: 8.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000305/0.3892, allocations: 0 / 0.5531 GB, free: 8.305 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.01233/0.4015, allocations: 4.301 MB / 0.5573 GB, free: 6.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.4016, allocations: 9.031 kB / 0.5573 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001561/0.4031, allocations: 0.7246 MB / 0.558 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.4141, allocations: 3.111 MB / 0.561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006443/0.4205, allocations: 2.336 MB / 0.5633 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.4207, allocations: 193 kB / 0.5635 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/0.4219, allocations: 257.5 kB / 0.5637 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/0.4408, allocations: 10.7 MB / 0.5742 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.701e-05/0.4409, allocations: 24.61 kB / 0.5742 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004637/0.4414, allocations: 120.2 kB / 0.5743 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004763/0.4461, allocations: 2.644 MB / 0.5769 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/0.4664, allocations: 9.999 MB / 0.5866 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05747/0.5239, allocations: 33.46 MB / 0.6193 GB, free: 6.242 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009662/0.5335, allocations: 4.042 MB / 0.6233 GB, free: 2.223 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003313/0.5368, allocations: 2.112 MB / 0.6253 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.5381, allocations: 0.5414 MB / 0.6259 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.5382, allocations: 48.56 kB / 0.6259 GB, free: 15.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 6.863e-06/0.5382, allocations: 5.078 kB / 0.6259 GB, free: 15.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03552/0.5737, allocations: 14.03 MB / 0.6396 GB, free: 1.496 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.5738, allocations: 81.33 kB / 0.6397 GB, free: 1.402 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004313/0.5781, allocations: 2.86 MB / 0.6425 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000403/0.5785, allocations: 53.7 kB / 0.6425 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/0.5807, allocations: 2.823 MB / 0.6453 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.5819, allocations: 0.8877 MB / 0.6462 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/0.5835, allocations: 1.055 MB / 0.6472 GB, free: 9.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5837, allocations: 306.6 kB / 0.6475 GB, free: 9.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003422/0.5871, allocations: 2.212 MB / 0.6496 GB, free: 7.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00611/0.5932, allocations: 5.121 MB / 0.6546 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.6038, allocations: 8.054 MB / 0.6625 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.299e-05/0.6039, allocations: 28 kB / 0.6625 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01572/0.6196, allocations: 7.937 MB / 0.6703 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/0.6197, allocations: 48 kB / 0.6703 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/0.6198, allocations: 100 kB / 0.6704 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.6223, allocations: 0.8012 MB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/0.6264, allocations: 1.201 MB / 0.6724 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006333/0.6328, allocations: 4.376 MB / 0.6767 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/0.6365, allocations: 295.7 kB / 0.6769 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000734/0.6372, allocations: 316.7 kB / 0.6772 GB, free: 8.422 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 (640): * Single equations (assignments): 633 * 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.004515/0.6418, allocations: 2.052 MB / 0.6792 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005899/0.6424, allocations: 282.1 kB / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008374/0.6507, allocations: 4.725 MB / 0.6841 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.389e-05/0.6508, allocations: 47.94 kB / 0.6842 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.6508, allocations: 0 / 0.6842 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/0.6508, allocations: 15.89 kB / 0.6842 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/0.6713, allocations: 10.21 MB / 0.6942 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.6713, allocations: 8 kB / 0.6942 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.6729, allocations: 363.4 kB / 0.6945 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/0.675, allocations: 0.6521 MB / 0.6952 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/0.6752, allocations: 47.92 kB / 0.6952 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005289/0.6805, allocations: 3.777 MB / 0.6989 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.6805, allocations: 11.94 kB / 0.6989 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.6919, allocations: 7.156 MB / 0.7059 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/0.694, allocations: 0.5917 MB / 0.7065 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004842/0.6944, allocations: 36 kB / 0.7065 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.6957, allocations: 150.7 kB / 0.7066 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003334/0.6961, allocations: 133 kB / 0.7068 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.6963, allocations: 71.92 kB / 0.7068 GB, free: 9.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002775/0.699, allocations: 1.652 MB / 0.7085 GB, free: 8.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.699, allocations: 0 / 0.7085 GB, free: 8.082 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004357/0.7034, allocations: 0.9396 MB / 0.7094 GB, free: 7.145 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.0124/0.7158, allocations: 7.801 MB / 0.717 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009703/0.7255, allocations: 5.178 MB / 0.722 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-05/0.7255, allocations: 8.25 kB / 0.7221 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003345/0.7289, allocations: 1.866 MB / 0.7239 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.7313, allocations: 358.9 kB / 0.7242 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07549/0.8068, allocations: 40.4 MB / 0.7637 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006325/0.8131, allocations: 2.686 MB / 0.7663 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005582/0.8187, allocations: 1.973 MB / 0.7682 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004464/0.8231, allocations: 1.753 MB / 0.7699 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of SimCode: time 1.943e-06/0.8231, allocations: 0 / 0.7699 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.311/1.134, allocations: 55.17 MB / 0.8238 GB, free: 194.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.96, allocations: 0 / 0.8238 GB, free: 194.6 MB / 0.6075 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/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: 19.14111972320825]