Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001671/0.001671, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001872/0.001872, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.465/1.465, allocations: 230.6 MB / 254.8 MB, free: 14.88 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 44.9 MB / 355.8 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 67.91 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.124, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.00984/0.1338, allocations: 7.632 MB / 0.5599 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005663/0.1395, allocations: 2.597 MB / 0.5624 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009858/0.1405, allocations: 35.88 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.1427, allocations: 0.9109 MB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.1437, allocations: 322.3 kB / 0.5637 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009883/0.1447, allocations: 323.3 kB / 0.564 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.1461, allocations: 0.7317 MB / 0.5647 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.1472, allocations: 0.6773 MB / 0.5653 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007447/0.1479, allocations: 366.6 kB / 0.5657 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.1492, allocations: 0.6894 MB / 0.5664 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003165/0.1495, allocations: 104 kB / 0.5665 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.1506, allocations: 0.5421 MB / 0.567 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006967/0.1513, allocations: 0.4985 MB / 0.5675 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.1523, allocations: 0.5671 MB / 0.568 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002867/0.1552, allocations: 1.771 MB / 0.5698 GB, free: 8.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1552, allocations: 4 kB / 0.5698 GB, free: 8.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1552, allocations: 4 kB / 0.5698 GB, free: 8.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.444e-05/0.1552, allocations: 0 / 0.5698 GB, free: 8.297 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.004514/0.1597, allocations: 1.658 MB / 0.5714 GB, free: 6.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.1598, allocations: 8.031 kB / 0.5714 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.203e-05/0.1599, allocations: 34.12 kB / 0.5714 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004131/0.1603, allocations: 182.5 kB / 0.5716 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009351/0.1612, allocations: 172 kB / 0.5718 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.1626, allocations: 0.6321 MB / 0.5724 GB, free: 5.523 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/0.1627, allocations: 69.91 kB / 0.5725 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.1629, allocations: 79.91 kB / 0.5725 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/0.169, allocations: 2.669 MB / 0.5751 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/0.169, allocations: 7.938 kB / 0.5751 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.1692, allocations: 39.97 kB / 0.5752 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005585/0.1697, allocations: 381.7 kB / 0.5755 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005833/0.1756, allocations: 2.361 MB / 0.5779 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00978/0.1853, allocations: 8.249 MB / 0.5859 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/0.1894, allocations: 0.9467 MB / 0.5868 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.1898, allocations: 236.7 kB / 0.5871 GB, free: 6.074 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/0.1915, allocations: 1.726 MB / 0.5887 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.1915, allocations: 38.56 kB / 0.5888 GB, free: 4.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.1915, allocations: 0 / 0.5888 GB, free: 4.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.01236/0.2039, allocations: 2.965 MB / 0.5917 GB, free: 1.047 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.204, allocations: 63.95 kB / 0.5917 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.2052, allocations: 0.8991 MB / 0.5926 GB, free: 68 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.2052, allocations: 33.7 kB / 0.5927 GB, free: 28 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2523/0.4575, allocations: 0.6695 MB / 0.5933 GB, free: 40.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.4578, allocations: 226.7 kB / 0.5935 GB, free: 39.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/0.4581, allocations: 246.8 kB / 0.5938 GB, free: 39.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4583, allocations: 398.8 kB / 0.5941 GB, free: 39.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.459, allocations: 372.6 kB / 0.5945 GB, free: 39.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008469/0.4598, allocations: 0.9944 MB / 0.5955 GB, free: 38.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.4612, allocations: 1.495 MB / 0.5969 GB, free: 37.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/0.4612, allocations: 7.297 kB / 0.5969 GB, free: 37.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00224/0.4635, allocations: 1.409 MB / 0.5983 GB, free: 37.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.4635, allocations: 15.2 kB / 0.5983 GB, free: 37.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-05/0.4636, allocations: 22.41 kB / 0.5983 GB, free: 37.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.478e-05/0.4636, allocations: 33.19 kB / 0.5984 GB, free: 37.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.4649, allocations: 315.7 kB / 0.5987 GB, free: 37.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000864/0.4658, allocations: 1.453 MB / 0.6001 GB, free: 35.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.4665, allocations: 58.67 kB / 0.6001 GB, free: 35.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4666, allocations: 68.72 kB / 0.6002 GB, free: 35.59 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.0006393/0.4673, allocations: 0.4913 MB / 0.6007 GB, free: 35.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.4674, allocations: 88.16 kB / 0.6008 GB, free: 35.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.4677, allocations: 114.5 kB / 0.6009 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.4677, allocations: 8.469 kB / 0.6009 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4677, allocations: 9.688 kB / 0.6009 GB, free: 35.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4677, allocations: 2.484 kB / 0.6009 GB, free: 35.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/0.4717, allocations: 2.169 MB / 0.603 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.4717, allocations: 6.516 kB / 0.603 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/0.4723, allocations: 124.5 kB / 0.6031 GB, free: 34.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.348e-05/0.4723, allocations: 9.562 kB / 0.6032 GB, free: 34.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.4724, allocations: 14.66 kB / 0.6032 GB, free: 34.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008659/0.4732, allocations: 1.433 MB / 0.6046 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.487e-05/0.4733, allocations: 14.28 kB / 0.6046 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.4744, allocations: 0.8237 MB / 0.6054 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.4747, allocations: 174.5 kB / 0.6056 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.336e-05/0.4747, allocations: 19.53 kB / 0.6056 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.4751, allocations: 17.97 kB / 0.6056 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.4752, allocations: 61.72 kB / 0.6057 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.4752, allocations: 18.48 kB / 0.6057 GB, free: 31.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008104/0.4761, allocations: 0.5973 MB / 0.6063 GB, free: 31.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4761, allocations: 0 / 0.6063 GB, free: 31.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001136/0.4772, allocations: 210 kB / 0.6065 GB, free: 31.58 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.001369/0.4786, allocations: 1.416 MB / 0.6078 GB, free: 30.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.4805, allocations: 0.8385 MB / 0.6087 GB, free: 30.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4805, allocations: 0.9062 kB / 0.6087 GB, free: 30.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.4809, allocations: 273.6 kB / 0.6089 GB, free: 30.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.4818, allocations: 124 kB / 0.609 GB, free: 30.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.4937, allocations: 9.411 MB / 0.6182 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/0.4946, allocations: 1.222 MB / 0.6194 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009104/0.4955, allocations: 339.5 kB / 0.6197 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.496, allocations: 404.6 kB / 0.6201 GB, free: 22.92 MB / 446.1 MB Notification: Performance of SimCode: time 1.253e-06/0.496, allocations: 2.219 kB / 0.6201 GB, free: 22.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.529, allocations: 17.41 MB / 0.6371 GB, free: 10.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/16.83, allocations: 8.062 kB / 0.6371 GB, free: 10.26 MB / 446.1 MB " [Timeout remaining time 643] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 20.255246868007816]