Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 110.7 kB / 16.41 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 188.1 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2112/0.2112, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 71.89 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1067, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008268/0.115, allocations: 7.629 MB / 0.4949 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004684/0.1197, allocations: 2.536 MB / 0.4973 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008854/0.1206, allocations: 35.94 kB / 0.4974 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.1225, allocations: 0.8876 MB / 0.4982 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008809/0.1234, allocations: 326.3 kB / 0.4985 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/0.1242, allocations: 319.3 kB / 0.4989 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009831/0.1252, allocations: 0.7591 MB / 0.4996 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009968/0.1262, allocations: 0.8295 MB / 0.5004 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005461/0.1268, allocations: 366.6 kB / 0.5008 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009556/0.1278, allocations: 0.6621 MB / 0.5014 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.128, allocations: 104 kB / 0.5015 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000849/0.1289, allocations: 0.5148 MB / 0.502 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005268/0.1294, allocations: 0.4948 MB / 0.5025 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000766/0.1302, allocations: 0.5749 MB / 0.503 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.1321, allocations: 1.783 MB / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1321, allocations: 0 / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1321, allocations: 0 / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.832e-05/0.1322, allocations: 0 / 0.5048 GB, free: 10.41 MB / 398.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.003516/0.1357, allocations: 1.634 MB / 0.5064 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1358, allocations: 15.89 kB / 0.5064 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002975/0.1361, allocations: 182.5 kB / 0.5066 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.1368, allocations: 163.2 kB / 0.5067 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.1379, allocations: 0.6357 MB / 0.5074 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.138, allocations: 62.09 kB / 0.5074 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.1382, allocations: 87.86 kB / 0.5075 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004979/0.1432, allocations: 2.661 MB / 0.5101 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/0.1432, allocations: 11.94 kB / 0.5101 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.1434, allocations: 39.97 kB / 0.5101 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004713/0.1439, allocations: 385.7 kB / 0.5105 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005115/0.149, allocations: 2.353 MB / 0.5128 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009092/0.1581, allocations: 8.247 MB / 0.5209 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.1617, allocations: 0.9828 MB / 0.5218 GB, free: 8.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.1621, allocations: 260.7 kB / 0.5221 GB, free: 8.188 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.1635, allocations: 1.726 MB / 0.5238 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.1636, allocations: 38.55 kB / 0.5238 GB, free: 6.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.825e-06/0.1636, allocations: 0 / 0.5238 GB, free: 6.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01106/0.1746, allocations: 2.947 MB / 0.5267 GB, free: 3.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1747, allocations: 55.97 kB / 0.5267 GB, free: 3.109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.1759, allocations: 0.9107 MB / 0.5276 GB, free: 2.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.176, allocations: 33.7 kB / 0.5276 GB, free: 2.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/0.1764, allocations: 0.6642 MB / 0.5283 GB, free: 1.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.1766, allocations: 209.1 kB / 0.5285 GB, free: 1.266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.1769, allocations: 250.6 kB / 0.5287 GB, free: 1.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1771, allocations: 398.7 kB / 0.5291 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.1776, allocations: 366.4 kB / 0.5295 GB, free: 264 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1927/0.3704, allocations: 1.002 MB / 0.5304 GB, free: 39.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.3718, allocations: 1.496 MB / 0.5319 GB, free: 39.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.3719, allocations: 5.938 kB / 0.5319 GB, free: 39.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002015/0.3739, allocations: 1.395 MB / 0.5333 GB, free: 38.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.3739, allocations: 18 kB / 0.5333 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.374, allocations: 21.81 kB / 0.5333 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.384e-05/0.374, allocations: 32.25 kB / 0.5333 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.3752, allocations: 321.1 kB / 0.5336 GB, free: 38.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008342/0.3761, allocations: 1.451 MB / 0.5351 GB, free: 37.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.3768, allocations: 53.95 kB / 0.5351 GB, free: 37.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.3769, allocations: 65.94 kB / 0.5352 GB, free: 37.4 MB / 414.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.0006051/0.3775, allocations: 0.4967 MB / 0.5357 GB, free: 37.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3776, allocations: 88.77 kB / 0.5357 GB, free: 37.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.3778, allocations: 116 kB / 0.5359 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3778, allocations: 8.062 kB / 0.5359 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3778, allocations: 5 kB / 0.5359 GB, free: 37.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3778, allocations: 2.672 kB / 0.5359 GB, free: 37.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/0.3811, allocations: 2.17 MB / 0.538 GB, free: 36.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.3812, allocations: 7.156 kB / 0.538 GB, free: 36.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.3816, allocations: 128.5 kB / 0.5381 GB, free: 36.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.3817, allocations: 9.875 kB / 0.5381 GB, free: 36.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.3817, allocations: 23.55 kB / 0.5382 GB, free: 36.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005793/0.3823, allocations: 1.423 MB / 0.5395 GB, free: 35.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.3823, allocations: 11.14 kB / 0.5396 GB, free: 35.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.3831, allocations: 0.8331 MB / 0.5404 GB, free: 34.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.3834, allocations: 201.8 kB / 0.5406 GB, free: 34.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.293e-05/0.3835, allocations: 16.45 kB / 0.5406 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.3838, allocations: 23.59 kB / 0.5406 GB, free: 34.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.3839, allocations: 51.45 kB / 0.5406 GB, free: 34.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.3839, allocations: 26.72 kB / 0.5407 GB, free: 34.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007128/0.3846, allocations: 0.6008 MB / 0.5413 GB, free: 34.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3846, allocations: 0 / 0.5413 GB, free: 34.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001028/0.3857, allocations: 217.5 kB / 0.5415 GB, free: 34.21 MB / 414.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.001059/0.3867, allocations: 1.396 MB / 0.5428 GB, free: 33.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.3882, allocations: 0.8828 MB / 0.5437 GB, free: 32.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.3882, allocations: 1.188 kB / 0.5437 GB, free: 32.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.3886, allocations: 281.9 kB / 0.544 GB, free: 32.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007914/0.3894, allocations: 129 kB / 0.5441 GB, free: 32.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.4011, allocations: 9.401 MB / 0.5533 GB, free: 26.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008478/0.402, allocations: 1.222 MB / 0.5545 GB, free: 25.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008679/0.4029, allocations: 340 kB / 0.5548 GB, free: 25.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.4033, allocations: 411 kB / 0.5552 GB, free: 25.56 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4034, allocations: 0.9844 kB / 0.5552 GB, free: 25.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.4353, allocations: 17.31 MB / 0.5721 GB, free: 14.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.11, allocations: 3.938 kB / 0.5721 GB, free: 14.01 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches