Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",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.001698/0.001699, allocations: 103.4 kB / 16.27 MB, free: 5.977 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.001922/0.001922, allocations: 195.4 kB / 17.2 MB, free: 5.609 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.377/1.377, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2131/0.2131, allocations: 43.51 MB / 313.9 MB, free: 0.5352 MB / 254.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.001733/0.001733, allocations: 61.81 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1037, allocations: 57.79 MB / 440.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01394/0.1177, allocations: 14.23 MB / 454.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.1283, allocations: 4.28 MB / 459.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.1309, allocations: 75.81 kB / 459.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004833/0.1358, allocations: 1.977 MB / 461.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005864/0.1417, allocations: 1.907 MB / 463.1 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.1434, allocations: 0.5653 MB / 463.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005274/0.1487, allocations: 4.069 MB / 467.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003865/0.1526, allocations: 2.889 MB / 470.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.1551, allocations: 1.46 MB / 472.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.1584, allocations: 2.04 MB / 474.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.1594, allocations: 308 kB / 474.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.1619, allocations: 1.01 MB / 475.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.164, allocations: 1.886 MB / 477.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00317/0.1672, allocations: 2.275 MB / 479.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007445/0.1746, allocations: 7.075 MB / 486.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1747, allocations: 0 / 486.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1747, allocations: 4 kB / 486.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002707/0.175, allocations: 0 / 486.7 MB, free: 8.578 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01009/0.1851, allocations: 4.931 MB / 491.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1851, allocations: 11.89 kB / 491.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001355/0.1865, allocations: 0.8197 MB / 492.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.1977, allocations: 3.145 MB / 495.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006392/0.2041, allocations: 2.645 MB / 498.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002996/0.2045, allocations: 234.3 kB / 498.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/0.2061, allocations: 311.7 kB / 498.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02326/0.2294, allocations: 12.1 MB / 0.4989 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/0.2296, allocations: 31.75 kB / 0.4989 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001224/0.2309, allocations: 143.8 kB / 0.499 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005032/0.2359, allocations: 2.839 MB / 0.5018 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/0.2572, allocations: 11.38 MB / 0.5129 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3045/0.5617, allocations: 41.17 MB / 0.5531 GB, free: 59.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.5729, allocations: 6.07 MB / 0.5591 GB, free: 57.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003149/0.5761, allocations: 3.013 MB / 0.562 GB, free: 56.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.5775, allocations: 1.884 MB / 0.5638 GB, free: 54.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.5775, allocations: 56.25 kB / 0.5639 GB, free: 54.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=262): time 7.043e-06/0.5775, allocations: 4 kB / 0.5639 GB, free: 54.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=283): time 0.04763/0.6252, allocations: 20.18 MB / 0.5836 GB, free: 44.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.6253, allocations: 77.41 kB / 0.5837 GB, free: 44.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006072/0.6314, allocations: 3.068 MB / 0.5867 GB, free: 41.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007981/0.6322, allocations: 63.34 kB / 0.5867 GB, free: 41.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001712/0.634, allocations: 3.011 MB / 0.5897 GB, free: 38.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001508/0.6355, allocations: 1.019 MB / 0.5907 GB, free: 37.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002688/0.6382, allocations: 1.206 MB / 0.5918 GB, free: 35.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.6383, allocations: 305.1 kB / 0.5921 GB, free: 35.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003745/0.642, allocations: 2.853 MB / 0.5949 GB, free: 32.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004876/0.6469, allocations: 6.058 MB / 0.6008 GB, free: 25.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009298/0.6562, allocations: 9.705 MB / 0.6103 GB, free: 13.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/0.6564, allocations: 32 kB / 0.6103 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01688/0.6733, allocations: 10.07 MB / 0.6202 GB, free: 3.797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.6734, allocations: 55.94 kB / 0.6202 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/0.6736, allocations: 112 kB / 0.6203 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00334/0.6769, allocations: 1.367 MB / 0.6217 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/0.6816, allocations: 1.376 MB / 0.623 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.6931, allocations: 7.816 MB / 0.6307 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005497/0.6987, allocations: 367.7 kB / 0.631 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/0.7002, allocations: 336 kB / 0.6313 GB, free: 8.246 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (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 (724): * Single equations (assignments): 717 * 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.006116/0.7064, allocations: 2.311 MB / 0.6336 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/0.7075, allocations: 317.6 kB / 0.6339 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/0.7217, allocations: 6.623 MB / 0.6404 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.212e-05/0.7219, allocations: 59.83 kB / 0.6404 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/0.7219, allocations: 4 kB / 0.6404 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.362e-05/0.722, allocations: 11.95 kB / 0.6404 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02979/0.7518, allocations: 14.03 MB / 0.6541 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-05/0.7518, allocations: 4.609 kB / 0.6541 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0025/0.7544, allocations: 459.3 kB / 0.6546 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00363/0.758, allocations: 1.214 MB / 0.6558 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005358/0.7586, allocations: 55.92 kB / 0.6558 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009349/0.7679, allocations: 6.97 MB / 0.6626 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-05/0.768, allocations: 11.94 kB / 0.6626 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/0.7843, allocations: 9.866 MB / 0.6723 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/0.7863, allocations: 0.8219 MB / 0.6731 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007545/0.787, allocations: 47.94 kB / 0.6731 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/0.7891, allocations: 195.6 kB / 0.6733 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005717/0.7897, allocations: 157.7 kB / 0.6735 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002493/0.79, allocations: 87.5 kB / 0.6735 GB, free: 12.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003338/0.7933, allocations: 1.895 MB / 0.6754 GB, free: 10.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.492e-06/0.7933, allocations: 4 kB / 0.6754 GB, free: 10.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004883/0.7982, allocations: 1.131 MB / 0.6765 GB, free: 9.48 MB / 478.1 MB 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.0154/0.8136, allocations: 10.53 MB / 0.6868 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0201/0.8337, allocations: 12 MB / 0.6985 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.8338, allocations: 0 / 0.6985 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004587/0.8384, allocations: 2.848 MB / 0.7013 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.8411, allocations: 414.5 kB / 0.7017 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2737/1.115, allocations: 53.14 MB / 0.7536 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003856/1.119, allocations: 3.585 MB / 0.7571 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004531/1.123, allocations: 2.204 MB / 0.7592 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002371/1.126, allocations: 2.061 MB / 0.7612 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/1.126, allocations: 0 / 0.7612 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/1.231, allocations: 73.37 MB / 0.8329 GB, free: 64.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/12.32, allocations: 16.33 kB / 0.8329 GB, free: 64.04 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches