Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 76.16 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3714, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01395/0.3854, allocations: 11.76 MB / 0.542 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.3965, allocations: 4.055 MB / 0.546 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/0.3997, allocations: 60.28 kB / 0.546 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0034/0.4031, allocations: 1.182 MB / 0.5472 GB, free: 272 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005845/0.4091, allocations: 1.723 MB / 0.5489 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.411, allocations: 0.5457 MB / 0.5494 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006945/0.418, allocations: 4.049 MB / 0.5533 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.4213, allocations: 1.782 MB / 0.5551 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.4239, allocations: 1.152 MB / 0.5562 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/0.4268, allocations: 1.674 MB / 0.5578 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009289/0.4278, allocations: 216 kB / 0.558 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.4309, allocations: 1.279 MB / 0.5593 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002245/0.4332, allocations: 1.57 MB / 0.5608 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003554/0.4368, allocations: 1.836 MB / 0.5626 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.4468, allocations: 6.196 MB / 0.5687 GB, free: 10.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/0.4469, allocations: 0 / 0.5687 GB, free: 10.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.4469, allocations: 0 / 0.5687 GB, free: 10.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002772/0.4472, allocations: 4 kB / 0.5687 GB, free: 10.59 MB / 430.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.01171/0.4589, allocations: 4.092 MB / 0.5727 GB, free: 6.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.753e-05/0.459, allocations: 8.031 kB / 0.5727 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002197/0.4612, allocations: 0.6876 MB / 0.5734 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01995/0.4812, allocations: 6.153 MB / 0.5794 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006943/0.4882, allocations: 2.622 MB / 0.5819 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.4885, allocations: 184.5 kB / 0.5821 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/0.4901, allocations: 311.7 kB / 0.5824 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02085/0.511, allocations: 10.72 MB / 0.5929 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.5112, allocations: 35.69 kB / 0.5929 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001422/0.5127, allocations: 115.8 kB / 0.593 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004631/0.5173, allocations: 2.459 MB / 0.5954 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02286/0.5402, allocations: 10.16 MB / 0.6053 GB, free: 4.438 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05907/0.5993, allocations: 35.49 MB / 0.64 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.6112, allocations: 5.606 MB / 0.6455 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003434/0.6147, allocations: 2.331 MB / 0.6477 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/0.6166, allocations: 1.876 MB / 0.6496 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.6167, allocations: 56.5 kB / 0.6496 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 5.901e-06/0.6167, allocations: 0 / 0.6496 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.0385/0.6552, allocations: 14.96 MB / 0.6642 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001477/0.6567, allocations: 1.599 MB / 0.6658 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004678/0.6614, allocations: 2.811 MB / 0.6685 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004945/0.662, allocations: 57.69 kB / 0.6686 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002107/0.6641, allocations: 2.67 MB / 0.6712 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.6654, allocations: 0.8558 MB / 0.672 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002708/0.6681, allocations: 1.091 MB / 0.6731 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6682, allocations: 309 kB / 0.6734 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004567/0.6728, allocations: 2.63 MB / 0.676 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006826/0.6797, allocations: 5.631 MB / 0.6815 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/0.6925, allocations: 8.937 MB / 0.6902 GB, free: 8.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/0.6927, allocations: 32 kB / 0.6902 GB, free: 8.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06093/0.7537, allocations: 17.12 MB / 0.7069 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.7538, allocations: 55.98 kB / 0.707 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04204/0.7959, allocations: 10.63 MB / 0.7174 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04317/0.8391, allocations: 8.639 MB / 0.7258 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/0.8441, allocations: 1.298 MB / 0.7271 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2838/1.128, allocations: 17.82 MB / 0.7445 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/1.132, allocations: 426.4 kB / 0.7449 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006907/1.133, allocations: 315.2 kB / 0.7452 GB, free: 170.2 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.002848/1.136, allocations: 2.026 MB / 0.7472 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004112/1.136, allocations: 269.8 kB / 0.7474 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007185/1.143, allocations: 5.109 MB / 0.7524 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006072/1.149, allocations: 4.409 MB / 0.7567 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.149, allocations: 0 / 0.7567 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.149, allocations: 14.5 kB / 0.7567 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/1.166, allocations: 12.91 MB / 0.7693 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.166, allocations: 8 kB / 0.7693 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.168, allocations: 455.2 kB / 0.7698 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002552/1.171, allocations: 0.9459 MB / 0.7707 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002254/1.171, allocations: 47.97 kB / 0.7707 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/1.176, allocations: 5.828 MB / 0.7764 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007106/1.177, allocations: 1.55 MB / 0.778 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009129/1.186, allocations: 7.739 MB / 0.7855 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006531/1.187, allocations: 338.1 kB / 0.7858 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/1.187, allocations: 39.98 kB / 0.7859 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.189, allocations: 195.7 kB / 0.7861 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/1.189, allocations: 140.9 kB / 0.7862 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.189, allocations: 67.98 kB / 0.7863 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001966/1.191, allocations: 1.729 MB / 0.7879 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.41e-07/1.191, allocations: 0 / 0.7879 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004017/1.195, allocations: 1.08 MB / 0.789 GB, free: 134.6 MB / 0.5762 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.009416/1.204, allocations: 8.393 MB / 0.7972 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008911/1.213, allocations: 6.569 MB / 0.8036 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/1.213, allocations: 0 / 0.8036 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003029/1.216, allocations: 2.531 MB / 0.8061 GB, free: 117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/1.219, allocations: 374.3 kB / 0.8064 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1161/1.335, allocations: 56.62 MB / 0.8617 GB, free: 55.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002899/1.338, allocations: 3.155 MB / 0.8648 GB, free: 52.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003602/1.342, allocations: 2.063 MB / 0.8668 GB, free: 50.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/1.344, allocations: 1.655 MB / 0.8684 GB, free: 48.45 MB / 0.5762 GB Notification: Performance of SimCode: time 1.223e-06/1.344, allocations: 0 / 0.8684 GB, free: 48.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/1.457, allocations: 72 MB / 0.9388 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.53/21.99, allocations: 10.88 kB / 0.9388 GB, free: 8.621 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches