Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.0009027/0.0009027, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008034/0.0008034, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8732/0.8732, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2135/0.2135, allocations: 32.79 MB / 293.5 MB, free: 1.191 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.774e-05, allocations: 7.625 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.164/0.164, allocations: 11.79 MB / 451.4 MB, free: 40.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005992/0.17, allocations: 3.984 MB / 455.4 MB, free: 37.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.1716, allocations: 82.44 kB / 455.4 MB, free: 37.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.1736, allocations: 1.869 MB / 457.3 MB, free: 36.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.1765, allocations: 1.911 MB / 459.2 MB, free: 36.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.1774, allocations: 0.6026 MB / 459.8 MB, free: 35.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.1804, allocations: 4.272 MB / 464.1 MB, free: 34.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.1822, allocations: 2.533 MB / 466.6 MB, free: 33.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.184, allocations: 2.109 MB / 468.7 MB, free: 32.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.1857, allocations: 2.139 MB / 470.9 MB, free: 31.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.186, allocations: 296 kB / 471.2 MB, free: 31.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.1872, allocations: 0.9635 MB / 472.1 MB, free: 31.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000837/0.188, allocations: 1.849 MB / 474 MB, free: 30.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000778/0.1888, allocations: 1.148 MB / 475.1 MB, free: 30.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004967/0.1938, allocations: 6.897 MB / 482 MB, free: 27.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1938, allocations: 0 / 482 MB, free: 27.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1938, allocations: 0 / 482 MB, free: 27.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002382/0.194, allocations: 1.094 kB / 482 MB, free: 27.72 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01007/0.2041, allocations: 4.591 MB / 486.6 MB, free: 25.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.2041, allocations: 9.75 kB / 486.6 MB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001742/0.2059, allocations: 0.7685 MB / 487.4 MB, free: 24.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007173/0.213, allocations: 3.19 MB / 490.6 MB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004703/0.2177, allocations: 2.159 MB / 492.7 MB, free: 23.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.2179, allocations: 214.2 kB / 493 MB, free: 23.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001675/0.2196, allocations: 285.7 kB / 493.2 MB, free: 22.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/0.2345, allocations: 11.13 MB / 0.4925 GB, free: 17.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-05/0.2346, allocations: 27.47 kB / 0.4926 GB, free: 17.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/0.2349, allocations: 137.9 kB / 0.4927 GB, free: 17.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002561/0.2374, allocations: 2.62 MB / 0.4953 GB, free: 16.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.2509, allocations: 10.35 MB / 0.5054 GB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03822/0.2891, allocations: 34.87 MB / 0.5394 GB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005678/0.2948, allocations: 3.59 MB / 0.5429 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.2972, allocations: 2.23 MB / 0.5451 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005542/0.2977, allocations: 449.1 kB / 0.5455 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.2977, allocations: 56.55 kB / 0.5456 GB, free: 12.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 5.661e-06/0.2977, allocations: 0 / 0.5456 GB, free: 12.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.02681/0.3246, allocations: 17.96 MB / 0.5631 GB, free: 10.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3246, allocations: 77.34 kB / 0.5632 GB, free: 10.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/0.3277, allocations: 3.07 MB / 0.5662 GB, free: 7.109 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004491/0.3281, allocations: 57.7 kB / 0.5663 GB, free: 7.047 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.3296, allocations: 2.87 MB / 0.5691 GB, free: 4.152 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.3308, allocations: 0.9493 MB / 0.57 GB, free: 3.195 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.332, allocations: 1.057 MB / 0.571 GB, free: 2.129 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.3321, allocations: 305.1 kB / 0.5713 GB, free: 1.828 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/0.3344, allocations: 2.306 MB / 0.5736 GB, free: 15.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003939/0.3384, allocations: 5.21 MB / 0.5786 GB, free: 8.887 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007176/0.3455, allocations: 8.257 MB / 0.5867 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.437e-05/0.3456, allocations: 28 kB / 0.5867 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01097/0.3566, allocations: 8.28 MB / 0.5948 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.058e-05/0.3566, allocations: 57.69 kB / 0.5949 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-05/0.3567, allocations: 100 kB / 0.595 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.3583, allocations: 0.9372 MB / 0.5959 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.3609, allocations: 1.213 MB / 0.5971 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.3654, allocations: 5.007 MB / 0.602 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/0.3679, allocations: 331.7 kB / 0.6023 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006886/0.3686, allocations: 304 kB / 0.6026 GB, free: 14.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (653): * Single equations (assignments): 646 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003319/0.3719, allocations: 2.148 MB / 0.6047 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004688/0.3724, allocations: 290 kB / 0.6049 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/0.3786, allocations: 5.125 MB / 0.6099 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-05/0.3786, allocations: 47.98 kB / 0.61 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.3786, allocations: 4.5 kB / 0.61 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.043e-05/0.3787, allocations: 11.91 kB / 0.61 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.3944, allocations: 11.5 MB / 0.6212 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/0.3944, allocations: 8.781 kB / 0.6212 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.3956, allocations: 399.4 kB / 0.6216 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.3969, allocations: 0.777 MB / 0.6224 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002934/0.3972, allocations: 44 kB / 0.6224 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/0.4012, allocations: 4.276 MB / 0.6266 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/0.4012, allocations: 15.94 kB / 0.6266 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1824/0.5836, allocations: 7.603 MB / 0.634 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008149/0.5844, allocations: 294 kB / 0.6343 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/0.5847, allocations: 45.84 kB / 0.6344 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00084/0.5856, allocations: 180.5 kB / 0.6345 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.5858, allocations: 162.7 kB / 0.6347 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.5859, allocations: 77.7 kB / 0.6348 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0016/0.5875, allocations: 1.808 MB / 0.6365 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5875, allocations: 2.781 kB / 0.6365 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002452/0.5899, allocations: 1.036 MB / 0.6375 GB, free: 153.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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 {(2,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.006474/0.5964, allocations: 8.286 MB / 0.6456 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004917/0.6013, allocations: 5.41 MB / 0.6509 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.6013, allocations: 6.656 kB / 0.6509 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.6028, allocations: 1.999 MB / 0.6529 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.6042, allocations: 406.3 kB / 0.6533 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04935/0.6535, allocations: 42.69 MB / 0.695 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00367/0.6572, allocations: 2.84 MB / 0.6977 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002771/0.66, allocations: 1.989 MB / 0.6997 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002255/0.6622, allocations: 1.837 MB / 0.7015 GB, free: 118 MB / 0.5261 GB Notification: Performance of SimCode: time 2.134e-06/0.6622, allocations: 4 kB / 0.7015 GB, free: 118 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0698/0.732, allocations: 61.44 MB / 0.7615 GB, free: 59.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.358/10.09, allocations: 14.88 kB / 0.7615 GB, free: 59 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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: 12.249373565427959]