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.001408/0.001408, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001689/0.001689, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2339/0.2339, allocations: 44.91 MB / 358.8 MB, free: 6.273 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",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.002109/0.002109, allocations: 71.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 65.48 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009586/0.3327, allocations: 7.643 MB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005004/0.3377, allocations: 2.618 MB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005733/0.3383, allocations: 39.88 kB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.3402, allocations: 0.9147 MB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006882/0.3409, allocations: 318.3 kB / 0.5683 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.3416, allocations: 327.3 kB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008439/0.3424, allocations: 0.7278 MB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008159/0.3433, allocations: 0.6384 MB / 0.5699 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004318/0.3437, allocations: 378.5 kB / 0.5703 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000953/0.3446, allocations: 0.6816 MB / 0.571 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.3448, allocations: 108 kB / 0.5711 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008122/0.3456, allocations: 0.5382 MB / 0.5716 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005051/0.3461, allocations: 0.5064 MB / 0.5721 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.3467, allocations: 0.5632 MB / 0.5726 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.3487, allocations: 1.782 MB / 0.5744 GB, free: 5.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3487, allocations: 0 / 0.5744 GB, free: 5.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3487, allocations: 0 / 0.5744 GB, free: 5.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.3487, allocations: 0 / 0.5744 GB, free: 5.902 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.003217/0.3519, allocations: 1.584 MB / 0.5759 GB, free: 4.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3519, allocations: 8.031 kB / 0.5759 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002286/0.3522, allocations: 186.5 kB / 0.5761 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006691/0.3528, allocations: 164 kB / 0.5763 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.354, allocations: 0.5795 MB / 0.5768 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/0.3541, allocations: 58.09 kB / 0.5769 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.3542, allocations: 79.97 kB / 0.577 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005291/0.3595, allocations: 2.676 MB / 0.5796 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.3596, allocations: 3.938 kB / 0.5796 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.3597, allocations: 35.97 kB / 0.5796 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005298/0.3602, allocations: 389.7 kB / 0.58 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005318/0.3655, allocations: 2.353 MB / 0.5823 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009847/0.3754, allocations: 8.217 MB / 0.5903 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003659/0.379, allocations: 0.9482 MB / 0.5912 GB, free: 4.145 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.3794, allocations: 232.7 kB / 0.5915 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.3806, allocations: 0.62 MB / 0.5921 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.3806, allocations: 38.56 kB / 0.5921 GB, free: 3.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/0.3806, allocations: 0 / 0.5921 GB, free: 3.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01106/0.3917, allocations: 2.963 MB / 0.595 GB, free: 276 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.3917, allocations: 63.84 kB / 0.5951 GB, free: 200 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.3929, allocations: 0.8953 MB / 0.5959 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.393, allocations: 37.7 kB / 0.596 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000526/0.3935, allocations: 0.6821 MB / 0.5966 GB, free: 14.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.3937, allocations: 222.2 kB / 0.5968 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.394, allocations: 250.8 kB / 0.5971 GB, free: 14.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.3943, allocations: 406.7 kB / 0.5975 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.3948, allocations: 366.4 kB / 0.5978 GB, free: 13.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.396, allocations: 0.9874 MB / 0.5988 GB, free: 12.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.3978, allocations: 1.498 MB / 0.6002 GB, free: 10.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.3978, allocations: 8 kB / 0.6003 GB, free: 10.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002167/0.4, allocations: 1.395 MB / 0.6016 GB, free: 8.812 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.4, allocations: 15.94 kB / 0.6016 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.4001, allocations: 24 kB / 0.6017 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.033e-05/0.4001, allocations: 28.75 kB / 0.6017 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.4013, allocations: 323.5 kB / 0.602 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.4025, allocations: 1.348 MB / 0.6033 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/0.4031, allocations: 51.98 kB / 0.6034 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.4032, allocations: 67.94 kB / 0.6034 GB, free: 6.848 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.0006869/0.4039, allocations: 0.5049 MB / 0.6039 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.404, allocations: 91.38 kB / 0.604 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.4042, allocations: 112.6 kB / 0.6041 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.4042, allocations: 8 kB / 0.6041 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4042, allocations: 3.984 kB / 0.6041 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4042, allocations: 0 / 0.6041 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.4079, allocations: 2.147 MB / 0.6062 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4079, allocations: 4.812 kB / 0.6062 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/0.4085, allocations: 127.8 kB / 0.6063 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.4085, allocations: 8 kB / 0.6064 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.4085, allocations: 20 kB / 0.6064 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.4096, allocations: 1.32 MB / 0.6077 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.4096, allocations: 7.938 kB / 0.6077 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.4107, allocations: 0.8373 MB / 0.6085 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.4108, allocations: 87.42 kB / 0.6086 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/0.4109, allocations: 15.94 kB / 0.6086 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.4113, allocations: 27.98 kB / 0.6086 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.4113, allocations: 47.81 kB / 0.6087 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.4114, allocations: 27.94 kB / 0.6087 GB, free: 1.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008197/0.4122, allocations: 0.5966 MB / 0.6093 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4122, allocations: 0 / 0.6093 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009342/0.4131, allocations: 216 kB / 0.6095 GB, free: 304 kB / 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.001432/0.4146, allocations: 1.404 MB / 0.6108 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.416, allocations: 0.8421 MB / 0.6117 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.416, allocations: 0.8125 kB / 0.6117 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004703/0.4165, allocations: 263.7 kB / 0.6119 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.4172, allocations: 131.6 kB / 0.612 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.4302, allocations: 9.436 MB / 0.6213 GB, free: 3.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.4313, allocations: 1.216 MB / 0.6224 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008741/0.4321, allocations: 343.6 kB / 0.6228 GB, free: 1.648 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/0.4327, allocations: 403.3 kB / 0.6232 GB, free: 1.254 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4327, allocations: 3.938 kB / 0.6232 GB, free: 1.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04998/0.4827, allocations: 18.4 MB / 0.6411 GB, free: 15.06 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.1/19.58, allocations: 3.984 kB / 0.6411 GB, free: 15.05 MB / 494.1 MB " [Timeout remaining time 640] (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: 22.729683147976175]