Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",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.001385/0.001385, allocations: 108.1 kB / 16.46 MB, free: 6.508 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.001379/0.001379, allocations: 193.4 kB / 17.39 MB, free: 5.676 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.457/1.457, allocations: 207.6 MB / 225.8 MB, free: 11.52 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.2221/0.2221, allocations: 44.24 MB / 319.9 MB, free: 12.85 MB / 270.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.002063/0.002063, allocations: 71.89 kB / 453.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1188, allocations: 61.01 MB / 0.5025 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01433/0.1331, allocations: 11.85 MB / 0.514 GB, free: 116 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00896/0.1421, allocations: 4.078 MB / 0.518 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.1436, allocations: 63.88 kB / 0.5181 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.1461, allocations: 1.195 MB / 0.5192 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.1503, allocations: 1.798 MB / 0.521 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.1518, allocations: 0.5496 MB / 0.5215 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005105/0.1569, allocations: 3.977 MB / 0.5254 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.159, allocations: 1.588 MB / 0.527 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1608, allocations: 1.175 MB / 0.5281 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2523/0.413, allocations: 1.864 MB / 0.5299 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009395/0.414, allocations: 217.9 kB / 0.5301 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.4167, allocations: 1.341 MB / 0.5315 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.4187, allocations: 1.629 MB / 0.533 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.4209, allocations: 1.866 MB / 0.5349 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009608/0.4305, allocations: 6.287 MB / 0.541 GB, free: 7.547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.4305, allocations: 0.625 kB / 0.541 GB, free: 7.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4305, allocations: 0 / 0.541 GB, free: 7.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003292/0.4308, allocations: 0.75 kB / 0.541 GB, free: 7.547 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.01334/0.4442, allocations: 4.261 MB / 0.5452 GB, free: 5.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.4442, allocations: 13.98 kB / 0.5452 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002146/0.4464, allocations: 0.6831 MB / 0.5459 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01974/0.4661, allocations: 5.718 MB / 0.5514 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008846/0.475, allocations: 2.978 MB / 0.5543 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.4752, allocations: 179.9 kB / 0.5545 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.4766, allocations: 319.3 kB / 0.5548 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/0.4944, allocations: 10.71 MB / 0.5653 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.709e-05/0.4945, allocations: 27.92 kB / 0.5653 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004636/0.4949, allocations: 113.2 kB / 0.5654 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003832/0.4988, allocations: 2.466 MB / 0.5678 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/0.5227, allocations: 10.16 MB / 0.5778 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06369/0.5864, allocations: 35.59 MB / 0.6125 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/0.599, allocations: 5.379 MB / 0.6178 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004449/0.6034, allocations: 2.185 MB / 0.6199 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/0.6055, allocations: 1.877 MB / 0.6217 GB, free: 8.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.6056, allocations: 56.5 kB / 0.6218 GB, free: 8.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 6.062e-06/0.6056, allocations: 0 / 0.6218 GB, free: 8.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.03834/0.6439, allocations: 15.05 MB / 0.6365 GB, free: 9.051 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001622/0.6456, allocations: 1.614 MB / 0.6381 GB, free: 7.285 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004704/0.6503, allocations: 2.828 MB / 0.6408 GB, free: 4.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006449/0.6509, allocations: 62.58 kB / 0.6409 GB, free: 4.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002296/0.6532, allocations: 2.803 MB / 0.6436 GB, free: 1.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00138/0.6546, allocations: 0.8816 MB / 0.6445 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/0.6564, allocations: 1.112 MB / 0.6456 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6565, allocations: 301.1 kB / 0.6458 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004167/0.6607, allocations: 2.63 MB / 0.6484 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007046/0.6677, allocations: 5.624 MB / 0.6539 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/0.6809, allocations: 8.936 MB / 0.6626 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000159/0.681, allocations: 35.94 kB / 0.6627 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06611/0.7471, allocations: 19.01 MB / 0.6812 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.68e-05/0.7472, allocations: 50.44 kB / 0.6813 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0448/0.792, allocations: 12 MB / 0.693 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0469/0.8389, allocations: 10.28 MB / 0.703 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005113/0.8441, allocations: 1.302 MB / 0.7043 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03505/0.8791, allocations: 18.22 MB / 0.7221 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005138/0.8842, allocations: 431.5 kB / 0.7225 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/0.8855, allocations: 316 kB / 0.7228 GB, free: 13.83 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.005739/0.8912, allocations: 2.035 MB / 0.7248 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006906/0.8919, allocations: 286.3 kB / 0.7251 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.9022, allocations: 5.103 MB / 0.7301 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008626/0.9109, allocations: 4.392 MB / 0.7344 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.9109, allocations: 7.875 kB / 0.7344 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.9109, allocations: 11.95 kB / 0.7344 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02658/0.9375, allocations: 12.91 MB / 0.747 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.9375, allocations: 11.94 kB / 0.747 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/0.9396, allocations: 463.2 kB / 0.7474 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002963/0.9425, allocations: 0.9391 MB / 0.7483 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/0.9427, allocations: 47.97 kB / 0.7484 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2547/1.197, allocations: 5.826 MB / 0.7541 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001138/1.199, allocations: 1.545 MB / 0.7556 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.214, allocations: 7.745 MB / 0.7632 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009675/1.215, allocations: 343.9 kB / 0.7635 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009038/1.216, allocations: 45.47 kB / 0.7635 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.218, allocations: 194.6 kB / 0.7637 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004911/1.219, allocations: 145.5 kB / 0.7638 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002576/1.219, allocations: 67.7 kB / 0.7639 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003851/1.223, allocations: 1.739 MB / 0.7656 GB, free: 197.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/1.223, allocations: 1.156 kB / 0.7656 GB, free: 197.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005588/1.229, allocations: 1.1 MB / 0.7667 GB, free: 197.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01189/1.24, allocations: 8.396 MB / 0.7749 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009832/1.25, allocations: 6.373 MB / 0.7811 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.25, allocations: 0 / 0.7811 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003199/1.253, allocations: 2.376 MB / 0.7834 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/1.256, allocations: 383.2 kB / 0.7838 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1336/1.39, allocations: 59.61 MB / 0.842 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004808/1.395, allocations: 3.18 MB / 0.8451 GB, free: 129.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00429/1.399, allocations: 2.056 MB / 0.8471 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/1.402, allocations: 1.671 MB / 0.8487 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.472e-06/1.402, allocations: 0 / 0.8487 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/1.506, allocations: 71.42 MB / 0.9185 GB, free: 54.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.04/22.55, allocations: 19.86 kB / 0.9185 GB, free: 54.39 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches