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.001188/0.001188, allocations: 96.7 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 185.8 kB / 16.92 MB, free: 6.934 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.347/1.347, allocations: 205.4 MB / 223.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3114/0.3114, allocations: 43.58 MB / 315 MB, free: 8.859 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.0005255/0.0005256, allocations: 12.47 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2341/0.3494, allocations: 40.93 MB / 484.5 MB, free: 23.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.3653, allocations: 8.852 MB / 493.3 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006374/0.3717, allocations: 173 kB / 493.5 MB, free: 19.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3728, allocations: 0.4908 MB / 494 MB, free: 19.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.376, allocations: 1.811 MB / 495.8 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.3769, allocations: 0.515 MB / 496.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004424/0.3813, allocations: 5.727 MB / 0.4903 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006262/0.3876, allocations: 3.551 MB / 0.4937 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.39, allocations: 1.135 MB / 0.4948 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003686/0.3937, allocations: 1.949 MB / 0.4968 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000638/0.3943, allocations: 154.8 kB / 0.4969 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.3964, allocations: 0.9216 MB / 0.4978 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.3984, allocations: 1.745 MB / 0.4995 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.4003, allocations: 2.115 MB / 0.5016 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006963/0.4072, allocations: 6.816 MB / 0.5082 GB, free: 8.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4073, allocations: 5.094 kB / 0.5082 GB, free: 8.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4073, allocations: 0 / 0.5082 GB, free: 8.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001688/0.4075, allocations: 0 / 0.5082 GB, free: 8.531 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.007573/0.415, allocations: 4.008 MB / 0.5121 GB, free: 5.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4151, allocations: 16.94 kB / 0.5122 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001078/0.4162, allocations: 0.8209 MB / 0.513 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.4267, allocations: 3.237 MB / 0.5161 GB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005778/0.4325, allocations: 2.639 MB / 0.5187 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.4328, allocations: 242.7 kB / 0.5189 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.4338, allocations: 312.1 kB / 0.5192 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02042/0.4543, allocations: 12.11 MB / 0.5311 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.4544, allocations: 31.66 kB / 0.5311 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004957/0.4549, allocations: 147.8 kB / 0.5312 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004928/0.4599, allocations: 2.832 MB / 0.534 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/0.4823, allocations: 11.39 MB / 0.5451 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06102/0.5434, allocations: 41.2 MB / 0.5853 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.5548, allocations: 6.074 MB / 0.5913 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003945/0.5588, allocations: 3.009 MB / 0.5942 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/0.5605, allocations: 1.884 MB / 0.5961 GB, free: 1.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.5605, allocations: 56.56 kB / 0.5961 GB, free: 1.141 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 4.949e-06/0.5605, allocations: 0 / 0.5961 GB, free: 1.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.04859/0.6091, allocations: 20.16 MB / 0.6158 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.6092, allocations: 77.41 kB / 0.6159 GB, free: 12.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.6137, allocations: 3.076 MB / 0.6189 GB, free: 9.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004089/0.6142, allocations: 65.64 kB / 0.6189 GB, free: 9.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/0.6162, allocations: 3.008 MB / 0.6219 GB, free: 6.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.6174, allocations: 1.017 MB / 0.6229 GB, free: 5.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007475/0.6181, allocations: 0.5151 MB / 0.6234 GB, free: 4.938 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6183, allocations: 305.1 kB / 0.6237 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004123/0.6224, allocations: 2.85 MB / 0.6264 GB, free: 1.781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2202/0.8426, allocations: 6.066 MB / 0.6324 GB, free: 137.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/0.8554, allocations: 9.704 MB / 0.6418 GB, free: 133.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/0.8556, allocations: 29.78 kB / 0.6419 GB, free: 133.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01694/0.8726, allocations: 10.07 MB / 0.6517 GB, free: 130.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.207e-05/0.8727, allocations: 56.19 kB / 0.6518 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.8728, allocations: 111.6 kB / 0.6519 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/0.8761, allocations: 1.361 MB / 0.6532 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/0.8807, allocations: 1.377 MB / 0.6545 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.8909, allocations: 7.296 MB / 0.6617 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005393/0.8963, allocations: 367 kB / 0.662 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/0.8979, allocations: 347.5 kB / 0.6623 GB, free: 126.1 MB / 494.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.00663/0.9045, allocations: 2.304 MB / 0.6646 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009215/0.9054, allocations: 306 kB / 0.6649 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.9199, allocations: 6.626 MB / 0.6714 GB, free: 122.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.151e-05/0.92, allocations: 51.58 kB / 0.6714 GB, free: 122.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.385e-05/0.92, allocations: 4.156 kB / 0.6714 GB, free: 122.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-05/0.9201, allocations: 16.09 kB / 0.6714 GB, free: 122.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/0.9452, allocations: 14.03 MB / 0.6851 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/0.9453, allocations: 7.875 kB / 0.6851 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/0.9472, allocations: 451.9 kB / 0.6856 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003085/0.9503, allocations: 1.214 MB / 0.6868 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002852/0.9507, allocations: 55.36 kB / 0.6868 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007018/0.9577, allocations: 6.527 MB / 0.6932 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.9577, allocations: 8.656 kB / 0.6932 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.9702, allocations: 9.86 MB / 0.7028 GB, free: 102.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/0.9718, allocations: 0.8289 MB / 0.7036 GB, free: 102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008293/0.9727, allocations: 44 kB / 0.7037 GB, free: 102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/0.9749, allocations: 194.7 kB / 0.7039 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004523/0.9754, allocations: 165.6 kB / 0.704 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/0.9756, allocations: 76.64 kB / 0.7041 GB, free: 101.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00361/0.9792, allocations: 1.899 MB / 0.7059 GB, free: 99.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9792, allocations: 4 kB / 0.7059 GB, free: 99.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007941/0.9872, allocations: 1.129 MB / 0.707 GB, free: 98.52 MB / 494.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.01718/1.004, allocations: 10.54 MB / 0.7173 GB, free: 87.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01087/1.015, allocations: 6.943 MB / 0.7241 GB, free: 80.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.015, allocations: 3.938 kB / 0.7241 GB, free: 80.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004359/1.02, allocations: 2.852 MB / 0.7269 GB, free: 78.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006971/1.027, allocations: 391.1 kB / 0.7273 GB, free: 77.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09559/1.122, allocations: 55.51 MB / 0.7815 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005031/1.127, allocations: 3.584 MB / 0.785 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005128/1.133, allocations: 2.204 MB / 0.7871 GB, free: 9.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003108/1.136, allocations: 2.065 MB / 0.7892 GB, free: 7.832 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/1.136, allocations: 0 / 0.7892 GB, free: 7.832 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3837/1.519, allocations: 70.72 MB / 0.8582 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/1.52, allocations: 215.8 kB / 0.8584 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/4.879, allocations: 0 / 0.8584 GB, free: 138.5 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches