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.001358/0.001358, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001593/0.001593, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2232/0.2232, allocations: 46.94 MB / 360.9 MB, free: 4.336 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 67.91 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3138, allocations: 66.03 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009712/0.3235, allocations: 7.651 MB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.3286, allocations: 2.618 MB / 0.5707 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006992/0.3293, allocations: 39.88 kB / 0.5707 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.3312, allocations: 0.9071 MB / 0.5716 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007401/0.332, allocations: 322.3 kB / 0.5719 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.3327, allocations: 319.3 kB / 0.5722 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008479/0.3336, allocations: 0.7356 MB / 0.5729 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008064/0.3344, allocations: 0.6384 MB / 0.5736 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.3348, allocations: 374.5 kB / 0.5739 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009889/0.3358, allocations: 0.6855 MB / 0.5746 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.3359, allocations: 104 kB / 0.5747 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008082/0.3368, allocations: 0.5421 MB / 0.5752 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004861/0.3372, allocations: 0.5064 MB / 0.5757 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.3378, allocations: 0.5594 MB / 0.5763 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.3397, allocations: 1.782 MB / 0.578 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3397, allocations: 4 kB / 0.578 GB, free: 2.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3397, allocations: 0 / 0.578 GB, free: 2.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.3397, allocations: 0 / 0.578 GB, free: 2.609 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.003343/0.343, allocations: 1.581 MB / 0.5795 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3431, allocations: 8.031 kB / 0.5795 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.3433, allocations: 186.5 kB / 0.5797 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006603/0.344, allocations: 164 kB / 0.5799 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.3451, allocations: 0.5756 MB / 0.5804 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.3452, allocations: 66.08 kB / 0.5805 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.3454, allocations: 83.95 kB / 0.5806 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005032/0.3504, allocations: 2.665 MB / 0.5832 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.3504, allocations: 7.938 kB / 0.5832 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-05/0.3505, allocations: 35.97 kB / 0.5832 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005277/0.351, allocations: 389.7 kB / 0.5836 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005023/0.3561, allocations: 2.361 MB / 0.5859 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009934/0.366, allocations: 8.217 MB / 0.5939 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003648/0.3697, allocations: 0.9404 MB / 0.5949 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.37, allocations: 232.7 kB / 0.5951 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.3713, allocations: 0.6161 MB / 0.5957 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.173e-05/0.3713, allocations: 42.59 kB / 0.5957 GB, free: 15.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 3.767e-06/0.3713, allocations: 3.938 kB / 0.5957 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.01091/0.3822, allocations: 2.96 MB / 0.5986 GB, free: 12.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.3823, allocations: 63.84 kB / 0.5987 GB, free: 12.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.3834, allocations: 0.8953 MB / 0.5995 GB, free: 12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.3835, allocations: 37.64 kB / 0.5996 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005028/0.384, allocations: 0.6783 MB / 0.6002 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.3842, allocations: 222.2 kB / 0.6005 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.3845, allocations: 250.8 kB / 0.6007 GB, free: 10.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.3847, allocations: 402.7 kB / 0.6011 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005666/0.3853, allocations: 366.4 kB / 0.6014 GB, free: 10.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.3865, allocations: 0.9952 MB / 0.6024 GB, free: 8.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.3883, allocations: 1.494 MB / 0.6039 GB, free: 6.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3883, allocations: 4 kB / 0.6039 GB, free: 6.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002065/0.3903, allocations: 1.4 MB / 0.6052 GB, free: 5.527 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.3904, allocations: 15.94 kB / 0.6052 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.3904, allocations: 28.16 kB / 0.6053 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.305e-05/0.3904, allocations: 28 kB / 0.6053 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.3916, allocations: 319.5 kB / 0.6056 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.3927, allocations: 1.363 MB / 0.6069 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.3933, allocations: 48 kB / 0.607 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.3934, allocations: 67.94 kB / 0.607 GB, free: 3.551 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.0006491/0.394, allocations: 0.501 MB / 0.6075 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3941, allocations: 87.39 kB / 0.6076 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.3944, allocations: 116.5 kB / 0.6077 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3944, allocations: 8 kB / 0.6077 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3944, allocations: 0 / 0.6077 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.3944, allocations: 3.984 kB / 0.6077 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.398, allocations: 2.14 MB / 0.6098 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.398, allocations: 8 kB / 0.6098 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.3985, allocations: 123.8 kB / 0.61 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.3985, allocations: 8 kB / 0.61 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.3985, allocations: 20 kB / 0.61 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009881/0.3995, allocations: 1.324 MB / 0.6113 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.3995, allocations: 11.92 kB / 0.6113 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.4006, allocations: 0.8374 MB / 0.6121 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.4007, allocations: 87.42 kB / 0.6122 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.4008, allocations: 19.92 kB / 0.6122 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.4011, allocations: 16 kB / 0.6122 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.4012, allocations: 55.81 kB / 0.6123 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.4012, allocations: 27.98 kB / 0.6123 GB, free: 13.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007584/0.402, allocations: 0.5927 MB / 0.6129 GB, free: 13.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.402, allocations: 0 / 0.6129 GB, free: 13.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000943/0.4029, allocations: 219.9 kB / 0.6131 GB, free: 13 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.001369/0.4043, allocations: 1.408 MB / 0.6145 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.4057, allocations: 0.8428 MB / 0.6153 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4057, allocations: 3.938 kB / 0.6153 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.4061, allocations: 261 kB / 0.6155 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.0007599/0.4069, allocations: 127.4 kB / 0.6157 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.4196, allocations: 9.428 MB / 0.6249 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.4206, allocations: 1.22 MB / 0.6261 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008154/0.4215, allocations: 343.5 kB / 0.6264 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.422, allocations: 411.3 kB / 0.6268 GB, free: 13.96 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.422, allocations: 0 / 0.6268 GB, free: 13.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05195/0.474, allocations: 18.39 MB / 0.6447 GB, free: 11.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/18.94, allocations: 0 / 0.6447 GB, free: 11.77 MB / 494.1 MB " [Timeout remaining time 641] (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: 22.056532066781074]