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.001008/0.001008, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002801, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1186, allocations: 63.56 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.02438/0.143, allocations: 24.7 MB / 0.496 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.1589, allocations: 6.283 MB / 0.5021 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006586/0.1655, allocations: 107.7 kB / 0.5022 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.1672, allocations: 430.2 kB / 0.5026 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.1725, allocations: 1.62 MB / 0.5042 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.174, allocations: 0.5148 MB / 0.5047 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2639/0.4379, allocations: 5.469 MB / 0.51 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004075/0.442, allocations: 2.263 MB / 0.5123 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.444, allocations: 0.9284 MB / 0.5132 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.4467, allocations: 1.691 MB / 0.5148 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005066/0.4472, allocations: 124.4 kB / 0.5149 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.4501, allocations: 1.285 MB / 0.5162 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.4522, allocations: 1.507 MB / 0.5177 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.4546, allocations: 1.757 MB / 0.5194 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008301/0.4629, allocations: 5.75 MB / 0.525 GB, free: 8.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4629, allocations: 0 / 0.525 GB, free: 8.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4629, allocations: 1.156 kB / 0.525 GB, free: 8.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003002/0.4632, allocations: 0 / 0.525 GB, free: 8.938 MB / 382.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.009738/0.473, allocations: 3.373 MB / 0.5283 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.473, allocations: 10.69 kB / 0.5283 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001673/0.4747, allocations: 0.6848 MB / 0.529 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01983/0.4946, allocations: 6.269 MB / 0.5351 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00624/0.5008, allocations: 2.6 MB / 0.5376 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.5011, allocations: 186.1 kB / 0.5378 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.5023, allocations: 313.8 kB / 0.5381 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.5203, allocations: 10.73 MB / 0.5486 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.5205, allocations: 23.81 kB / 0.5486 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004481/0.5209, allocations: 112 kB / 0.5487 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0041/0.5251, allocations: 2.461 MB / 0.5511 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/0.5464, allocations: 10.18 MB / 0.5611 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05708/0.6035, allocations: 35.68 MB / 0.5959 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.6158, allocations: 5.603 MB / 0.6014 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003372/0.6193, allocations: 2.33 MB / 0.6036 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/0.621, allocations: 1.873 MB / 0.6055 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.621, allocations: 60.5 kB / 0.6055 GB, free: 14.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=224): time 6.202e-06/0.621, allocations: 0 / 0.6055 GB, free: 14.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.03826/0.6593, allocations: 14.95 MB / 0.6201 GB, free: 15.49 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001297/0.6606, allocations: 1.525 MB / 0.6216 GB, free: 13.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00561/0.6663, allocations: 2.81 MB / 0.6244 GB, free: 11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004423/0.6667, allocations: 53.7 kB / 0.6244 GB, free: 10.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002112/0.6689, allocations: 2.668 MB / 0.627 GB, free: 8.266 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.6702, allocations: 0.8558 MB / 0.6279 GB, free: 7.422 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/0.6717, allocations: 482.2 kB / 0.6283 GB, free: 6.945 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6718, allocations: 301.1 kB / 0.6286 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004623/0.6764, allocations: 2.63 MB / 0.6312 GB, free: 4.012 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006569/0.683, allocations: 5.634 MB / 0.6367 GB, free: 12.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.6943, allocations: 8.935 MB / 0.6454 GB, free: 2.941 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-05/0.6944, allocations: 32 kB / 0.6454 GB, free: 2.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06424/0.7587, allocations: 17.13 MB / 0.6622 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.7589, allocations: 54.66 kB / 0.6622 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04661/0.8055, allocations: 10.63 MB / 0.6726 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04853/0.8541, allocations: 8.643 MB / 0.681 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005111/0.8592, allocations: 1.302 MB / 0.6823 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02842/0.8877, allocations: 15.63 MB / 0.6976 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005319/0.8931, allocations: 427.6 kB / 0.698 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/0.8947, allocations: 327.7 kB / 0.6983 GB, free: 12.45 MB / 0.545 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.0062/0.9009, allocations: 2.016 MB / 0.7002 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009007/0.9018, allocations: 268.5 kB / 0.7005 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.9129, allocations: 5.12 MB / 0.7055 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008368/0.9213, allocations: 4.407 MB / 0.7098 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.9214, allocations: 4 kB / 0.7098 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/0.9214, allocations: 7.969 kB / 0.7098 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.283/1.204, allocations: 12.92 MB / 0.7224 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/1.204, allocations: 9.031 kB / 0.7224 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002404/1.207, allocations: 455.9 kB / 0.7229 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003129/1.21, allocations: 0.9455 MB / 0.7238 GB, free: 193.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004504/1.211, allocations: 52.45 kB / 0.7239 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006131/1.217, allocations: 5.456 MB / 0.7292 GB, free: 189.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007699/1.217, allocations: 1.468 MB / 0.7306 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.228, allocations: 7.733 MB / 0.7382 GB, free: 185.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/1.228, allocations: 333.4 kB / 0.7385 GB, free: 185.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/1.229, allocations: 42.47 kB / 0.7385 GB, free: 185.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.23, allocations: 198.4 kB / 0.7387 GB, free: 185.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004067/1.231, allocations: 142.4 kB / 0.7389 GB, free: 185.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/1.231, allocations: 64.97 kB / 0.7389 GB, free: 185.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002486/1.233, allocations: 1.731 MB / 0.7406 GB, free: 185 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/1.233, allocations: 3.938 kB / 0.7406 GB, free: 185 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004555/1.238, allocations: 1.078 MB / 0.7417 GB, free: 184.9 MB / 0.545 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.009808/1.248, allocations: 8.382 MB / 0.7498 GB, free: 178.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009336/1.257, allocations: 6.523 MB / 0.7562 GB, free: 172.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.257, allocations: 2 kB / 0.7562 GB, free: 172.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003221/1.26, allocations: 2.526 MB / 0.7587 GB, free: 170.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004801/1.265, allocations: 371.7 kB / 0.759 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1307/1.396, allocations: 61.62 MB / 0.8192 GB, free: 103.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/1.399, allocations: 3.155 MB / 0.8223 GB, free: 100.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00402/1.403, allocations: 2.06 MB / 0.8243 GB, free: 97.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001964/1.405, allocations: 1.655 MB / 0.8259 GB, free: 96.33 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/1.405, allocations: 0 / 0.8259 GB, free: 96.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08354/1.489, allocations: 71.39 MB / 0.8956 GB, free: 25.11 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/1.489, allocations: 234.7 kB / 0.8959 GB, free: 24.85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/4.752, allocations: 0 / 0.8959 GB, free: 24.85 MB / 0.545 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