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.001642/0.001642, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002347/0.002347, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.94 MB / 361.7 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] 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.001931/0.001931, allocations: 67.89 kB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3129, allocations: 66.04 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009479/0.3224, allocations: 7.651 MB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005334/0.3277, allocations: 2.615 MB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008495/0.3285, allocations: 35.88 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.3305, allocations: 0.9032 MB / 0.5724 GB, free: 9.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007933/0.3313, allocations: 330.3 kB / 0.5727 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.332, allocations: 331.1 kB / 0.573 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.3331, allocations: 0.724 MB / 0.5737 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008348/0.3339, allocations: 0.6461 MB / 0.5743 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/0.3344, allocations: 370.6 kB / 0.5747 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009902/0.3354, allocations: 0.6894 MB / 0.5754 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.3356, allocations: 108 kB / 0.5755 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009213/0.3365, allocations: 0.5343 MB / 0.576 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005472/0.337, allocations: 0.5064 MB / 0.5765 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.3377, allocations: 0.5593 MB / 0.577 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.3401, allocations: 1.782 MB / 0.5788 GB, free: 2.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3401, allocations: 4 kB / 0.5788 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3401, allocations: 0 / 0.5788 GB, free: 2.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.3401, allocations: 0 / 0.5788 GB, free: 2.625 MB / 414.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.003715/0.3438, allocations: 1.577 MB / 0.5803 GB, free: 1.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3438, allocations: 8.031 kB / 0.5803 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.348e-05/0.3439, allocations: 26.19 kB / 0.5803 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002545/0.3441, allocations: 182.5 kB / 0.5805 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007327/0.3449, allocations: 176 kB / 0.5807 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.346, allocations: 0.5717 MB / 0.5812 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.3461, allocations: 65.91 kB / 0.5813 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.3463, allocations: 79.97 kB / 0.5814 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006063/0.3523, allocations: 2.669 MB / 0.584 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.733e-05/0.3524, allocations: 11.94 kB / 0.584 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.3525, allocations: 35.97 kB / 0.584 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005823/0.3531, allocations: 385.7 kB / 0.5844 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00562/0.3587, allocations: 2.353 MB / 0.5867 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.3688, allocations: 8.225 MB / 0.5947 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.3729, allocations: 0.9405 MB / 0.5957 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.3733, allocations: 232.7 kB / 0.5959 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.3745, allocations: 0.6161 MB / 0.5965 GB, free: 0 / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.407e-05/0.3746, allocations: 34.67 kB / 0.5965 GB, free: 15.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 1.703e-06/0.3746, allocations: 7.938 kB / 0.5965 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.0126/0.3872, allocations: 2.964 MB / 0.5994 GB, free: 12.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.3873, allocations: 55.91 kB / 0.5995 GB, free: 12.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.3885, allocations: 0.9031 MB / 0.6003 GB, free: 12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.3886, allocations: 33.7 kB / 0.6004 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006461/0.3892, allocations: 0.6783 MB / 0.601 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.3894, allocations: 222.2 kB / 0.6013 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.3898, allocations: 246.8 kB / 0.6015 GB, free: 10.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.39, allocations: 406.6 kB / 0.6019 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.3906, allocations: 370.4 kB / 0.6022 GB, free: 10.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.3918, allocations: 0.9991 MB / 0.6032 GB, free: 8.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.3937, allocations: 1.49 MB / 0.6047 GB, free: 6.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.3937, allocations: 8 kB / 0.6047 GB, free: 6.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002367/0.3961, allocations: 1.404 MB / 0.606 GB, free: 5.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.3961, allocations: 16 kB / 0.6061 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.3962, allocations: 20 kB / 0.6061 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.566e-05/0.3962, allocations: 35.98 kB / 0.6061 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.3974, allocations: 315.5 kB / 0.6064 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.3986, allocations: 1.348 MB / 0.6077 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/0.3993, allocations: 60.08 kB / 0.6078 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.878e-05/0.3994, allocations: 68 kB / 0.6078 GB, free: 3.543 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.0007462/0.4001, allocations: 0.4932 MB / 0.6083 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.4003, allocations: 91.39 kB / 0.6084 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.4005, allocations: 116.5 kB / 0.6085 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4005, allocations: 4 kB / 0.6085 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4005, allocations: 4 kB / 0.6085 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4005, allocations: 7.922 kB / 0.6085 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/0.4044, allocations: 2.136 MB / 0.6106 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4044, allocations: 4 kB / 0.6106 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.4049, allocations: 131.8 kB / 0.6108 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.4049, allocations: 8 kB / 0.6108 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.405, allocations: 12 kB / 0.6108 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.4062, allocations: 1.336 MB / 0.6121 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.4062, allocations: 8 kB / 0.6121 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.4074, allocations: 0.8295 MB / 0.6129 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.4076, allocations: 91.41 kB / 0.613 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.541e-05/0.4077, allocations: 23.94 kB / 0.613 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.408, allocations: 16 kB / 0.613 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.4081, allocations: 59.73 kB / 0.6131 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.4081, allocations: 24 kB / 0.6131 GB, free: 13.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008273/0.409, allocations: 0.5927 MB / 0.6137 GB, free: 13.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.409, allocations: 0 / 0.6137 GB, free: 13.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001018/0.41, allocations: 208 kB / 0.6139 GB, free: 13.01 MB / 462.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.001487/0.4115, allocations: 1.412 MB / 0.6153 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.4132, allocations: 0.8456 MB / 0.6161 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.4132, allocations: 4 kB / 0.6161 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.4137, allocations: 262.1 kB / 0.6163 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.4145, allocations: 132.8 kB / 0.6165 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.4292, allocations: 9.429 MB / 0.6257 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.4303, allocations: 1.227 MB / 0.6269 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008662/0.4312, allocations: 339.6 kB / 0.6272 GB, free: 14.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006551/0.4318, allocations: 407.3 kB / 0.6276 GB, free: 13.95 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4318, allocations: 0 / 0.6276 GB, free: 13.95 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.4784, allocations: 18.41 MB / 0.6456 GB, free: 11.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/19.82, allocations: 9.281 kB / 0.6456 GB, free: 11.75 MB / 494.1 MB " [Timeout remaining time 640] (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: 23.430915224016644]