Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.001382/0.001382, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.001422/0.001422, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.469/1.469, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2242/0.2242, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.91 kB / 0.4916 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1199, allocations: 65.98 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009558/0.1294, allocations: 7.632 MB / 0.5635 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00548/0.1349, allocations: 2.605 MB / 0.5661 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009547/0.1358, allocations: 35.88 kB / 0.5661 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.1379, allocations: 0.8993 MB / 0.567 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008652/0.1387, allocations: 326.3 kB / 0.5673 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008074/0.1396, allocations: 331.2 kB / 0.5676 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009256/0.1405, allocations: 0.7201 MB / 0.5683 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008632/0.1413, allocations: 0.6773 MB / 0.569 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.1418, allocations: 366.7 kB / 0.5693 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009939/0.1428, allocations: 0.6894 MB / 0.57 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.1429, allocations: 107.9 kB / 0.5701 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008658/0.1438, allocations: 0.5382 MB / 0.5706 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000515/0.1443, allocations: 0.5025 MB / 0.5711 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.1449, allocations: 0.5632 MB / 0.5717 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.147, allocations: 1.771 MB / 0.5734 GB, free: 4.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.147, allocations: 4 kB / 0.5734 GB, free: 4.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.147, allocations: 4 kB / 0.5734 GB, free: 4.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.147, allocations: 0 / 0.5734 GB, free: 4.016 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003429/0.1504, allocations: 1.66 MB / 0.575 GB, free: 2.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1505, allocations: 12.03 kB / 0.575 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.51e-05/0.1505, allocations: 26.19 kB / 0.575 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002223/0.1507, allocations: 182.5 kB / 0.5752 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007173/0.1514, allocations: 168 kB / 0.5754 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.1525, allocations: 0.6438 MB / 0.576 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/0.1526, allocations: 61.91 kB / 0.5761 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.1528, allocations: 79.97 kB / 0.5761 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005482/0.1583, allocations: 2.674 MB / 0.5788 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.1583, allocations: 7.938 kB / 0.5788 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.1584, allocations: 35.97 kB / 0.5788 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005154/0.1589, allocations: 385.7 kB / 0.5792 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00561/0.1645, allocations: 2.361 MB / 0.5815 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.1746, allocations: 8.245 MB / 0.5895 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.1786, allocations: 0.9545 MB / 0.5905 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.179, allocations: 232.7 kB / 0.5907 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2356/0.4146, allocations: 1.73 MB / 0.5924 GB, free: 35.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.4146, allocations: 36.31 kB / 0.5924 GB, free: 35.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.645e-06/0.4146, allocations: 0 / 0.5924 GB, free: 35.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.01194/0.4266, allocations: 2.964 MB / 0.5953 GB, free: 35.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.4266, allocations: 58.66 kB / 0.5954 GB, free: 35.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4278, allocations: 0.8994 MB / 0.5962 GB, free: 35.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.4278, allocations: 37.39 kB / 0.5963 GB, free: 35.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.4282, allocations: 0.683 MB / 0.5969 GB, free: 35.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.4283, allocations: 218.6 kB / 0.5971 GB, free: 35.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.4286, allocations: 248.2 kB / 0.5974 GB, free: 35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4287, allocations: 402 kB / 0.5978 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005793/0.4293, allocations: 371.4 kB / 0.5981 GB, free: 34.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007857/0.4301, allocations: 0.9978 MB / 0.5991 GB, free: 33.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.4315, allocations: 1.491 MB / 0.6005 GB, free: 32.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.4315, allocations: 6.25 kB / 0.6006 GB, free: 32.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002068/0.4336, allocations: 1.403 MB / 0.6019 GB, free: 32.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.4336, allocations: 22.12 kB / 0.6019 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.4337, allocations: 23.19 kB / 0.602 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-05/0.4337, allocations: 30.47 kB / 0.602 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.4349, allocations: 315.8 kB / 0.6023 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007075/0.4356, allocations: 1.456 MB / 0.6037 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.4363, allocations: 50.02 kB / 0.6038 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-05/0.4364, allocations: 65.89 kB / 0.6038 GB, free: 30.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005448/0.4369, allocations: 0.4947 MB / 0.6043 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.437, allocations: 90.44 kB / 0.6044 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.4372, allocations: 115 kB / 0.6045 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4372, allocations: 6.609 kB / 0.6045 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.4372, allocations: 2.531 kB / 0.6045 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4373, allocations: 3.422 kB / 0.6045 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.4408, allocations: 2.177 MB / 0.6066 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.4408, allocations: 5.938 kB / 0.6067 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.4413, allocations: 125.1 kB / 0.6068 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.4413, allocations: 17.5 kB / 0.6068 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.4413, allocations: 17.59 kB / 0.6068 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005717/0.4419, allocations: 1.423 MB / 0.6082 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.4419, allocations: 11.59 kB / 0.6082 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00081/0.4427, allocations: 0.8334 MB / 0.609 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.4429, allocations: 171.2 kB / 0.6092 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.4429, allocations: 15.06 kB / 0.6092 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.4433, allocations: 21.64 kB / 0.6092 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.4433, allocations: 59.86 kB / 0.6093 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4434, allocations: 21.81 kB / 0.6093 GB, free: 26.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007583/0.4441, allocations: 0.5918 MB / 0.6099 GB, free: 26.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4441, allocations: 0 / 0.6099 GB, free: 26.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001007/0.4451, allocations: 216.5 kB / 0.6101 GB, free: 26.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.4462, allocations: 1.397 MB / 0.6114 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.4475, allocations: 0.8486 MB / 0.6123 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4475, allocations: 1.062 kB / 0.6123 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.4479, allocations: 268.2 kB / 0.6125 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.4486, allocations: 120.1 kB / 0.6126 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.4593, allocations: 9.415 MB / 0.6218 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007826/0.4601, allocations: 1.218 MB / 0.623 GB, free: 18.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007795/0.4609, allocations: 343.7 kB / 0.6234 GB, free: 18.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/0.4613, allocations: 406.8 kB / 0.6237 GB, free: 17.84 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4613, allocations: 0 / 0.6237 GB, free: 17.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.5018, allocations: 17.4 MB / 0.6407 GB, free: 3.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/16.41, allocations: 18.59 kB / 0.6408 GB, free: 3.234 MB / 446.1 MB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.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: 19.885882597998716]