Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2489/0.2489, allocations: 46.93 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 67.91 kB / 0.4909 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1523, allocations: 66.01 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01742/0.1697, allocations: 13.55 MB / 0.5686 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009384/0.1791, allocations: 4.197 MB / 0.5727 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.1815, allocations: 75.75 kB / 0.5728 GB, free: 3.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004288/0.1858, allocations: 1.837 MB / 0.5746 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004974/0.1908, allocations: 1.86 MB / 0.5764 GB, free: 220 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1924, allocations: 0.5536 MB / 0.5769 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005788/0.1982, allocations: 3.896 MB / 0.5808 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003883/0.202, allocations: 2.314 MB / 0.583 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/0.2049, allocations: 1.39 MB / 0.5844 GB, free: 8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003898/0.2088, allocations: 2.138 MB / 0.5865 GB, free: 5.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.21, allocations: 292 kB / 0.5867 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.213, allocations: 1.026 MB / 0.5877 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002789/0.2158, allocations: 1.792 MB / 0.5895 GB, free: 2.746 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004201/0.22, allocations: 2.096 MB / 0.5915 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3031/0.5231, allocations: 6.916 MB / 0.5983 GB, free: 9.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5231, allocations: 0 / 0.5983 GB, free: 9.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5231, allocations: 0.7812 kB / 0.5983 GB, free: 9.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003167/0.5234, allocations: 0 / 0.5983 GB, free: 9.871 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.01541/0.5388, allocations: 4.655 MB / 0.6028 GB, free: 7.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.5389, allocations: 10.31 kB / 0.6028 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002975/0.5418, allocations: 0.765 MB / 0.6036 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/0.5546, allocations: 3.16 MB / 0.6067 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006864/0.5614, allocations: 2.344 MB / 0.609 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003008/0.5617, allocations: 216.6 kB / 0.6092 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/0.5636, allocations: 291.8 kB / 0.6095 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0236/0.5872, allocations: 11.11 MB / 0.6203 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/0.5873, allocations: 36.23 kB / 0.6203 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008021/0.5881, allocations: 133.5 kB / 0.6205 GB, free: 3.828 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004685/0.5928, allocations: 2.62 MB / 0.623 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02253/0.6154, allocations: 10.37 MB / 0.6332 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06883/0.6842, allocations: 36.56 MB / 0.6689 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.6943, allocations: 4.385 MB / 0.6731 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003886/0.6982, allocations: 2.217 MB / 0.6753 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/0.6997, allocations: 1.316 MB / 0.6766 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/0.6997, allocations: 59.59 kB / 0.6766 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.801e-06/0.6997, allocations: 0 / 0.6766 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.04703/0.7468, allocations: 17.65 MB / 0.6939 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.7468, allocations: 73.41 kB / 0.6939 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004644/0.7515, allocations: 2.75 MB / 0.6966 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004853/0.752, allocations: 53.7 kB / 0.6967 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002421/0.7544, allocations: 2.885 MB / 0.6995 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.7557, allocations: 0.9618 MB / 0.7004 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/0.7576, allocations: 1.077 MB / 0.7015 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7577, allocations: 301.1 kB / 0.7018 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004004/0.7617, allocations: 2.311 MB / 0.704 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006669/0.7684, allocations: 5.216 MB / 0.7091 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/0.78, allocations: 8.256 MB / 0.7172 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.898e-05/0.7801, allocations: 36 kB / 0.7172 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01847/0.7986, allocations: 8.276 MB / 0.7253 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.53e-05/0.7987, allocations: 48 kB / 0.7254 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000165/0.7988, allocations: 100 kB / 0.7255 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.802, allocations: 0.9422 MB / 0.7264 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004771/0.8068, allocations: 1.217 MB / 0.7276 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008112/0.8149, allocations: 5.144 MB / 0.7326 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0042/0.8191, allocations: 295.8 kB / 0.7329 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/0.8204, allocations: 307.9 kB / 0.7332 GB, free: 4.609 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.005614/0.826, allocations: 2.147 MB / 0.7353 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007066/0.8267, allocations: 298 kB / 0.7355 GB, free: 2.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.838, allocations: 5.116 MB / 0.7405 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-05/0.8381, allocations: 47.98 kB / 0.7406 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.8381, allocations: 0 / 0.7406 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.185e-05/0.8381, allocations: 7.969 kB / 0.7406 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02586/0.864, allocations: 11.87 MB / 0.7522 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-05/0.864, allocations: 8 kB / 0.7522 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/0.866, allocations: 399.4 kB / 0.7526 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002829/0.8688, allocations: 0.7756 MB / 0.7533 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005503/0.8694, allocations: 54.64 kB / 0.7534 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006725/0.8761, allocations: 4.386 MB / 0.7577 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.988e-05/0.8761, allocations: 19.92 kB / 0.7577 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/0.8896, allocations: 7.626 MB / 0.7651 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000886/0.8905, allocations: 339.2 kB / 0.7655 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005694/0.891, allocations: 59.03 kB / 0.7655 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.8925, allocations: 139.8 kB / 0.7656 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004181/0.8929, allocations: 153 kB / 0.7658 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/0.8931, allocations: 82.59 kB / 0.7659 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003067/0.8961, allocations: 1.685 MB / 0.7675 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8962, allocations: 0 / 0.7675 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004894/0.901, allocations: 0.9669 MB / 0.7685 GB, free: 15.97 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.01397/0.915, allocations: 8.297 MB / 0.7766 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01058/0.9256, allocations: 5.407 MB / 0.7818 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/0.9256, allocations: 4 kB / 0.7818 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004039/0.9297, allocations: 2.003 MB / 0.7838 GB, free: 104 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/0.9325, allocations: 398.7 kB / 0.7842 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08016/1.013, allocations: 42.24 MB / 0.8254 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005612/1.018, allocations: 3.367 MB / 0.8287 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004833/1.023, allocations: 1.986 MB / 0.8307 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003635/1.027, allocations: 1.831 MB / 0.8324 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of SimCode: time 1.613e-06/1.027, allocations: 0 / 0.8324 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4199/1.447, allocations: 60.05 MB / 0.8911 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.69/24.14, allocations: 18.48 kB / 0.8911 GB, free: 215.7 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 27.729718792019412]