Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009582/0.0009583, allocations: 175.1 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007822/0.0007822, allocations: 88.98 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2933/0.2933, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 16 kB / 432.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.103, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.185/0.288, allocations: 16.29 MB / 0.4953 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00761/0.2956, allocations: 3.985 MB / 0.4992 GB, free: 33.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.2979, allocations: 68.72 kB / 0.4993 GB, free: 33.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.2994, allocations: 0.6515 MB / 0.4999 GB, free: 33.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004086/0.3035, allocations: 1.822 MB / 0.5017 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.3043, allocations: 279.8 kB / 0.502 GB, free: 33.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008921/0.3052, allocations: 0.9436 MB / 0.5029 GB, free: 32.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.3065, allocations: 1.178 MB / 0.504 GB, free: 32.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.3068, allocations: 295.2 kB / 0.5043 GB, free: 32.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.3074, allocations: 0.61 MB / 0.5049 GB, free: 32.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3075, allocations: 57.53 kB / 0.505 GB, free: 32.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006383/0.3082, allocations: 0.5196 MB / 0.5055 GB, free: 32.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.3086, allocations: 443 kB / 0.5059 GB, free: 32.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.309, allocations: 0.5045 MB / 0.5064 GB, free: 32.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009792/0.3099, allocations: 1.34 MB / 0.5077 GB, free: 32.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.31, allocations: 4 kB / 0.5077 GB, free: 32.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.31, allocations: 1.344 kB / 0.5077 GB, free: 32.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.31, allocations: 0 / 0.5077 GB, free: 32.09 MB / 378.7 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.002403/0.3124, allocations: 1.441 MB / 0.5091 GB, free: 31.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3124, allocations: 10.28 kB / 0.5091 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.3126, allocations: 181.8 kB / 0.5093 GB, free: 31.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005913/0.3132, allocations: 166.1 kB / 0.5094 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.314, allocations: 0.6281 MB / 0.5101 GB, free: 30.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.3141, allocations: 56.75 kB / 0.5101 GB, free: 30.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.3142, allocations: 96.05 kB / 0.5102 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/0.3183, allocations: 2.68 MB / 0.5128 GB, free: 29.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.3183, allocations: 7.312 kB / 0.5128 GB, free: 29.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.3184, allocations: 30.97 kB / 0.5129 GB, free: 29.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003733/0.3188, allocations: 382.9 kB / 0.5132 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004233/0.323, allocations: 2.369 MB / 0.5155 GB, free: 28.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006129/0.3292, allocations: 8.269 MB / 0.5236 GB, free: 23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/0.3325, allocations: 0.9814 MB / 0.5246 GB, free: 22.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.3328, allocations: 257.9 kB / 0.5248 GB, free: 22.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.3338, allocations: 1.733 MB / 0.5265 GB, free: 21.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.3339, allocations: 37.81 kB / 0.5265 GB, free: 21.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.456e-06/0.3339, allocations: 3.938 kB / 0.5266 GB, free: 21.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.01004/0.3439, allocations: 2.971 MB / 0.5295 GB, free: 20.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.344, allocations: 58.22 kB / 0.5295 GB, free: 20.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008552/0.3448, allocations: 0.903 MB / 0.5304 GB, free: 20.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3449, allocations: 29.7 kB / 0.5304 GB, free: 19.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.3452, allocations: 0.6694 MB / 0.5311 GB, free: 19.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3453, allocations: 211.2 kB / 0.5313 GB, free: 19.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.3453, allocations: 21.84 kB / 0.5313 GB, free: 19.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3455, allocations: 403.6 kB / 0.5317 GB, free: 18.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.3459, allocations: 365.4 kB / 0.532 GB, free: 18.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.3466, allocations: 0.9945 MB / 0.533 GB, free: 17.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.3478, allocations: 1.483 MB / 0.5344 GB, free: 16.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.3479, allocations: 5.719 kB / 0.5345 GB, free: 16.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00161/0.3495, allocations: 1.385 MB / 0.5358 GB, free: 16.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3495, allocations: 23.09 kB / 0.5358 GB, free: 16.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.3495, allocations: 26.47 kB / 0.5359 GB, free: 16.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.3496, allocations: 28.81 kB / 0.5359 GB, free: 16.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.3506, allocations: 315.8 kB / 0.5362 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006463/0.3512, allocations: 1.358 MB / 0.5375 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/0.3519, allocations: 54.47 kB / 0.5376 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.352, allocations: 67.66 kB / 0.5376 GB, free: 14.57 MB / 378.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005863/0.3526, allocations: 0.5061 MB / 0.5381 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.633e-05/0.3527, allocations: 86.81 kB / 0.5382 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.3529, allocations: 116.4 kB / 0.5383 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3529, allocations: 6.375 kB / 0.5383 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3529, allocations: 0 / 0.5383 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3529, allocations: 3.281 kB / 0.5383 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/0.3561, allocations: 2.174 MB / 0.5404 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.3562, allocations: 10.42 kB / 0.5405 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.3567, allocations: 129.9 kB / 0.5406 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.3567, allocations: 10 kB / 0.5406 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.3567, allocations: 16.28 kB / 0.5406 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005673/0.3573, allocations: 1.325 MB / 0.5419 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.3573, allocations: 10.44 kB / 0.5419 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.3582, allocations: 0.8236 MB / 0.5427 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.3584, allocations: 209.8 kB / 0.5429 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.3585, allocations: 19.16 kB / 0.5429 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.3589, allocations: 18.28 kB / 0.5429 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.359, allocations: 49.39 kB / 0.543 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.359, allocations: 25.72 kB / 0.543 GB, free: 10.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008177/0.3598, allocations: 0.5946 MB / 0.5436 GB, free: 10.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3598, allocations: 0.7812 kB / 0.5436 GB, free: 10.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001022/0.3609, allocations: 221.1 kB / 0.5438 GB, free: 10.62 MB / 378.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/0.3619, allocations: 1.391 MB / 0.5452 GB, free: 9.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.3633, allocations: 0.8584 MB / 0.546 GB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3633, allocations: 0 / 0.546 GB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.3638, allocations: 280.5 kB / 0.5463 GB, free: 9.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.3651, allocations: 134.4 kB / 0.5464 GB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008957/0.374, allocations: 6.687 MB / 0.5529 GB, free: 4.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/0.3749, allocations: 1.223 MB / 0.5541 GB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.3753, allocations: 405.1 kB / 0.5545 GB, free: 3.824 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3753, allocations: 0 / 0.5545 GB, free: 3.824 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.613/3.988, allocations: 20.19 MB / 0.5742 GB, free: 1.793 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches