Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001705/0.001705, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2404/0.2404, allocations: 46.95 MB / 361.6 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] 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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 79.88 kB / 0.4969 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3198, allocations: 66.09 MB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01462/0.3344, allocations: 11.63 MB / 0.5728 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008696/0.3431, allocations: 4.009 MB / 0.5767 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.3451, allocations: 79.69 kB / 0.5768 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004486/0.3496, allocations: 1.927 MB / 0.5787 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.3544, allocations: 1.958 MB / 0.5806 GB, free: 360 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.3559, allocations: 0.5497 MB / 0.5811 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005516/0.3614, allocations: 4.044 MB / 0.5851 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003922/0.3653, allocations: 2.424 MB / 0.5874 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.3684, allocations: 1.475 MB / 0.5889 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.3722, allocations: 2.204 MB / 0.591 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.3733, allocations: 304 kB / 0.5913 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.3759, allocations: 0.9205 MB / 0.5922 GB, free: 4.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002754/0.3787, allocations: 1.904 MB / 0.5941 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003797/0.3824, allocations: 1.607 MB / 0.5957 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.3933, allocations: 7.352 MB / 0.6028 GB, free: 9.449 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3933, allocations: 0 / 0.6028 GB, free: 9.449 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3933, allocations: 0 / 0.6028 GB, free: 9.449 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002601/0.3935, allocations: 0 / 0.6028 GB, free: 9.449 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01263/0.4062, allocations: 4.945 MB / 0.6077 GB, free: 4.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.4062, allocations: 8.031 kB / 0.6077 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001777/0.4064, allocations: 114.2 kB / 0.6078 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002099/0.4085, allocations: 0.8196 MB / 0.6086 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.4197, allocations: 3.176 MB / 0.6117 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005637/0.4253, allocations: 2.367 MB / 0.614 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.4256, allocations: 234 kB / 0.6142 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.4271, allocations: 315.7 kB / 0.6145 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02292/0.45, allocations: 12.08 MB / 0.6263 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.4502, allocations: 35.7 kB / 0.6264 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005131/0.4507, allocations: 147.8 kB / 0.6265 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004938/0.4556, allocations: 2.831 MB / 0.6293 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.4782, allocations: 11.37 MB / 0.6404 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06264/0.5408, allocations: 39.06 MB / 0.6785 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/0.5526, allocations: 4.895 MB / 0.6833 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/0.5567, allocations: 2.771 MB / 0.686 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/0.5579, allocations: 0.5595 MB / 0.6865 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.558, allocations: 56.5 kB / 0.6866 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 5.451e-06/0.558, allocations: 0 / 0.6866 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05193/0.6099, allocations: 20.03 MB / 0.7062 GB, free: 13.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.61, allocations: 77.41 kB / 0.7062 GB, free: 13.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004321/0.6143, allocations: 3.032 MB / 0.7092 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004072/0.6147, allocations: 65.69 kB / 0.7093 GB, free: 10.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002399/0.6171, allocations: 3.104 MB / 0.7123 GB, free: 7.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/0.6184, allocations: 1.077 MB / 0.7133 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001897/0.6203, allocations: 1.195 MB / 0.7145 GB, free: 5.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6205, allocations: 305.1 kB / 0.7148 GB, free: 4.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004343/0.6248, allocations: 2.846 MB / 0.7176 GB, free: 2.055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007465/0.6323, allocations: 6.022 MB / 0.7235 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2492/0.8815, allocations: 9.654 MB / 0.7329 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/0.8816, allocations: 31.41 kB / 0.7329 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01508/0.8967, allocations: 10.03 MB / 0.7427 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/0.8967, allocations: 54.22 kB / 0.7428 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.826e-05/0.8968, allocations: 108 kB / 0.7429 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/0.9, allocations: 1.364 MB / 0.7442 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/0.904, allocations: 1.369 MB / 0.7455 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007628/0.9117, allocations: 7.629 MB / 0.753 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/0.9154, allocations: 367.3 kB / 0.7533 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006541/0.9161, allocations: 342.5 kB / 0.7537 GB, free: 143.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (718): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003224/0.9193, allocations: 2.299 MB / 0.7559 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004563/0.9198, allocations: 324.8 kB / 0.7562 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008881/0.9286, allocations: 6.605 MB / 0.7627 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.793e-05/0.9287, allocations: 55.77 kB / 0.7627 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.9287, allocations: 7.984 kB / 0.7627 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.9287, allocations: 7.969 kB / 0.7627 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/0.9479, allocations: 13.34 MB / 0.7758 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.948, allocations: 8 kB / 0.7758 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/0.9498, allocations: 456.1 kB / 0.7762 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002908/0.9527, allocations: 1.208 MB / 0.7774 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002958/0.953, allocations: 51.94 kB / 0.7774 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006749/0.9598, allocations: 6.85 MB / 0.7841 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.566e-05/0.9598, allocations: 11.94 kB / 0.7841 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.9714, allocations: 9.868 MB / 0.7938 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008439/0.9723, allocations: 285.9 kB / 0.794 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006076/0.9729, allocations: 59.48 kB / 0.7941 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.9745, allocations: 195.6 kB / 0.7943 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/0.9749, allocations: 169.5 kB / 0.7945 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/0.9751, allocations: 76.59 kB / 0.7945 GB, free: 102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002421/0.9775, allocations: 1.882 MB / 0.7964 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9775, allocations: 0 / 0.7964 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004503/0.982, allocations: 1.098 MB / 0.7974 GB, free: 99.03 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01179/0.9938, allocations: 10.53 MB / 0.8077 GB, free: 88.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008405/1.002, allocations: 6.685 MB / 0.8142 GB, free: 81.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.002, allocations: 0 / 0.8142 GB, free: 81.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003313/1.006, allocations: 2.649 MB / 0.8168 GB, free: 79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/1.008, allocations: 433.5 kB / 0.8172 GB, free: 78.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06311/1.071, allocations: 49.09 MB / 0.8652 GB, free: 24.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003462/1.074, allocations: 3.042 MB / 0.8682 GB, free: 21.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004272/1.079, allocations: 2.203 MB / 0.8703 GB, free: 19.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003026/1.082, allocations: 2.065 MB / 0.8723 GB, free: 17.17 MB / 0.5606 GB Notification: Performance of SimCode: time 1.412e-06/1.082, allocations: 0 / 0.8723 GB, free: 17.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/1.215, allocations: 73.18 MB / 0.9438 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.05/25.27, allocations: 7.547 kB / 0.9438 GB, free: 8.52 MB / 0.6231 GB " [Timeout remaining time 635] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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: 29.25294383894652]