Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_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.0006909/0.000691, allocations: 95.31 kB / 17.35 MB, free: 6.367 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.0007821/0.0007822, allocations: 175.7 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.3 MB / 242.3 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1933/0.1933, allocations: 44.25 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002724, allocations: 12 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.09916, allocations: 61.91 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.03681/0.136, allocations: 40.23 MB / 0.5006 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2254/0.3615, allocations: 8.784 MB / 0.5091 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006318/0.3678, allocations: 170.3 kB / 0.5093 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.3691, allocations: 492.2 kB / 0.5098 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.3733, allocations: 1.806 MB / 0.5115 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.3745, allocations: 0.5128 MB / 0.512 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006194/0.3807, allocations: 5.68 MB / 0.5176 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004717/0.3854, allocations: 3.546 MB / 0.5211 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.3875, allocations: 1.109 MB / 0.5221 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.3899, allocations: 1.936 MB / 0.524 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004569/0.3904, allocations: 152.9 kB / 0.5242 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.392, allocations: 0.9343 MB / 0.5251 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.3931, allocations: 1.733 MB / 0.5268 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.3944, allocations: 2.099 MB / 0.5288 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004427/0.3989, allocations: 6.796 MB / 0.5355 GB, free: 2.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3989, allocations: 0 / 0.5355 GB, free: 2.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3989, allocations: 3.938 kB / 0.5355 GB, free: 2.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.399, allocations: 0 / 0.5355 GB, free: 2.195 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.005675/0.4047, allocations: 4.004 MB / 0.5394 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.4047, allocations: 10.22 kB / 0.5394 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008575/0.4056, allocations: 0.8188 MB / 0.5402 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.4158, allocations: 3.237 MB / 0.5433 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004627/0.4204, allocations: 2.49 MB / 0.5458 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.4206, allocations: 236 kB / 0.546 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007073/0.4213, allocations: 308.2 kB / 0.5463 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02025/0.4416, allocations: 12.1 MB / 0.5581 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.4418, allocations: 31.66 kB / 0.5581 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/0.4428, allocations: 144.4 kB / 0.5583 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004878/0.4477, allocations: 2.835 MB / 0.5611 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02103/0.4688, allocations: 11.36 MB / 0.5721 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05808/0.5269, allocations: 41.29 MB / 0.6125 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.538, allocations: 6.07 MB / 0.6184 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003627/0.5417, allocations: 3.012 MB / 0.6213 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/0.5432, allocations: 1.883 MB / 0.6232 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.5433, allocations: 56.56 kB / 0.6232 GB, free: 9.809 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 5.54e-06/0.5433, allocations: 0 / 0.6232 GB, free: 9.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.04636/0.5896, allocations: 20.12 MB / 0.6429 GB, free: 5.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.5897, allocations: 77.41 kB / 0.643 GB, free: 5.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004891/0.5946, allocations: 3.032 MB / 0.6459 GB, free: 2.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006708/0.5953, allocations: 63.97 kB / 0.646 GB, free: 2.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002523/0.5979, allocations: 2.985 MB / 0.6489 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/0.5997, allocations: 1.024 MB / 0.6499 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.601, allocations: 0.5174 MB / 0.6504 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.6011, allocations: 301.1 kB / 0.6507 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/0.6055, allocations: 2.846 MB / 0.6535 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006607/0.6121, allocations: 6.018 MB / 0.6593 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/0.6233, allocations: 9.653 MB / 0.6688 GB, free: 7.883 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.476e-05/0.6234, allocations: 35.94 kB / 0.6688 GB, free: 7.848 MB / 0.5138 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01773/0.6412, allocations: 10.02 MB / 0.6786 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.6413, allocations: 60.19 kB / 0.6786 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/0.6415, allocations: 112 kB / 0.6787 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/0.6449, allocations: 1.355 MB / 0.6801 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/0.6492, allocations: 1.369 MB / 0.6814 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009068/0.6583, allocations: 7.307 MB / 0.6885 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/0.6623, allocations: 371.5 kB / 0.6889 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008782/0.6632, allocations: 344 kB / 0.6892 GB, free: 2.789 MB / 0.5294 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.004209/0.6674, allocations: 2.297 MB / 0.6915 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006142/0.668, allocations: 300.1 kB / 0.6918 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.6795, allocations: 6.627 MB / 0.6982 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.012e-05/0.6796, allocations: 51.98 kB / 0.6983 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/0.6796, allocations: 4 kB / 0.6983 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/0.6797, allocations: 11.95 kB / 0.6983 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2178/0.8975, allocations: 14.02 MB / 0.712 GB, free: 199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.8975, allocations: 8.016 kB / 0.712 GB, free: 199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/0.8997, allocations: 454.8 kB / 0.7124 GB, free: 199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/0.9032, allocations: 1.207 MB / 0.7136 GB, free: 199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004542/0.9037, allocations: 55 kB / 0.7137 GB, free: 199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0089/0.9126, allocations: 6.52 MB / 0.72 GB, free: 196.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.9127, allocations: 11.62 kB / 0.72 GB, free: 196.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.9262, allocations: 9.859 MB / 0.7297 GB, free: 192.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007351/0.927, allocations: 355.6 kB / 0.73 GB, free: 192.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000514/0.9275, allocations: 50.05 kB / 0.73 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.9291, allocations: 196.7 kB / 0.7302 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/0.9296, allocations: 167.9 kB / 0.7304 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/0.9298, allocations: 75.31 kB / 0.7305 GB, free: 192.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002251/0.932, allocations: 1.882 MB / 0.7323 GB, free: 191.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.932, allocations: 0.6875 kB / 0.7323 GB, free: 191.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003719/0.9357, allocations: 1.117 MB / 0.7334 GB, free: 191.6 MB / 0.545 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.01241/0.9482, allocations: 10.52 MB / 0.7437 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009457/0.9577, allocations: 6.932 MB / 0.7504 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.9577, allocations: 3.094 kB / 0.7504 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003602/0.9613, allocations: 2.857 MB / 0.7532 GB, free: 179.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00457/0.9659, allocations: 407 kB / 0.7536 GB, free: 179.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06505/1.031, allocations: 55.11 MB / 0.8075 GB, free: 118.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004245/1.035, allocations: 3.575 MB / 0.8109 GB, free: 114.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00475/1.04, allocations: 2.196 MB / 0.8131 GB, free: 112.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002804/1.043, allocations: 2.07 MB / 0.8151 GB, free: 110.3 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/1.043, allocations: 0 / 0.8151 GB, free: 110.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08857/1.131, allocations: 70.62 MB / 0.8841 GB, free: 40.08 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/1.132, allocations: 211.4 kB / 0.8843 GB, free: 39.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.334/4.465, allocations: 4 kB / 0.8843 GB, free: 39.82 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches