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.001458/0.001458, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001981/0.001981, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.607/1.607, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2474/0.2474, allocations: 46.93 MB / 360.8 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002898/0.002898, allocations: 75.88 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3595, allocations: 66.09 MB / 0.5607 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01766/0.3772, allocations: 13.6 MB / 0.574 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009351/0.3866, allocations: 4.215 MB / 0.5781 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.3889, allocations: 79.69 kB / 0.5782 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00453/0.3934, allocations: 1.841 MB / 0.58 GB, free: 468 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00551/0.3989, allocations: 1.879 MB / 0.5818 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.4008, allocations: 0.5497 MB / 0.5824 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006619/0.4074, allocations: 3.892 MB / 0.5862 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004223/0.4117, allocations: 2.286 MB / 0.5884 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.4149, allocations: 1.394 MB / 0.5898 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/0.4194, allocations: 2.13 MB / 0.5919 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.4205, allocations: 292 kB / 0.5921 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.4235, allocations: 1.034 MB / 0.5931 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002766/0.4262, allocations: 1.784 MB / 0.5949 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003842/0.4301, allocations: 2.1 MB / 0.5969 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.4402, allocations: 6.913 MB / 0.6037 GB, free: 8.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.4402, allocations: 0 / 0.6037 GB, free: 8.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.53e-06/0.4402, allocations: 3.984 kB / 0.6037 GB, free: 8.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002982/0.4405, allocations: 3.938 kB / 0.6037 GB, free: 8.078 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01229/0.4528, allocations: 4.577 MB / 0.6082 GB, free: 3.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.4528, allocations: 12.03 kB / 0.6082 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002175/0.455, allocations: 0.7658 MB / 0.6089 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.4664, allocations: 3.149 MB / 0.612 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006227/0.4726, allocations: 2.287 MB / 0.6142 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.4729, allocations: 217.6 kB / 0.6144 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/0.4743, allocations: 295.8 kB / 0.6147 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.4979, allocations: 11.11 MB / 0.6256 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.4981, allocations: 27.77 kB / 0.6256 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001215/0.4993, allocations: 139.8 kB / 0.6257 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004853/0.5042, allocations: 2.624 MB / 0.6283 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/0.5256, allocations: 10.37 MB / 0.6384 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0633/0.5889, allocations: 36.41 MB / 0.674 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009239/0.5982, allocations: 3.476 MB / 0.6774 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003616/0.6018, allocations: 2.22 MB / 0.6795 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.6028, allocations: 453.2 kB / 0.68 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.6028, allocations: 52.56 kB / 0.68 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.19e-06/0.6029, allocations: 0 / 0.68 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04747/0.6503, allocations: 17.43 MB / 0.697 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.6504, allocations: 73.41 kB / 0.6971 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005686/0.6561, allocations: 2.751 MB / 0.6998 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004955/0.6566, allocations: 61.69 kB / 0.6999 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002712/0.6593, allocations: 2.882 MB / 0.7027 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/0.6608, allocations: 0.961 MB / 0.7036 GB, free: 128 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002953/0.6638, allocations: 1.072 MB / 0.7047 GB, free: 15.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6639, allocations: 305.1 kB / 0.7049 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/0.6682, allocations: 2.31 MB / 0.7072 GB, free: 12.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007258/0.6754, allocations: 5.21 MB / 0.7123 GB, free: 5.797 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/0.6874, allocations: 8.261 MB / 0.7204 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/0.6875, allocations: 32 kB / 0.7204 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01741/0.7049, allocations: 8.275 MB / 0.7285 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.7051, allocations: 48 kB / 0.7285 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002085/0.7053, allocations: 100 kB / 0.7286 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/0.7083, allocations: 0.9375 MB / 0.7295 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004547/0.7129, allocations: 1.224 MB / 0.7307 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3147/1.028, allocations: 5.031 MB / 0.7356 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/1.031, allocations: 299.4 kB / 0.7359 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00088/1.032, allocations: 305.2 kB / 0.7362 GB, free: 149.5 MB / 0.5606 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.003783/1.036, allocations: 2.156 MB / 0.7383 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005573/1.037, allocations: 293.9 kB / 0.7386 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008553/1.045, allocations: 5.118 MB / 0.7436 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-05/1.045, allocations: 45.66 kB / 0.7436 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.045, allocations: 3.781 kB / 0.7436 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/1.045, allocations: 11.39 kB / 0.7437 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02171/1.067, allocations: 11.82 MB / 0.7552 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.523e-05/1.067, allocations: 12.88 kB / 0.7552 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/1.069, allocations: 401.5 kB / 0.7556 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/1.071, allocations: 0.771 MB / 0.7563 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004641/1.072, allocations: 51.05 kB / 0.7564 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/1.076, allocations: 4.292 MB / 0.7606 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/1.076, allocations: 11.94 kB / 0.7606 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.086, allocations: 7.625 MB / 0.768 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008837/1.087, allocations: 268.8 kB / 0.7683 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009488/1.088, allocations: 55.66 kB / 0.7684 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.09, allocations: 147.7 kB / 0.7685 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/1.09, allocations: 164.5 kB / 0.7687 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/1.09, allocations: 68 kB / 0.7687 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002374/1.093, allocations: 1.689 MB / 0.7704 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.093, allocations: 112 / 0.7704 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004684/1.098, allocations: 0.9681 MB / 0.7713 GB, free: 126.2 MB / 0.5606 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.01103/1.109, allocations: 8.283 MB / 0.7794 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008227/1.117, allocations: 5.426 MB / 0.7847 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/1.117, allocations: 0 / 0.7847 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002656/1.119, allocations: 1.997 MB / 0.7867 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/1.122, allocations: 396.9 kB / 0.787 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05954/1.182, allocations: 42.38 MB / 0.8284 GB, free: 63.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005632/1.187, allocations: 3.374 MB / 0.8317 GB, free: 59.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004725/1.192, allocations: 1.978 MB / 0.8336 GB, free: 57.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003275/1.195, allocations: 1.835 MB / 0.8354 GB, free: 55.98 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.195, allocations: 0 / 0.8354 GB, free: 55.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/1.31, allocations: 64.56 MB / 0.8985 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.93/26.24, allocations: 19.17 kB / 0.8985 GB, free: 7.668 MB / 0.5762 GB " [Timeout remaining time 634] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/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: 29.938000760041177]