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.001695/0.001695, 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.001962/0.001962, allocations: 205.2 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.215/0.215, allocations: 44.91 MB / 359.6 MB, free: 6.324 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.002058/0.002058, allocations: 59.91 kB / 0.4939 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2811, allocations: 65.47 MB / 0.5578 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.00925/0.2904, allocations: 7.654 MB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004817/0.2952, allocations: 2.615 MB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/0.2956, allocations: 39.88 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.2976, allocations: 0.9071 MB / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.2982, allocations: 322.3 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.2989, allocations: 331.3 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008102/0.2997, allocations: 0.7162 MB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007996/0.3005, allocations: 0.6461 MB / 0.5707 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.3009, allocations: 374.5 kB / 0.5711 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/0.3019, allocations: 0.6855 MB / 0.5717 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.302, allocations: 108 kB / 0.5718 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000792/0.3028, allocations: 0.542 MB / 0.5724 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000482/0.3033, allocations: 0.4986 MB / 0.5728 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.3038, allocations: 0.5672 MB / 0.5734 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.3057, allocations: 1.782 MB / 0.5751 GB, free: 5.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3057, allocations: 0 / 0.5751 GB, free: 5.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3057, allocations: 3.938 kB / 0.5751 GB, free: 5.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.3057, allocations: 0 / 0.5751 GB, free: 5.941 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.003299/0.309, allocations: 1.577 MB / 0.5767 GB, free: 4.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.309, allocations: 12.03 kB / 0.5767 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.557e-05/0.3091, allocations: 22.19 kB / 0.5767 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/0.3093, allocations: 186.5 kB / 0.5769 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006982/0.31, allocations: 175.9 kB / 0.5771 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.3111, allocations: 0.5717 MB / 0.5776 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.3112, allocations: 61.91 kB / 0.5777 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.3113, allocations: 79.97 kB / 0.5778 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005288/0.3166, allocations: 2.669 MB / 0.5804 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.3167, allocations: 11.94 kB / 0.5804 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3168, allocations: 39.97 kB / 0.5804 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005413/0.3173, allocations: 389.8 kB / 0.5808 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/0.3229, allocations: 2.349 MB / 0.5831 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009681/0.3326, allocations: 8.229 MB / 0.5911 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.3366, allocations: 0.9326 MB / 0.592 GB, free: 4.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.337, allocations: 236.7 kB / 0.5922 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.3381, allocations: 0.6161 MB / 0.5929 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3382, allocations: 34.67 kB / 0.5929 GB, free: 3.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.435e-06/0.3382, allocations: 3.938 kB / 0.5929 GB, free: 3.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01212/0.3503, allocations: 2.963 MB / 0.5958 GB, free: 296 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3503, allocations: 59.91 kB / 0.5958 GB, free: 224 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.3516, allocations: 0.8992 MB / 0.5967 GB, free: 15.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.3516, allocations: 37.7 kB / 0.5968 GB, free: 15.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/0.3521, allocations: 0.6783 MB / 0.5974 GB, free: 14.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.3523, allocations: 218.2 kB / 0.5976 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.3526, allocations: 250.8 kB / 0.5979 GB, free: 14.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.3528, allocations: 402.7 kB / 0.5982 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.3534, allocations: 366.4 kB / 0.5986 GB, free: 13.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.3545, allocations: 1.007 MB / 0.5996 GB, free: 12.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.3563, allocations: 1.49 MB / 0.601 GB, free: 10.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.3563, allocations: 4 kB / 0.601 GB, free: 10.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002136/0.3584, allocations: 1.408 MB / 0.6024 GB, free: 8.824 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.3584, allocations: 12 kB / 0.6024 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.3585, allocations: 27.98 kB / 0.6025 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.57e-05/0.3585, allocations: 31.98 kB / 0.6025 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.3597, allocations: 315.5 kB / 0.6028 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.3608, allocations: 1.348 MB / 0.6041 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.3614, allocations: 60.08 kB / 0.6042 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-05/0.3615, allocations: 71.94 kB / 0.6042 GB, free: 6.852 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.0006586/0.3622, allocations: 0.4892 MB / 0.6047 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.3623, allocations: 95.38 kB / 0.6048 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.3625, allocations: 116.5 kB / 0.6049 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3625, allocations: 4 kB / 0.6049 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3626, allocations: 4 kB / 0.6049 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.3626, allocations: 11.92 kB / 0.6049 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.3662, allocations: 2.132 MB / 0.607 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.3662, allocations: 11.94 kB / 0.607 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.3667, allocations: 127.8 kB / 0.6071 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.3667, allocations: 8 kB / 0.6071 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.3668, allocations: 20 kB / 0.6072 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.3678, allocations: 1.321 MB / 0.6085 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.3678, allocations: 11.94 kB / 0.6085 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3688, allocations: 0.8334 MB / 0.6093 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.369, allocations: 91.41 kB / 0.6094 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.3691, allocations: 19.94 kB / 0.6094 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.3694, allocations: 16 kB / 0.6094 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.3695, allocations: 63.73 kB / 0.6095 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.3696, allocations: 20 kB / 0.6095 GB, free: 1.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007861/0.3704, allocations: 0.5927 MB / 0.6101 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3704, allocations: 0 / 0.6101 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000965/0.3713, allocations: 216 kB / 0.6103 GB, free: 316 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.001404/0.3727, allocations: 1.41 MB / 0.6116 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.3742, allocations: 0.842 MB / 0.6125 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3742, allocations: 0 / 0.6125 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.3746, allocations: 261.7 kB / 0.6127 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.3754, allocations: 139.9 kB / 0.6128 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.3883, allocations: 9.434 MB / 0.6221 GB, free: 3.234 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009929/0.3893, allocations: 1.22 MB / 0.6233 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008272/0.3902, allocations: 339.6 kB / 0.6236 GB, free: 1.652 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005656/0.3907, allocations: 407.3 kB / 0.624 GB, free: 1.254 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3907, allocations: 0 / 0.624 GB, free: 1.254 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.436, allocations: 18.41 MB / 0.6419 GB, free: 15.06 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.55/19.99, allocations: 11.52 kB / 0.642 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: 23.48675014602486]