Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 112.8 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 184.8 kB / 18.7 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2325/0.2325, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.89 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3618, allocations: 60.83 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01467/0.3765, allocations: 13.55 MB / 0.5317 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.3871, allocations: 4.153 MB / 0.5357 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003922/0.391, allocations: 68.84 kB / 0.5358 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004881/0.396, allocations: 1.827 MB / 0.5376 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006386/0.4024, allocations: 1.884 MB / 0.5394 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.4045, allocations: 0.5497 MB / 0.5399 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007208/0.4118, allocations: 3.882 MB / 0.5437 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004752/0.4166, allocations: 2.696 MB / 0.5464 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.42, allocations: 1.382 MB / 0.5477 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.4239, allocations: 1.955 MB / 0.5496 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.4252, allocations: 292 kB / 0.5499 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.4286, allocations: 1.01 MB / 0.5509 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002674/0.4313, allocations: 1.761 MB / 0.5526 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004268/0.4356, allocations: 2.128 MB / 0.5547 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.4463, allocations: 6.948 MB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.4464, allocations: 4 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.4464, allocations: 3.938 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002396/0.4466, allocations: 0 / 0.5615 GB, free: 15.84 MB / 430.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.01077/0.4574, allocations: 4.563 MB / 0.5659 GB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4575, allocations: 8.031 kB / 0.5659 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001514/0.459, allocations: 0.7619 MB / 0.5667 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.4693, allocations: 3.126 MB / 0.5697 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/0.4743, allocations: 2.46 MB / 0.5721 GB, free: 4.785 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.4745, allocations: 225.5 kB / 0.5724 GB, free: 4.562 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/0.4758, allocations: 287.7 kB / 0.5726 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.4957, allocations: 11.11 MB / 0.5835 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.4959, allocations: 31.72 kB / 0.5835 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/0.4973, allocations: 135.8 kB / 0.5836 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004501/0.5018, allocations: 2.624 MB / 0.5862 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/0.5221, allocations: 10.37 MB / 0.5963 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06/0.5822, allocations: 36.46 MB / 0.6319 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00952/0.5918, allocations: 4.573 MB / 0.6364 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003589/0.5954, allocations: 2.4 MB / 0.6387 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.5968, allocations: 1.319 MB / 0.64 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.143e-05/0.597, allocations: 52.56 kB / 0.6401 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.853e-06/0.597, allocations: 7.938 kB / 0.6401 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04437/0.6413, allocations: 17.58 MB / 0.6573 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.6414, allocations: 73.34 kB / 0.6573 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/0.6462, allocations: 2.751 MB / 0.66 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004992/0.6467, allocations: 61.61 kB / 0.6601 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002291/0.649, allocations: 2.772 MB / 0.6628 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001382/0.6505, allocations: 0.9133 MB / 0.6637 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002631/0.6531, allocations: 1.068 MB / 0.6647 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6532, allocations: 305.1 kB / 0.665 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/0.6571, allocations: 2.314 MB / 0.6673 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006261/0.6634, allocations: 5.21 MB / 0.6724 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.6738, allocations: 8.261 MB / 0.6804 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/0.674, allocations: 28 kB / 0.6804 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01689/0.6909, allocations: 8.277 MB / 0.6885 GB, free: 8.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.6911, allocations: 48 kB / 0.6886 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001937/0.6913, allocations: 100 kB / 0.6887 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003259/0.6945, allocations: 0.9377 MB / 0.6896 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/0.699, allocations: 1.22 MB / 0.6908 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00749/0.7066, allocations: 5.136 MB / 0.6958 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004489/0.7111, allocations: 291.8 kB / 0.6961 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/0.7125, allocations: 308 kB / 0.6964 GB, free: 0.5234 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.005278/0.7178, allocations: 2.154 MB / 0.6985 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008993/0.7187, allocations: 284.3 kB / 0.6987 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.73, allocations: 5.121 MB / 0.7037 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.671e-05/0.7301, allocations: 51.97 kB / 0.7038 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.7301, allocations: 4 kB / 0.7038 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.33e-05/0.7302, allocations: 11.97 kB / 0.7038 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/0.7543, allocations: 11.88 MB / 0.7154 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/0.7544, allocations: 8 kB / 0.7154 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/0.7563, allocations: 395.4 kB / 0.7158 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/0.7588, allocations: 0.7776 MB / 0.7165 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005299/0.7594, allocations: 47.91 kB / 0.7166 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006006/0.7654, allocations: 4.39 MB / 0.7209 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.77e-05/0.7655, allocations: 23.86 kB / 0.7209 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2851/1.051, allocations: 7.623 MB / 0.7283 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.052, allocations: 324.8 kB / 0.7287 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.053, allocations: 48.09 kB / 0.7287 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.055, allocations: 147.5 kB / 0.7288 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006187/1.056, allocations: 152.2 kB / 0.729 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003164/1.056, allocations: 78.02 kB / 0.7291 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003898/1.06, allocations: 1.693 MB / 0.7307 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.71e-07/1.06, allocations: 1.094 kB / 0.7307 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005861/1.066, allocations: 0.9864 MB / 0.7317 GB, free: 180.7 MB / 0.5762 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.01434/1.08, allocations: 8.283 MB / 0.7398 GB, free: 177.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.09, allocations: 5.67 MB / 0.7453 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/1.09, allocations: 0 / 0.7453 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003662/1.094, allocations: 2.148 MB / 0.7474 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/1.097, allocations: 404.7 kB / 0.7478 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06415/1.161, allocations: 42.1 MB / 0.7889 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004228/1.166, allocations: 3.371 MB / 0.7922 GB, free: 134.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003869/1.17, allocations: 1.986 MB / 0.7941 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/1.172, allocations: 1.839 MB / 0.7959 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/1.172, allocations: 0 / 0.7959 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0938/1.266, allocations: 59.7 MB / 0.8542 GB, free: 71.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.43/23.7, allocations: 15.94 kB / 0.8542 GB, free: 71.15 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches