Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.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.0008607/0.0008607, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0011/0.0011, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8706/0.8706, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2464/0.2464, allocations: 34.24 MB / 294.8 MB, free: 0.6719 MB / 266.7 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.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.34e-05, allocations: 2.281 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1597/0.1597, allocations: 11.78 MB / 454 MB, free: 37.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006913/0.1666, allocations: 3.989 MB / 457.9 MB, free: 35.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.169, allocations: 79.66 kB / 458 MB, free: 35.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.1713, allocations: 1.862 MB / 459.9 MB, free: 34.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.1748, allocations: 1.925 MB / 461.8 MB, free: 33.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1758, allocations: 0.5861 MB / 462.4 MB, free: 33.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.1791, allocations: 4.268 MB / 466.7 MB, free: 31.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.1813, allocations: 2.538 MB / 469.2 MB, free: 30.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.1835, allocations: 2.109 MB / 471.3 MB, free: 29.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.1858, allocations: 2.14 MB / 473.4 MB, free: 28.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005299/0.1863, allocations: 294.8 kB / 473.7 MB, free: 28.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.1877, allocations: 0.9649 MB / 474.7 MB, free: 28.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001/0.1887, allocations: 1.857 MB / 476.6 MB, free: 28.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.1898, allocations: 1.144 MB / 477.7 MB, free: 27.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006255/0.1961, allocations: 6.896 MB / 484.6 MB, free: 25.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1961, allocations: 1.125 kB / 484.6 MB, free: 25.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1961, allocations: 0.5625 kB / 484.6 MB, free: 25.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002581/0.1964, allocations: 0 / 484.6 MB, free: 25.04 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.01054/0.2069, allocations: 4.592 MB / 489.2 MB, free: 22.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.2069, allocations: 10.31 kB / 489.2 MB, free: 22.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001328/0.2083, allocations: 0.7585 MB / 490 MB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006786/0.2151, allocations: 3.2 MB / 493.2 MB, free: 21.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004753/0.2198, allocations: 2.15 MB / 495.3 MB, free: 20.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.2199, allocations: 218.7 kB / 495.5 MB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008971/0.2208, allocations: 282.3 kB / 495.8 MB, free: 20.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/0.2363, allocations: 11.13 MB / 0.495 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.191e-05/0.2364, allocations: 23.75 kB / 0.4951 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003712/0.2368, allocations: 134.5 kB / 0.4952 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002397/0.2392, allocations: 2.624 MB / 0.4978 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.2517, allocations: 10.35 MB / 0.5079 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03925/0.2909, allocations: 34.87 MB / 0.5419 GB, free: 14.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005431/0.2964, allocations: 3.594 MB / 0.5454 GB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.2986, allocations: 2.224 MB / 0.5476 GB, free: 8.762 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008042/0.2994, allocations: 449.2 kB / 0.548 GB, free: 8.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.2994, allocations: 64.44 kB / 0.5481 GB, free: 8.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 5.23e-06/0.2994, allocations: 0 / 0.5481 GB, free: 8.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.02478/0.3242, allocations: 17.96 MB / 0.5656 GB, free: 6.289 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3243, allocations: 81.33 kB / 0.5657 GB, free: 6.195 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/0.3274, allocations: 3.066 MB / 0.5687 GB, free: 3.113 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003572/0.3278, allocations: 57.7 kB / 0.5688 GB, free: 3.051 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.3293, allocations: 2.874 MB / 0.5716 GB, free: 152 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008619/0.3302, allocations: 0.9378 MB / 0.5725 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009472/0.3311, allocations: 1.061 MB / 0.5735 GB, free: 14.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.3312, allocations: 309.1 kB / 0.5738 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.3333, allocations: 2.306 MB / 0.5761 GB, free: 11.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003536/0.3368, allocations: 5.21 MB / 0.5811 GB, free: 4.883 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007044/0.3439, allocations: 8.253 MB / 0.5892 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.692e-05/0.344, allocations: 32 kB / 0.5892 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01013/0.3541, allocations: 8.276 MB / 0.5973 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.3541, allocations: 48 kB / 0.5974 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.158e-05/0.3542, allocations: 100 kB / 0.5975 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.3557, allocations: 0.9491 MB / 0.5984 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/0.3579, allocations: 1.217 MB / 0.5996 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.3624, allocations: 4.992 MB / 0.6045 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.3647, allocations: 327.7 kB / 0.6048 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/0.3651, allocations: 312 kB / 0.6051 GB, free: 10.85 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.002882/0.368, allocations: 2.143 MB / 0.6072 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004381/0.3684, allocations: 298 kB / 0.6074 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005275/0.3737, allocations: 5.125 MB / 0.6124 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/0.3737, allocations: 47.98 kB / 0.6125 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3737, allocations: 4 kB / 0.6125 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.3738, allocations: 7.969 kB / 0.6125 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.3867, allocations: 11.5 MB / 0.6237 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.3867, allocations: 8 kB / 0.6237 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008976/0.3876, allocations: 399.3 kB / 0.6241 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.3889, allocations: 0.7801 MB / 0.6249 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.389, allocations: 48 kB / 0.6249 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00358/0.3926, allocations: 4.267 MB / 0.6291 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.3926, allocations: 20 kB / 0.6291 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2068/0.5993, allocations: 7.609 MB / 0.6365 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.6004, allocations: 288.8 kB / 0.6368 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005145/0.601, allocations: 51.86 kB / 0.6369 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.602, allocations: 176.2 kB / 0.637 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.6023, allocations: 163.9 kB / 0.6372 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.6024, allocations: 79.31 kB / 0.6373 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002472/0.6049, allocations: 1.812 MB / 0.639 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6049, allocations: 0 / 0.639 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004172/0.6091, allocations: 1.032 MB / 0.64 GB, free: 149.8 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.008215/0.6173, allocations: 8.282 MB / 0.6481 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007438/0.6247, allocations: 5.411 MB / 0.6534 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.6248, allocations: 3.219 kB / 0.6534 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.6272, allocations: 2.008 MB / 0.6554 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.6293, allocations: 400.4 kB / 0.6558 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0532/0.6825, allocations: 42.7 MB / 0.6975 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/0.6851, allocations: 2.831 MB / 0.7002 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002512/0.6876, allocations: 1.985 MB / 0.7022 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/0.6893, allocations: 1.843 MB / 0.704 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.543e-06/0.6893, allocations: 0 / 0.704 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07173/0.7611, allocations: 61.46 MB / 0.764 GB, free: 52.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.367/10.13, allocations: 3.625 kB / 0.764 GB, free: 52.42 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.289398599416018]