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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002541/0.002541, allocations: 215.4 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2286/0.2286, allocations: 44.25 MB / 330.3 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 73 kB / 467.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1487, allocations: 61.05 MB / 0.5162 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009951/0.1586, allocations: 6.78 MB / 0.5228 GB, free: 380 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007121/0.1658, allocations: 2.411 MB / 0.5251 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.1671, allocations: 39.88 kB / 0.5252 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.1693, allocations: 0.8643 MB / 0.526 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.1704, allocations: 330.3 kB / 0.5263 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009825/0.1714, allocations: 331.3 kB / 0.5266 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1724, allocations: 0.7436 MB / 0.5274 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008813/0.1732, allocations: 0.65 MB / 0.528 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.1737, allocations: 378.5 kB / 0.5284 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.1747, allocations: 0.6581 MB / 0.529 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.1749, allocations: 104 kB / 0.5291 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008818/0.1758, allocations: 0.4991 MB / 0.5296 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005358/0.1763, allocations: 0.5141 MB / 0.5301 GB, free: 8.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005076/0.1768, allocations: 453.5 kB / 0.5305 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.1789, allocations: 1.802 MB / 0.5323 GB, free: 6.586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1789, allocations: 0 / 0.5323 GB, free: 6.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1789, allocations: 0 / 0.5323 GB, free: 6.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.1789, allocations: 4 kB / 0.5323 GB, free: 6.582 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003404/0.1823, allocations: 1.6 MB / 0.5339 GB, free: 4.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.1824, allocations: 8.031 kB / 0.5339 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002455/0.1826, allocations: 170.5 kB / 0.534 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007775/0.1834, allocations: 183.9 kB / 0.5342 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.1846, allocations: 0.5756 MB / 0.5348 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.1847, allocations: 66.09 kB / 0.5348 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.1849, allocations: 83.92 kB / 0.5349 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005314/0.1902, allocations: 2.669 MB / 0.5375 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.1902, allocations: 7.938 kB / 0.5375 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.1903, allocations: 35.98 kB / 0.5376 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005216/0.1909, allocations: 389.7 kB / 0.5379 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2345/0.4254, allocations: 2.339 MB / 0.5402 GB, free: 28.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008627/0.434, allocations: 7.895 MB / 0.5479 GB, free: 23.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/0.4381, allocations: 0.9455 MB / 0.5488 GB, free: 22.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.4385, allocations: 234.6 kB / 0.5491 GB, free: 22.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.4397, allocations: 0.6162 MB / 0.5497 GB, free: 22.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4397, allocations: 36.78 kB / 0.5497 GB, free: 22.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 3.596e-06/0.4397, allocations: 1.578 kB / 0.5497 GB, free: 22.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01342/0.4531, allocations: 2.969 MB / 0.5526 GB, free: 22.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4532, allocations: 59.5 kB / 0.5527 GB, free: 22.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.4544, allocations: 0.9452 MB / 0.5536 GB, free: 21.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.4545, allocations: 35.83 kB / 0.5536 GB, free: 21.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.4549, allocations: 0.6749 MB / 0.5543 GB, free: 21.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.455, allocations: 227 kB / 0.5545 GB, free: 20.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.4553, allocations: 250.6 kB / 0.5547 GB, free: 20.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4555, allocations: 412.3 kB / 0.5551 GB, free: 20.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.4562, allocations: 369.5 kB / 0.5555 GB, free: 20.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.4572, allocations: 0.9925 MB / 0.5565 GB, free: 19.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.459, allocations: 1.493 MB / 0.5579 GB, free: 18.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/0.459, allocations: 7.562 kB / 0.5579 GB, free: 18.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002414/0.4614, allocations: 1.402 MB / 0.5593 GB, free: 17.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.4615, allocations: 14.94 kB / 0.5593 GB, free: 17.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/0.4615, allocations: 21.66 kB / 0.5593 GB, free: 17.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.734e-05/0.4616, allocations: 29.31 kB / 0.5593 GB, free: 17.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.4629, allocations: 316.2 kB / 0.5597 GB, free: 17.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008676/0.4637, allocations: 1.351 MB / 0.561 GB, free: 16.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009274/0.4646, allocations: 56.06 kB / 0.561 GB, free: 16.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.4648, allocations: 68 kB / 0.5611 GB, free: 16.22 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.000973/0.4657, allocations: 0.4914 MB / 0.5616 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.466, allocations: 100.3 kB / 0.5617 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.4662, allocations: 117.4 kB / 0.5618 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.4662, allocations: 5.688 kB / 0.5618 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.4662, allocations: 1.859 kB / 0.5618 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.4663, allocations: 2.766 kB / 0.5618 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003995/0.4702, allocations: 2.068 MB / 0.5638 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.4703, allocations: 6.719 kB / 0.5638 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.4707, allocations: 124 kB / 0.5639 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.4708, allocations: 9.656 kB / 0.5639 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.4708, allocations: 21.7 kB / 0.564 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006291/0.4714, allocations: 1.321 MB / 0.5653 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-06/0.4714, allocations: 11.41 kB / 0.5653 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009248/0.4723, allocations: 0.8341 MB / 0.5661 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.4727, allocations: 134.9 kB / 0.5662 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.4728, allocations: 15.84 kB / 0.5662 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.4731, allocations: 16.11 kB / 0.5662 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.4732, allocations: 63.48 kB / 0.5663 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.4732, allocations: 21.59 kB / 0.5663 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007927/0.474, allocations: 0.5978 MB / 0.5669 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.474, allocations: 3.938 kB / 0.5669 GB, free: 12.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001239/0.4753, allocations: 216.6 kB / 0.5671 GB, free: 12.46 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.001074/0.4763, allocations: 1.389 MB / 0.5685 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.4779, allocations: 0.8495 MB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4779, allocations: 1.375 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.4783, allocations: 267 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.4791, allocations: 128 kB / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.4921, allocations: 9.462 MB / 0.5789 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007136/0.4928, allocations: 0.6259 MB / 0.5795 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008557/0.4937, allocations: 342.8 kB / 0.5799 GB, free: 4.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/0.4942, allocations: 408.1 kB / 0.5802 GB, free: 3.828 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4942, allocations: 0 / 0.5802 GB, free: 3.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05138/0.5455, allocations: 18.17 MB / 0.598 GB, free: 3.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.05, allocations: 7.891 kB / 0.598 GB, free: 3.152 MB / 430.1 MB " [Timeout remaining time 648] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.510162118822336]