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.001416/0.001416, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001681/0.001681, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.519/1.519, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2294/0.2294, allocations: 46.92 MB / 361.6 MB, free: 4.211 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.002472/0.002472, allocations: 71.88 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3256, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01568/0.3413, allocations: 13.59 MB / 0.5748 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009021/0.3503, allocations: 4.215 MB / 0.5789 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.3533, allocations: 79.69 kB / 0.579 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.3578, allocations: 1.853 MB / 0.5808 GB, free: 488 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005097/0.3629, allocations: 1.867 MB / 0.5826 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.3644, allocations: 0.5497 MB / 0.5831 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005622/0.37, allocations: 3.896 MB / 0.5869 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003006/0.373, allocations: 2.286 MB / 0.5892 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.3751, allocations: 1.39 MB / 0.5905 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.3784, allocations: 2.13 MB / 0.5926 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008148/0.3792, allocations: 292 kB / 0.5929 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.3815, allocations: 1.03 MB / 0.5939 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002096/0.3835, allocations: 1.795 MB / 0.5957 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002579/0.3861, allocations: 2.1 MB / 0.5977 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008449/0.3946, allocations: 6.909 MB / 0.6045 GB, free: 8.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.3946, allocations: 3.938 kB / 0.6045 GB, free: 8.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3946, allocations: 0 / 0.6045 GB, free: 8.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002316/0.3948, allocations: 0 / 0.6045 GB, free: 8.109 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.01027/0.4051, allocations: 4.581 MB / 0.6089 GB, free: 3.469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4051, allocations: 8.031 kB / 0.6089 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001234/0.4053, allocations: 105.7 kB / 0.609 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001198/0.4065, allocations: 0.7697 MB / 0.6098 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.4178, allocations: 3.153 MB / 0.6129 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005153/0.423, allocations: 2.283 MB / 0.6151 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.4232, allocations: 225.4 kB / 0.6153 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008463/0.424, allocations: 287.8 kB / 0.6156 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.4435, allocations: 11.11 MB / 0.6264 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.4436, allocations: 31.7 kB / 0.6265 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004688/0.4441, allocations: 131.8 kB / 0.6266 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004701/0.4488, allocations: 2.616 MB / 0.6292 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.4701, allocations: 10.38 MB / 0.6393 GB, free: 3.828 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05811/0.5282, allocations: 36.4 MB / 0.6748 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009123/0.5373, allocations: 3.476 MB / 0.6782 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/0.5407, allocations: 2.22 MB / 0.6804 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009058/0.5416, allocations: 457.1 kB / 0.6808 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.5417, allocations: 56.5 kB / 0.6809 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 4.789e-06/0.5417, allocations: 0 / 0.6809 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04054/0.5822, allocations: 17.42 MB / 0.6979 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.5823, allocations: 73.41 kB / 0.698 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004109/0.5864, allocations: 2.755 MB / 0.7007 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004652/0.5868, allocations: 57.7 kB / 0.7007 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002322/0.5892, allocations: 2.882 MB / 0.7035 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001182/0.5903, allocations: 0.9571 MB / 0.7045 GB, free: 60 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/0.5921, allocations: 1.084 MB / 0.7055 GB, free: 14.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5922, allocations: 305.1 kB / 0.7058 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/0.5958, allocations: 2.302 MB / 0.7081 GB, free: 12.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006025/0.6018, allocations: 5.217 MB / 0.7132 GB, free: 5.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.6125, allocations: 8.253 MB / 0.7212 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.54e-05/0.6126, allocations: 28 kB / 0.7212 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0163/0.6289, allocations: 8.283 MB / 0.7293 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.629, allocations: 50.34 kB / 0.7294 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/0.6292, allocations: 100 kB / 0.7295 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002863/0.6321, allocations: 0.9456 MB / 0.7304 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/0.6363, allocations: 1.213 MB / 0.7316 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3237/0.9601, allocations: 5.03 MB / 0.7365 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/0.9637, allocations: 305.3 kB / 0.7368 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005864/0.9643, allocations: 304.6 kB / 0.7371 GB, free: 151.1 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.002756/0.967, allocations: 2.147 MB / 0.7392 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004395/0.9675, allocations: 289.5 kB / 0.7395 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007136/0.9746, allocations: 5.133 MB / 0.7445 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-05/0.9747, allocations: 46.59 kB / 0.7445 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.9747, allocations: 7.688 kB / 0.7445 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.9747, allocations: 10.92 kB / 0.7445 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/0.9907, allocations: 11.83 MB / 0.7561 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.9908, allocations: 8 kB / 0.7561 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.9923, allocations: 399.3 kB / 0.7565 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/0.9944, allocations: 0.776 MB / 0.7572 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.9946, allocations: 59.56 kB / 0.7573 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.9989, allocations: 4.285 MB / 0.7615 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.9989, allocations: 15.94 kB / 0.7615 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009003/1.008, allocations: 7.632 MB / 0.7689 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008467/1.009, allocations: 260.8 kB / 0.7692 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/1.009, allocations: 47.98 kB / 0.7692 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.01, allocations: 147.7 kB / 0.7694 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/1.011, allocations: 164.4 kB / 0.7695 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.011, allocations: 71.98 kB / 0.7696 GB, free: 129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00204/1.013, allocations: 1.689 MB / 0.7712 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.013, allocations: 0 / 0.7712 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003601/1.016, allocations: 0.9671 MB / 0.7722 GB, free: 126.3 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.008716/1.025, allocations: 8.294 MB / 0.7803 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006776/1.032, allocations: 5.415 MB / 0.7856 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/1.032, allocations: 0 / 0.7856 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/1.034, allocations: 2 MB / 0.7875 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/1.036, allocations: 405.7 kB / 0.7879 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05273/1.089, allocations: 42.37 MB / 0.8293 GB, free: 63.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002999/1.092, allocations: 3.367 MB / 0.8326 GB, free: 59.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003702/1.096, allocations: 1.978 MB / 0.8345 GB, free: 57.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002316/1.098, allocations: 1.839 MB / 0.8363 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of SimCode: time 1.824e-06/1.098, allocations: 0 / 0.8363 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/1.216, allocations: 64.6 MB / 0.8994 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.24/25.46, allocations: 7.875 kB / 0.8994 GB, free: 7.766 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.473439763009083]