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.00184/0.00184, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.002001/0.002001, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.518/1.518, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2541/0.2541, allocations: 46.92 MB / 357.7 MB, free: 10.16 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 75.88 kB / 0.4917 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1451, allocations: 66.04 MB / 0.5562 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01619/0.1613, allocations: 13.57 MB / 0.5694 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009795/0.1711, allocations: 4.194 MB / 0.5735 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.1738, allocations: 79.69 kB / 0.5736 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004474/0.1782, allocations: 1.837 MB / 0.5754 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00548/0.1837, allocations: 1.853 MB / 0.5772 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.1855, allocations: 0.5576 MB / 0.5777 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006361/0.1919, allocations: 3.895 MB / 0.5815 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/0.1959, allocations: 2.314 MB / 0.5838 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.1989, allocations: 1.394 MB / 0.5852 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004015/0.2029, allocations: 2.138 MB / 0.5872 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.2041, allocations: 292 kB / 0.5875 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.207, allocations: 1.026 MB / 0.5885 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002704/0.2097, allocations: 1.78 MB / 0.5903 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004404/0.2141, allocations: 2.108 MB / 0.5923 GB, free: 284 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3056/0.5197, allocations: 6.908 MB / 0.5991 GB, free: 9.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5197, allocations: 2.625 kB / 0.5991 GB, free: 9.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5197, allocations: 2.812 kB / 0.5991 GB, free: 9.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003937/0.5201, allocations: 0.5625 kB / 0.5991 GB, free: 9.898 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.02089/0.541, allocations: 4.654 MB / 0.6036 GB, free: 7.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.607e-05/0.541, allocations: 13.84 kB / 0.6036 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003723/0.5414, allocations: 101.4 kB / 0.6037 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004508/0.5459, allocations: 0.7667 MB / 0.6045 GB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.5596, allocations: 3.149 MB / 0.6075 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006594/0.5662, allocations: 2.349 MB / 0.6098 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.5665, allocations: 220.2 kB / 0.6101 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/0.5686, allocations: 290.8 kB / 0.6103 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/0.5948, allocations: 11.11 MB / 0.6212 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.5949, allocations: 31.14 kB / 0.6212 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/0.596, allocations: 133.7 kB / 0.6213 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00491/0.601, allocations: 2.628 MB / 0.6239 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.6251, allocations: 10.37 MB / 0.634 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07144/0.6965, allocations: 36.56 MB / 0.6697 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.707, allocations: 4.388 MB / 0.674 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003999/0.711, allocations: 2.224 MB / 0.6762 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.7125, allocations: 1.322 MB / 0.6775 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.7127, allocations: 59.12 kB / 0.6775 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.791e-06/0.7127, allocations: 0 / 0.6775 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.04843/0.7611, allocations: 17.64 MB / 0.6948 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.7612, allocations: 83.02 kB / 0.6948 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005519/0.7667, allocations: 2.745 MB / 0.6975 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005639/0.7673, allocations: 61.7 kB / 0.6976 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002881/0.7702, allocations: 2.89 MB / 0.7004 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/0.7719, allocations: 0.954 MB / 0.7013 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003296/0.7752, allocations: 1.077 MB / 0.7024 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7753, allocations: 301.1 kB / 0.7027 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004912/0.7802, allocations: 2.306 MB / 0.7049 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008547/0.7888, allocations: 5.217 MB / 0.71 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/0.8016, allocations: 8.248 MB / 0.7181 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/0.8017, allocations: 28 kB / 0.7181 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01951/0.8212, allocations: 8.277 MB / 0.7262 GB, free: 12.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-05/0.8213, allocations: 52.03 kB / 0.7262 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/0.8214, allocations: 100.8 kB / 0.7263 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/0.8247, allocations: 0.9449 MB / 0.7272 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005183/0.8299, allocations: 1.217 MB / 0.7284 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008895/0.8388, allocations: 5.142 MB / 0.7335 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/0.8434, allocations: 299.8 kB / 0.7337 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/0.8447, allocations: 302.4 kB / 0.734 GB, free: 4.633 MB / 0.545 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.005476/0.8502, allocations: 2.152 MB / 0.7361 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000753/0.8509, allocations: 298 kB / 0.7364 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.8618, allocations: 5.12 MB / 0.7414 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/0.8619, allocations: 43.98 kB / 0.7415 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.8619, allocations: 4 kB / 0.7415 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.037e-05/0.862, allocations: 7.969 kB / 0.7415 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03104/0.893, allocations: 11.87 MB / 0.7531 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-05/0.8931, allocations: 12.03 kB / 0.7531 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002226/0.8953, allocations: 399.4 kB / 0.7534 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/0.8982, allocations: 0.7767 MB / 0.7542 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005896/0.8988, allocations: 48 kB / 0.7543 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007162/0.906, allocations: 4.393 MB / 0.7585 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.705e-05/0.906, allocations: 15.94 kB / 0.7586 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/0.9226, allocations: 7.638 MB / 0.766 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.9237, allocations: 331.2 kB / 0.7663 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001313/0.9251, allocations: 47.98 kB / 0.7664 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/0.9275, allocations: 150.5 kB / 0.7665 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008668/0.9284, allocations: 159.5 kB / 0.7667 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000453/0.9288, allocations: 76 kB / 0.7667 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004686/0.9335, allocations: 1.689 MB / 0.7684 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9335, allocations: 0 / 0.7684 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007315/0.9408, allocations: 0.9635 MB / 0.7693 GB, free: 15.98 MB / 0.5919 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.01833/0.9592, allocations: 8.289 MB / 0.7774 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01146/0.9706, allocations: 5.418 MB / 0.7827 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.9706, allocations: 0 / 0.7827 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004385/0.975, allocations: 1.991 MB / 0.7847 GB, free: 136 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/0.9789, allocations: 402 kB / 0.7851 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1047/1.084, allocations: 42.25 MB / 0.8263 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008636/1.092, allocations: 3.371 MB / 0.8296 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006543/1.099, allocations: 1.976 MB / 0.8315 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00523/1.104, allocations: 1.839 MB / 0.8333 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/1.104, allocations: 0 / 0.8333 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4247/1.529, allocations: 60.06 MB / 0.892 GB, free: 215.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.3/24.83, allocations: 19.55 kB / 0.892 GB, free: 215.3 MB / 0.6544 GB " [Timeout remaining time 635] (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: 28.978415293968283]