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.001235/0.001235, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001332/0.001332, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.427/1.427, 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.242/0.242, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 71.89 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4091, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01759/0.4267, allocations: 13.55 MB / 0.5317 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.4384, allocations: 4.163 MB / 0.5357 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003279/0.4417, allocations: 68.38 kB / 0.5358 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005012/0.4467, allocations: 1.815 MB / 0.5376 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005903/0.4527, allocations: 1.841 MB / 0.5394 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.4547, allocations: 0.5501 MB / 0.5399 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007/0.4617, allocations: 3.878 MB / 0.5437 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005334/0.4671, allocations: 2.7 MB / 0.5463 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.4704, allocations: 1.382 MB / 0.5477 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003835/0.4743, allocations: 1.955 MB / 0.5496 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.4757, allocations: 288 kB / 0.5499 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003592/0.4793, allocations: 1.01 MB / 0.5508 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.4821, allocations: 1.765 MB / 0.5526 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004259/0.4864, allocations: 2.124 MB / 0.5546 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009501/0.4959, allocations: 6.952 MB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.496, allocations: 4 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.496, allocations: 0 / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002656/0.4963, allocations: 0 / 0.5614 GB, free: 15.93 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.0109/0.5072, allocations: 4.567 MB / 0.5659 GB, free: 11.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5072, allocations: 8.031 kB / 0.5659 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002018/0.5093, allocations: 0.7658 MB / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.5207, allocations: 3.122 MB / 0.5697 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006896/0.5276, allocations: 2.452 MB / 0.5721 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.5279, allocations: 221.5 kB / 0.5723 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.5292, allocations: 291.7 kB / 0.5726 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02215/0.5514, allocations: 11.11 MB / 0.5834 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00021/0.5517, allocations: 35.64 kB / 0.5835 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001261/0.553, allocations: 131.8 kB / 0.5836 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00477/0.5577, allocations: 2.62 MB / 0.5861 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02153/0.5793, allocations: 10.38 MB / 0.5963 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.062/0.6414, allocations: 36.47 MB / 0.6319 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009692/0.6511, allocations: 4.569 MB / 0.6364 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003661/0.6548, allocations: 2.404 MB / 0.6387 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/0.6563, allocations: 1.319 MB / 0.64 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.6564, allocations: 52.56 kB / 0.64 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 7.464e-06/0.6564, allocations: 0 / 0.64 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04531/0.7017, allocations: 17.59 MB / 0.6572 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.7019, allocations: 73.41 kB / 0.6573 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005021/0.7069, allocations: 2.747 MB / 0.66 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004728/0.7074, allocations: 57.7 kB / 0.66 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002332/0.7097, allocations: 2.776 MB / 0.6627 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00144/0.7112, allocations: 0.9211 MB / 0.6636 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002598/0.7138, allocations: 1.064 MB / 0.6647 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.714, allocations: 305.1 kB / 0.665 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/0.7179, allocations: 2.31 MB / 0.6672 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006297/0.7243, allocations: 5.21 MB / 0.6723 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.7348, allocations: 8.253 MB / 0.6804 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/0.735, allocations: 32 kB / 0.6804 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01663/0.7516, allocations: 8.277 MB / 0.6885 GB, free: 8.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.7518, allocations: 48 kB / 0.6885 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/0.752, allocations: 103.9 kB / 0.6886 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002955/0.7549, allocations: 0.9415 MB / 0.6895 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004351/0.7593, allocations: 1.213 MB / 0.6907 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007125/0.7665, allocations: 5.14 MB / 0.6957 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/0.7704, allocations: 291.8 kB / 0.696 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/0.7716, allocations: 308 kB / 0.6963 GB, free: 0.6055 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.004891/0.7765, allocations: 2.15 MB / 0.6984 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008059/0.7773, allocations: 280.3 kB / 0.6987 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.7879, allocations: 5.129 MB / 0.7037 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.933e-05/0.788, allocations: 44 kB / 0.7037 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/0.7881, allocations: 3.984 kB / 0.7037 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.116e-05/0.7881, allocations: 11.97 kB / 0.7038 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02522/0.8133, allocations: 11.88 MB / 0.7154 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.163e-05/0.8135, allocations: 12 kB / 0.7154 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.8154, allocations: 399.4 kB / 0.7158 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/0.8179, allocations: 0.7696 MB / 0.7165 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004667/0.8184, allocations: 51.98 kB / 0.7166 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006343/0.8248, allocations: 4.382 MB / 0.7208 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.079e-05/0.8249, allocations: 15.94 kB / 0.7208 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3127/1.138, allocations: 7.627 MB / 0.7283 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009956/1.139, allocations: 332.2 kB / 0.7286 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009175/1.14, allocations: 46.34 kB / 0.7287 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.141, allocations: 142.6 kB / 0.7288 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000515/1.142, allocations: 155.2 kB / 0.7289 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/1.142, allocations: 71.77 kB / 0.729 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003404/1.146, allocations: 1.696 MB / 0.7307 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.31e-07/1.146, allocations: 0.6562 kB / 0.7307 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00546/1.151, allocations: 0.9852 MB / 0.7316 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.01334/1.164, allocations: 8.28 MB / 0.7397 GB, free: 177.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009593/1.174, allocations: 5.678 MB / 0.7453 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/1.174, allocations: 0 / 0.7453 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003402/1.178, 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.002985/1.181, allocations: 401 kB / 0.7477 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06767/1.248, allocations: 42.1 MB / 0.7889 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004758/1.253, allocations: 3.375 MB / 0.7921 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004111/1.257, allocations: 1.984 MB / 0.7941 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002811/1.26, allocations: 1.843 MB / 0.7959 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/1.26, allocations: 0 / 0.7959 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/1.378, allocations: 60.65 MB / 0.8551 GB, free: 70.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.19/23.57, allocations: 15.94 kB / 0.8551 GB, free: 70.32 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