Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001674/0.001674, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00193/0.00193, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.00852/0.3289, allocations: 7.586 MB / 0.5379 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005177/0.3341, allocations: 2.577 MB / 0.5405 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008648/0.335, allocations: 32.81 kB / 0.5405 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.3369, allocations: 0.8978 MB / 0.5414 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006525/0.3376, allocations: 322.9 kB / 0.5417 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.3383, allocations: 325.1 kB / 0.542 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007431/0.3391, allocations: 0.739 MB / 0.5427 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009847/0.3401, allocations: 0.8096 MB / 0.5435 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.3405, allocations: 367.8 kB / 0.5438 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.3414, allocations: 0.6526 MB / 0.5445 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.3416, allocations: 105 kB / 0.5446 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007893/0.3424, allocations: 0.5188 MB / 0.5451 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004739/0.3429, allocations: 0.4891 MB / 0.5456 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.3433, allocations: 0.5632 MB / 0.5461 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.3451, allocations: 1.79 MB / 0.5479 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3451, allocations: 0 / 0.5479 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3451, allocations: 0 / 0.5479 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.3452, allocations: 0 / 0.5479 GB, free: 15.97 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.003073/0.3482, allocations: 1.652 MB / 0.5495 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3483, allocations: 12.03 kB / 0.5495 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/0.3485, allocations: 178.5 kB / 0.5497 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006407/0.3491, allocations: 168 kB / 0.5498 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.3503, allocations: 0.6399 MB / 0.5504 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.3504, allocations: 62.09 kB / 0.5505 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.3506, allocations: 83.95 kB / 0.5506 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004668/0.3552, allocations: 2.666 MB / 0.5532 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.3553, allocations: 11.92 kB / 0.5532 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/0.3554, allocations: 39.91 kB / 0.5532 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004722/0.3559, allocations: 385.7 kB / 0.5536 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004785/0.3607, allocations: 2.361 MB / 0.5559 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008119/0.3688, allocations: 8.257 MB / 0.564 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/0.3726, allocations: 0.9755 MB / 0.5649 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.373, allocations: 260.8 kB / 0.5652 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/0.3744, allocations: 1.722 MB / 0.5669 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3744, allocations: 42.55 kB / 0.5669 GB, free: 11.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.324e-06/0.3745, allocations: 3.938 kB / 0.5669 GB, free: 11.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01142/0.3859, allocations: 2.965 MB / 0.5698 GB, free: 8.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.3859, allocations: 59.97 kB / 0.5699 GB, free: 8.617 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3871, allocations: 0.8875 MB / 0.5707 GB, free: 7.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.3871, allocations: 37.7 kB / 0.5708 GB, free: 7.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.3875, allocations: 0.6861 MB / 0.5714 GB, free: 6.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.3877, allocations: 218.2 kB / 0.5716 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.388, allocations: 254.8 kB / 0.5719 GB, free: 6.516 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3882, allocations: 398.7 kB / 0.5723 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/0.3888, allocations: 370.4 kB / 0.5726 GB, free: 5.754 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000927/0.3897, allocations: 0.9953 MB / 0.5736 GB, free: 4.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.3913, allocations: 1.499 MB / 0.575 GB, free: 2.645 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/0.3914, allocations: 8 kB / 0.5751 GB, free: 2.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002103/0.3935, allocations: 1.393 MB / 0.5764 GB, free: 1.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.3935, allocations: 19.94 kB / 0.5764 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/0.3936, allocations: 20.88 kB / 0.5765 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.279e-05/0.3936, allocations: 32 kB / 0.5765 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.3948, allocations: 323.5 kB / 0.5768 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.3959, allocations: 1.451 MB / 0.5782 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/0.3966, allocations: 51.98 kB / 0.5783 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/0.3967, allocations: 64 kB / 0.5783 GB, free: 15.15 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.0006272/0.3974, allocations: 0.5088 MB / 0.5788 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.3975, allocations: 87.39 kB / 0.5789 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.3977, allocations: 116.5 kB / 0.579 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3977, allocations: 8 kB / 0.579 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3977, allocations: 4 kB / 0.579 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3977, allocations: 0 / 0.579 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.4014, allocations: 2.168 MB / 0.5811 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4014, allocations: 8 kB / 0.5811 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.4019, allocations: 127.9 kB / 0.5813 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.402, allocations: 8 kB / 0.5813 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.402, allocations: 16 kB / 0.5813 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008872/0.4029, allocations: 1.428 MB / 0.5827 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.4029, allocations: 11.94 kB / 0.5827 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009525/0.4039, allocations: 0.8351 MB / 0.5835 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.4041, allocations: 164.5 kB / 0.5837 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.4042, allocations: 23.98 kB / 0.5837 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.4046, allocations: 19.94 kB / 0.5837 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.4047, allocations: 47.83 kB / 0.5838 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.4047, allocations: 27.98 kB / 0.5838 GB, free: 9.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007448/0.4055, allocations: 0.5966 MB / 0.5844 GB, free: 8.551 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4055, allocations: 0 / 0.5844 GB, free: 8.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009974/0.4065, allocations: 219.9 kB / 0.5846 GB, free: 8.336 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.001251/0.4077, allocations: 1.398 MB / 0.5859 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.4093, allocations: 0.8826 MB / 0.5868 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.4093, allocations: 0 / 0.5868 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.4098, allocations: 288.4 kB / 0.5871 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.4106, allocations: 112.9 kB / 0.5872 GB, free: 5.562 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.4229, allocations: 9.426 MB / 0.5964 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.424, allocations: 1.224 MB / 0.5976 GB, free: 9.992 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007916/0.4248, allocations: 339.6 kB / 0.5979 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005627/0.4254, allocations: 403.3 kB / 0.5983 GB, free: 9.262 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4254, allocations: 0 / 0.5983 GB, free: 9.262 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04324/0.4686, allocations: 17.24 MB / 0.6151 GB, free: 8.184 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.57, allocations: 2.656 kB / 0.6151 GB, free: 8.184 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.csv","/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_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches