Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009557/0.0009557, 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.0009825/0.0009825, 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.8833/0.8833, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2578/0.2578, allocations: 34.25 MB / 294.9 MB, free: 0.7305 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.253e-05, allocations: 5.094 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1786/0.1787, allocations: 11.79 MB / 454 MB, free: 37.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008013/0.1867, allocations: 3.989 MB / 458 MB, free: 35.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.1884, allocations: 79.03 kB / 458 MB, free: 35.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.1906, allocations: 1.849 MB / 459.9 MB, free: 34.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.1936, allocations: 1.931 MB / 461.8 MB, free: 33.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1947, allocations: 0.5916 MB / 462.4 MB, free: 33.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003533/0.1982, allocations: 4.268 MB / 466.7 MB, free: 31.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/0.2005, allocations: 2.525 MB / 469.2 MB, free: 30.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.2029, allocations: 2.118 MB / 471.3 MB, free: 29.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.2052, allocations: 2.141 MB / 473.5 MB, free: 29.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000451/0.2056, allocations: 293.2 kB / 473.8 MB, free: 29.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.2072, allocations: 0.9565 MB / 474.7 MB, free: 28.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.2082, allocations: 1.858 MB / 476.6 MB, free: 28.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.2093, allocations: 1.148 MB / 477.7 MB, free: 27.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007025/0.2163, allocations: 6.894 MB / 484.6 MB, free: 25.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.2163, allocations: 3.938 kB / 484.6 MB, free: 25.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2163, allocations: 0 / 484.6 MB, free: 25.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002855/0.2166, allocations: 0 / 484.6 MB, free: 25.16 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.01067/0.2273, allocations: 4.592 MB / 489.2 MB, free: 22.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.2274, allocations: 9.156 kB / 489.2 MB, free: 22.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00154/0.2289, allocations: 0.7639 MB / 490 MB, free: 22.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007704/0.2366, allocations: 3.199 MB / 493.2 MB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005628/0.2422, allocations: 2.148 MB / 495.3 MB, free: 20.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.2424, allocations: 216.8 kB / 495.5 MB, free: 20.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/0.2438, allocations: 284.7 kB / 495.8 MB, free: 20.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.2616, allocations: 11.13 MB / 0.4951 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.2617, allocations: 27.84 kB / 0.4951 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003558/0.2621, allocations: 137.9 kB / 0.4952 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002754/0.2648, allocations: 2.627 MB / 0.4978 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/0.2793, allocations: 10.35 MB / 0.5079 GB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/0.3247, allocations: 34.87 MB / 0.5419 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00623/0.3309, allocations: 3.59 MB / 0.5455 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/0.3334, allocations: 2.23 MB / 0.5476 GB, free: 8.906 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/0.334, allocations: 445.2 kB / 0.5481 GB, free: 8.469 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.334, allocations: 52.56 kB / 0.5481 GB, free: 8.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 5.64e-06/0.334, allocations: 4 kB / 0.5481 GB, free: 8.406 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.02643/0.3604, allocations: 17.96 MB / 0.5656 GB, free: 6.441 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.3605, allocations: 81.33 kB / 0.5657 GB, free: 6.348 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/0.3639, allocations: 3.07 MB / 0.5687 GB, free: 3.262 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002912/0.3642, allocations: 61.7 kB / 0.5688 GB, free: 3.195 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.3657, allocations: 2.866 MB / 0.5716 GB, free: 308 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008801/0.3666, allocations: 0.9378 MB / 0.5725 GB, free: 15.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.3677, allocations: 1.065 MB / 0.5735 GB, free: 14.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.3678, allocations: 301.1 kB / 0.5738 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/0.3702, allocations: 2.314 MB / 0.5761 GB, free: 11.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00351/0.3737, allocations: 5.206 MB / 0.5812 GB, free: 5.035 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007698/0.3814, allocations: 8.257 MB / 0.5892 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.726e-05/0.3815, allocations: 32 kB / 0.5893 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01144/0.393, allocations: 8.276 MB / 0.5973 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.393, allocations: 48 kB / 0.5974 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.664e-05/0.3931, allocations: 104 kB / 0.5975 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.3947, allocations: 0.9412 MB / 0.5984 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/0.3976, allocations: 1.22 MB / 0.5996 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/0.4023, allocations: 4.993 MB / 0.6045 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.4055, allocations: 327.8 kB / 0.6048 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005693/0.4061, allocations: 313.3 kB / 0.6051 GB, free: 11 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.004254/0.4103, allocations: 2.144 MB / 0.6072 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/0.4109, allocations: 294 kB / 0.6075 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005743/0.4167, allocations: 5.125 MB / 0.6125 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-05/0.4167, allocations: 47.92 kB / 0.6125 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4167, allocations: 4 kB / 0.6125 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.4167, allocations: 11.95 kB / 0.6125 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.4306, allocations: 11.5 MB / 0.6238 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.4306, allocations: 12 kB / 0.6238 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009015/0.4315, allocations: 399.3 kB / 0.6241 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.4328, allocations: 0.77 MB / 0.6249 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.4329, allocations: 59.81 kB / 0.625 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/0.437, allocations: 4.269 MB / 0.6291 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-06/0.437, allocations: 11.94 kB / 0.6291 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.204/0.641, allocations: 7.612 MB / 0.6366 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005579/0.6416, allocations: 291.9 kB / 0.6368 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.6418, allocations: 46.5 kB / 0.6369 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/0.6425, allocations: 178.4 kB / 0.6371 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.6428, allocations: 157.5 kB / 0.6372 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.6429, allocations: 78.58 kB / 0.6373 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001711/0.6446, allocations: 1.814 MB / 0.6391 GB, free: 150 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6446, allocations: 0 / 0.6391 GB, free: 150 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00259/0.6472, allocations: 1.029 MB / 0.6401 GB, free: 149.9 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.006118/0.6533, allocations: 8.286 MB / 0.6482 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004841/0.6581, allocations: 5.415 MB / 0.6534 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.6581, allocations: 0 / 0.6534 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.6604, allocations: 2.006 MB / 0.6554 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.6623, allocations: 405.4 kB / 0.6558 GB, free: 144 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04316/0.7055, allocations: 42.69 MB / 0.6975 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/0.7078, allocations: 2.836 MB / 0.7002 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002531/0.7103, allocations: 1.979 MB / 0.7022 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/0.7118, allocations: 1.844 MB / 0.704 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/0.7118, allocations: 2.188 kB / 0.704 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06498/0.7768, allocations: 61.46 MB / 0.764 GB, free: 52.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.368/10.14, allocations: 7.562 kB / 0.764 GB, free: 52.72 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.350300117395818]