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.001391/0.001391, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.1 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 76.66 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 62.44 MB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008783/0.1134, allocations: 7.587 MB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004719/0.1182, allocations: 2.589 MB / 490.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005855/0.1188, allocations: 31.94 kB / 490.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.1206, allocations: 0.8993 MB / 491.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000608/0.1212, allocations: 306.3 kB / 491.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.1219, allocations: 315.3 kB / 491.8 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000709/0.1226, allocations: 0.7425 MB / 492.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008433/0.1234, allocations: 0.8103 MB / 493.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.1238, allocations: 358.6 kB / 493.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007609/0.1246, allocations: 0.6505 MB / 494.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.1248, allocations: 108 kB / 494.5 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007177/0.1255, allocations: 0.5187 MB / 495 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004125/0.1259, allocations: 498.7 kB / 495.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.1264, allocations: 0.5749 MB / 496.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.128, allocations: 1.714 MB / 497.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.128, allocations: 0 / 497.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.128, allocations: 0 / 497.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.128, allocations: 4 kB / 497.8 MB, free: 3.398 MB / 366.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.003011/0.131, allocations: 1.626 MB / 499.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1311, allocations: 8.031 kB / 499.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/0.1313, allocations: 182.5 kB / 499.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006569/0.1319, allocations: 163.2 kB / 499.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.1329, allocations: 0.6239 MB / 0.4887 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.1329, allocations: 66.09 kB / 0.4887 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.1331, allocations: 79.97 kB / 0.4888 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004997/0.1381, allocations: 2.67 MB / 0.4914 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.1382, allocations: 11.92 kB / 0.4914 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.1383, allocations: 39.97 kB / 0.4915 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004568/0.1388, allocations: 377.7 kB / 0.4918 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005377/0.1442, allocations: 2.365 MB / 0.4941 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009362/0.1536, allocations: 8.271 MB / 0.5022 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.1575, allocations: 0.9757 MB / 0.5032 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.1579, allocations: 260.7 kB / 0.5034 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1824/0.3404, allocations: 1.718 MB / 0.5051 GB, free: 41.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.3404, allocations: 39.94 kB / 0.5051 GB, free: 41.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.655e-06/0.3405, allocations: 0 / 0.5051 GB, free: 41.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01206/0.3525, allocations: 2.946 MB / 0.508 GB, free: 41.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.3526, allocations: 60.58 kB / 0.5081 GB, free: 41.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.3538, allocations: 0.9015 MB / 0.5089 GB, free: 41.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.3538, allocations: 36.52 kB / 0.509 GB, free: 41.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.3541, allocations: 0.6554 MB / 0.5096 GB, free: 40.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3543, allocations: 214.7 kB / 0.5098 GB, free: 40.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.3546, allocations: 246.5 kB / 0.5101 GB, free: 40.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3547, allocations: 399.5 kB / 0.5104 GB, free: 39.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.3552, allocations: 378.8 kB / 0.5108 GB, free: 39.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/0.3559, allocations: 0.9909 MB / 0.5118 GB, free: 38.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.3574, allocations: 1.493 MB / 0.5132 GB, free: 37.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.3575, allocations: 7 kB / 0.5132 GB, free: 37.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001982/0.3595, allocations: 1.397 MB / 0.5146 GB, free: 37.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.3595, allocations: 14.94 kB / 0.5146 GB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.3595, allocations: 22.91 kB / 0.5146 GB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.692e-05/0.3596, allocations: 34.44 kB / 0.5147 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.3608, allocations: 319.3 kB / 0.515 GB, free: 37.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008552/0.3617, allocations: 1.447 MB / 0.5164 GB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/0.3624, allocations: 61.3 kB / 0.5164 GB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-05/0.3625, allocations: 64.5 kB / 0.5165 GB, free: 35.58 MB / 382.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.0007323/0.3633, allocations: 0.4942 MB / 0.517 GB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.3634, allocations: 86.03 kB / 0.5171 GB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.3636, allocations: 114.8 kB / 0.5172 GB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3636, allocations: 6.562 kB / 0.5172 GB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3636, allocations: 4.734 kB / 0.5172 GB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.3636, allocations: 7.688 kB / 0.5172 GB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.3672, allocations: 2.17 MB / 0.5193 GB, free: 34.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.3672, allocations: 7.031 kB / 0.5193 GB, free: 34.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005349/0.3678, allocations: 125.8 kB / 0.5194 GB, free: 34.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/0.3678, allocations: 9.281 kB / 0.5195 GB, free: 34.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.3679, allocations: 17.94 kB / 0.5195 GB, free: 34.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006397/0.3685, allocations: 1.425 MB / 0.5209 GB, free: 32.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.3685, allocations: 11.39 kB / 0.5209 GB, free: 32.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009367/0.3695, allocations: 0.8249 MB / 0.5217 GB, free: 32.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.3697, allocations: 162.4 kB / 0.5218 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.3698, allocations: 26.33 kB / 0.5219 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.3701, allocations: 14.48 kB / 0.5219 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.821e-05/0.3702, allocations: 62.56 kB / 0.5219 GB, free: 31.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.3703, allocations: 22.53 kB / 0.522 GB, free: 31.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007642/0.371, allocations: 0.5929 MB / 0.5225 GB, free: 31.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.371, allocations: 3.938 kB / 0.5225 GB, free: 31.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001086/0.3721, allocations: 217.7 kB / 0.5227 GB, free: 31.57 MB / 382.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.001055/0.3732, allocations: 1.397 MB / 0.5241 GB, free: 30.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.3749, allocations: 0.9438 MB / 0.525 GB, free: 30.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.375, allocations: 1.312 kB / 0.525 GB, free: 30.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.3754, allocations: 284.5 kB / 0.5253 GB, free: 30.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/0.3762, allocations: 121.4 kB / 0.5254 GB, free: 30 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.3865, allocations: 9.812 MB / 0.535 GB, free: 23.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.3871, allocations: 1.218 MB / 0.5362 GB, free: 22.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008023/0.3879, allocations: 341.4 kB / 0.5365 GB, free: 21.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.3883, allocations: 403.3 kB / 0.5369 GB, free: 21.43 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3884, allocations: 0 / 0.5369 GB, free: 21.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.4197, allocations: 16.88 MB / 0.5534 GB, free: 4.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.421, allocations: 12.95 kB / 0.5534 GB, free: 4.676 MB / 382.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