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.001551/0.001551, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001582/0.001582, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2276/0.2276, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.00209/0.00209, allocations: 71.89 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009137/0.3455, allocations: 6.74 MB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005655/0.3511, allocations: 2.451 MB / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.3522, allocations: 35.88 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.3543, allocations: 0.876 MB / 0.5705 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009006/0.3552, allocations: 322.3 kB / 0.5708 GB, free: 9.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008506/0.3561, allocations: 323.3 kB / 0.5711 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00094/0.357, allocations: 0.7278 MB / 0.5718 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008537/0.3579, allocations: 0.6345 MB / 0.5724 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.3583, allocations: 366.6 kB / 0.5728 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009714/0.3593, allocations: 0.6581 MB / 0.5734 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.3595, allocations: 104 kB / 0.5735 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008481/0.3603, allocations: 0.5031 MB / 0.574 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005456/0.3609, allocations: 0.5025 MB / 0.5745 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004951/0.3614, allocations: 453.5 kB / 0.5749 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.3635, allocations: 1.794 MB / 0.5767 GB, free: 3.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3635, allocations: 4 kB / 0.5767 GB, free: 3.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3635, allocations: 0 / 0.5767 GB, free: 3.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.3635, allocations: 0 / 0.5767 GB, free: 3.703 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.003437/0.3669, allocations: 1.581 MB / 0.5782 GB, free: 2.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.367, allocations: 15.95 kB / 0.5782 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003164/0.3673, allocations: 182.5 kB / 0.5784 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007184/0.368, allocations: 168 kB / 0.5786 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.3694, allocations: 0.5756 MB / 0.5791 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.445e-05/0.3695, allocations: 62.09 kB / 0.5792 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.3697, allocations: 83.97 kB / 0.5793 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005808/0.3755, allocations: 2.669 MB / 0.5819 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.3756, allocations: 7.938 kB / 0.5819 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.3757, allocations: 35.97 kB / 0.5819 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005323/0.3762, allocations: 385.7 kB / 0.5823 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005873/0.3821, allocations: 2.349 MB / 0.5846 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.3936, allocations: 7.905 MB / 0.5923 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/0.3975, allocations: 0.9331 MB / 0.5932 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.3979, allocations: 240.7 kB / 0.5934 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.3991, allocations: 0.62 MB / 0.594 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.3991, allocations: 34.56 kB / 0.5941 GB, free: 1.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.896e-06/0.3991, allocations: 0 / 0.5941 GB, free: 1.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01181/0.4109, allocations: 2.968 MB / 0.597 GB, free: 14.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.411, allocations: 55.91 kB / 0.597 GB, free: 14.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4122, allocations: 0.9339 MB / 0.5979 GB, free: 13.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.4123, allocations: 37.7 kB / 0.598 GB, free: 13.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005429/0.4128, allocations: 0.6745 MB / 0.5986 GB, free: 12.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.413, allocations: 234.1 kB / 0.5989 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00036/0.4134, allocations: 242.8 kB / 0.5991 GB, free: 12.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002686/0.4136, allocations: 402.7 kB / 0.5995 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006934/0.4143, allocations: 370.4 kB / 0.5998 GB, free: 11.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.4155, allocations: 0.9913 MB / 0.6008 GB, free: 10.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.4174, allocations: 1.498 MB / 0.6023 GB, free: 8.316 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.4174, allocations: 4 kB / 0.6023 GB, free: 8.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002345/0.4197, allocations: 1.396 MB / 0.6036 GB, free: 6.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.4198, allocations: 19.94 kB / 0.6036 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.4198, allocations: 20 kB / 0.6037 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.473e-05/0.4198, allocations: 36.06 kB / 0.6037 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4211, allocations: 319.5 kB / 0.604 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.4223, allocations: 1.344 MB / 0.6053 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.423, allocations: 56.16 kB / 0.6054 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/0.4231, allocations: 64 kB / 0.6054 GB, free: 4.945 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.0007428/0.4238, allocations: 0.5009 MB / 0.6059 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.424, allocations: 95.39 kB / 0.606 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.4242, allocations: 116.5 kB / 0.6061 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4242, allocations: 7.938 kB / 0.6061 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4242, allocations: 3.938 kB / 0.6061 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.4242, allocations: 7.984 kB / 0.6061 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/0.428, allocations: 2.062 MB / 0.6081 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.4281, allocations: 12.16 kB / 0.6082 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/0.4286, allocations: 123.8 kB / 0.6083 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.4286, allocations: 8 kB / 0.6083 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.4286, allocations: 20 kB / 0.6083 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.4299, allocations: 1.313 MB / 0.6096 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.4299, allocations: 11.94 kB / 0.6096 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.431, allocations: 0.8294 MB / 0.6104 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.4312, allocations: 95.36 kB / 0.6105 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.4313, allocations: 16 kB / 0.6105 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.4316, allocations: 19.94 kB / 0.6105 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.4317, allocations: 55.86 kB / 0.6106 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.4318, allocations: 24 kB / 0.6106 GB, free: 15.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008645/0.4327, allocations: 0.5927 MB / 0.6112 GB, free: 14.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4327, allocations: 0 / 0.6112 GB, free: 14.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001023/0.4337, allocations: 216 kB / 0.6114 GB, free: 14.47 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.001507/0.4352, allocations: 1.408 MB / 0.6128 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.4368, allocations: 0.8427 MB / 0.6136 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.4368, allocations: 0 / 0.6136 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.4373, allocations: 261 kB / 0.6138 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.4381, allocations: 136.8 kB / 0.614 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.4521, allocations: 9.43 MB / 0.6232 GB, free: 1.414 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/0.453, allocations: 0.6126 MB / 0.6238 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009798/0.4539, allocations: 343.6 kB / 0.6241 GB, free: 440 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/0.4546, allocations: 407.3 kB / 0.6245 GB, free: 32 kB / 462.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4546, allocations: 0 / 0.6245 GB, free: 32 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05412/0.5087, allocations: 18.1 MB / 0.6422 GB, free: 14.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.43, allocations: 4.062 kB / 0.6422 GB, free: 14.22 MB / 494.1 MB " [Timeout remaining time 647] (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: 16.026088007260114]