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.001741/0.001741, allocations: 103.1 kB / 16.41 MB, free: 6.488 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.001907/0.001908, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.54/1.54, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2156/0.2156, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.001696/0.001696, allocations: 71.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1197, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01436/0.1341, allocations: 14.21 MB / 0.5013 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009448/0.1436, allocations: 4.292 MB / 0.5055 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/0.1464, allocations: 71.81 kB / 0.5055 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004622/0.1511, allocations: 1.977 MB / 0.5075 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005733/0.1569, allocations: 1.918 MB / 0.5094 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.1588, allocations: 0.5536 MB / 0.5099 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006622/0.1655, allocations: 4.077 MB / 0.5139 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/0.17, allocations: 2.874 MB / 0.5167 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.1729, allocations: 1.472 MB / 0.5181 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003424/0.1763, allocations: 2.04 MB / 0.5201 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.1777, allocations: 308 kB / 0.5204 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.1807, allocations: 1.01 MB / 0.5214 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002649/0.1834, allocations: 1.886 MB / 0.5232 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00412/0.1876, allocations: 2.279 MB / 0.5255 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.25/0.4376, allocations: 7.375 MB / 0.5327 GB, free: 13.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4377, allocations: 0 / 0.5327 GB, free: 13.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4377, allocations: 0 / 0.5327 GB, free: 13.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002982/0.438, allocations: 6.984 kB / 0.5327 GB, free: 13.15 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01509/0.4531, allocations: 4.929 MB / 0.5375 GB, free: 11.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.4532, allocations: 12.8 kB / 0.5375 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002751/0.456, allocations: 0.8241 MB / 0.5383 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01296/0.4689, allocations: 3.145 MB / 0.5414 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008552/0.4776, allocations: 2.676 MB / 0.544 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005634/0.4782, allocations: 235.7 kB / 0.5442 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/0.4806, allocations: 307 kB / 0.5445 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02753/0.5082, allocations: 12.1 MB / 0.5563 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002437/0.5085, allocations: 28.8 kB / 0.5563 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001869/0.5104, allocations: 147.9 kB / 0.5565 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005424/0.5158, allocations: 2.833 MB / 0.5593 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.5385, allocations: 11.39 MB / 0.5704 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06687/0.6054, allocations: 40.95 MB / 0.6104 GB, free: 7.957 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/0.6178, allocations: 6.074 MB / 0.6163 GB, free: 1.672 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004319/0.6222, allocations: 3.004 MB / 0.6192 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/0.6241, allocations: 1.892 MB / 0.6211 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.87e-05/0.6242, allocations: 60.12 kB / 0.6211 GB, free: 12.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 9.057e-06/0.6242, allocations: 0 / 0.6211 GB, free: 12.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05728/0.6815, allocations: 20.17 MB / 0.6408 GB, free: 8.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.6816, allocations: 84.88 kB / 0.6409 GB, free: 7.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0054/0.687, allocations: 3.064 MB / 0.6439 GB, free: 4.918 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006443/0.6877, allocations: 65.38 kB / 0.644 GB, free: 4.852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00205/0.6898, allocations: 3.013 MB / 0.6469 GB, free: 1.848 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001443/0.6913, allocations: 1.018 MB / 0.6479 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003168/0.6944, allocations: 1.206 MB / 0.6491 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6946, allocations: 305.1 kB / 0.6494 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004654/0.6992, allocations: 2.85 MB / 0.6522 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006937/0.7062, allocations: 6.057 MB / 0.6581 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/0.7184, allocations: 9.716 MB / 0.6676 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/0.7185, allocations: 32 kB / 0.6676 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02088/0.7394, allocations: 10.07 MB / 0.6774 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.7396, allocations: 52 kB / 0.6775 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002212/0.7399, allocations: 112 kB / 0.6776 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004257/0.7441, allocations: 1.364 MB / 0.6789 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005518/0.7497, allocations: 1.38 MB / 0.6803 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.7611, allocations: 7.798 MB / 0.6879 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/0.7661, allocations: 373.9 kB / 0.6882 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001492/0.7676, allocations: 344 kB / 0.6886 GB, free: 4.977 MB / 0.5294 GB 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.005494/0.7731, allocations: 2.306 MB / 0.6908 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/0.7742, allocations: 315.9 kB / 0.6911 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/0.7898, allocations: 6.615 MB / 0.6976 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000131/0.79, allocations: 55.92 kB / 0.6976 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-05/0.79, allocations: 4 kB / 0.6976 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.891e-05/0.7901, allocations: 11.95 kB / 0.6976 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03168/0.8218, allocations: 13.91 MB / 0.7112 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-05/0.8219, allocations: 13.86 kB / 0.7112 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/0.8244, allocations: 451.3 kB / 0.7117 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003681/0.8281, allocations: 1.214 MB / 0.7128 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000695/0.8288, allocations: 51.98 kB / 0.7129 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009684/0.8385, allocations: 7.012 MB / 0.7197 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/0.8386, allocations: 12.03 kB / 0.7198 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/0.8556, allocations: 9.867 MB / 0.7294 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/0.8586, allocations: 0.8172 MB / 0.7302 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/0.8599, allocations: 55.75 kB / 0.7302 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/0.8629, allocations: 199.6 kB / 0.7304 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009349/0.8638, allocations: 157.6 kB / 0.7306 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005719/0.8644, allocations: 75.98 kB / 0.7307 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00458/0.869, allocations: 1.903 MB / 0.7325 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.022e-06/0.8691, allocations: 0 / 0.7325 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006693/0.8758, allocations: 1.132 MB / 0.7336 GB, free: 6.301 MB / 0.5762 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.01786/0.8937, allocations: 10.53 MB / 0.7439 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01188/0.9056, allocations: 7.002 MB / 0.7507 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.9057, allocations: 0 / 0.7507 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00509/0.9108, allocations: 2.856 MB / 0.7535 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/0.9151, allocations: 418.8 kB / 0.7539 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3175/1.233, allocations: 49.13 MB / 0.8019 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006121/1.239, allocations: 3.58 MB / 0.8054 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005772/1.245, allocations: 2.208 MB / 0.8076 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003891/1.249, allocations: 2.061 MB / 0.8096 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.323e-06/1.249, allocations: 4 kB / 0.8096 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/1.352, allocations: 71.38 MB / 0.8793 GB, free: 110.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.35/24.7, allocations: 11.7 kB / 0.8793 GB, free: 110.2 MB / 0.5919 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