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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 75.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3314, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01527/0.3468, allocations: 13.46 MB / 0.5437 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009603/0.3564, allocations: 4.207 MB / 0.5478 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.359, allocations: 69.5 kB / 0.5478 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.3634, allocations: 1.961 MB / 0.5498 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.3686, allocations: 1.887 MB / 0.5516 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3702, allocations: 0.5537 MB / 0.5521 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005553/0.3758, allocations: 4.049 MB / 0.5561 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00415/0.38, allocations: 2.864 MB / 0.5589 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.3826, allocations: 1.444 MB / 0.5603 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.3858, allocations: 2.009 MB / 0.5623 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.3868, allocations: 308 kB / 0.5626 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.3893, allocations: 1.006 MB / 0.5635 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002269/0.3916, allocations: 1.854 MB / 0.5653 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004074/0.3957, allocations: 2.236 MB / 0.5675 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008259/0.404, allocations: 7.29 MB / 0.5747 GB, free: 4.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.404, allocations: 0 / 0.5747 GB, free: 4.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.404, allocations: 0 / 0.5747 GB, free: 4.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001802/0.4042, allocations: 4 kB / 0.5747 GB, free: 4.438 MB / 430.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.01008/0.4143, allocations: 4.889 MB / 0.5794 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4144, allocations: 8.031 kB / 0.5794 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001379/0.4158, allocations: 0.8118 MB / 0.5802 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.4266, allocations: 3.149 MB / 0.5833 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005288/0.432, allocations: 2.407 MB / 0.5857 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.4322, allocations: 234.2 kB / 0.5859 GB, free: 8.805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008741/0.4331, allocations: 315.6 kB / 0.5862 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02034/0.4534, allocations: 12.08 MB / 0.598 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.4536, allocations: 31.66 kB / 0.598 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005519/0.4541, allocations: 147.8 kB / 0.5981 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004897/0.459, allocations: 2.831 MB / 0.6009 GB, free: 8.855 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02186/0.4809, allocations: 11.36 MB / 0.612 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06581/0.5468, allocations: 41.03 MB / 0.6521 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/0.5601, allocations: 6.078 MB / 0.658 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004513/0.5647, allocations: 3.009 MB / 0.6609 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002252/0.5669, allocations: 1.888 MB / 0.6628 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.144e-05/0.5671, allocations: 52.56 kB / 0.6628 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 9.288e-06/0.5671, allocations: 0 / 0.6628 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05437/0.6215, allocations: 20.14 MB / 0.6825 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.6216, allocations: 77.41 kB / 0.6826 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00546/0.627, allocations: 3.027 MB / 0.6855 GB, free: 384 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006419/0.6277, allocations: 61.7 kB / 0.6856 GB, free: 316 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002811/0.6305, allocations: 2.985 MB / 0.6885 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001686/0.6322, allocations: 1.025 MB / 0.6895 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003307/0.6356, allocations: 1.191 MB / 0.6907 GB, free: 11.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6357, allocations: 301.1 kB / 0.691 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004851/0.6406, allocations: 2.846 MB / 0.6937 GB, free: 7.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008029/0.6486, allocations: 6.022 MB / 0.6996 GB, free: 332 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01405/0.6627, allocations: 9.657 MB / 0.7091 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001487/0.6629, allocations: 32 kB / 0.7091 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02273/0.6857, allocations: 10.02 MB / 0.7189 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.6859, allocations: 55.94 kB / 0.7189 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002463/0.6862, allocations: 112 kB / 0.719 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004216/0.6904, allocations: 1.365 MB / 0.7204 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00552/0.6959, allocations: 1.365 MB / 0.7217 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.7077, allocations: 7.804 MB / 0.7293 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3022/1.01, allocations: 361.4 kB / 0.7297 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001841/1.012, allocations: 340 kB / 0.73 GB, free: 174.7 MB / 0.5762 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.005343/1.017, allocations: 2.3 MB / 0.7322 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006845/1.018, allocations: 305.8 kB / 0.7325 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/1.029, allocations: 6.619 MB / 0.739 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-05/1.029, allocations: 54.53 kB / 0.739 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/1.029, allocations: 12.16 kB / 0.7391 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/1.029, allocations: 11.39 kB / 0.7391 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02284/1.052, allocations: 13.88 MB / 0.7526 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.052, allocations: 8.312 kB / 0.7526 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/1.054, allocations: 452.4 kB / 0.7531 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/1.057, allocations: 1.215 MB / 0.7542 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/1.057, allocations: 51.19 kB / 0.7543 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007588/1.065, allocations: 7.02 MB / 0.7611 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.065, allocations: 11.94 kB / 0.7612 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/1.078, allocations: 9.866 MB / 0.7708 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009981/1.079, allocations: 359.9 kB / 0.7711 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000856/1.08, allocations: 44 kB / 0.7712 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.082, allocations: 191.7 kB / 0.7714 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005292/1.083, allocations: 169.3 kB / 0.7715 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002756/1.083, allocations: 79.73 kB / 0.7716 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003381/1.086, allocations: 1.874 MB / 0.7734 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/1.086, allocations: 0 / 0.7734 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005838/1.092, allocations: 1.096 MB / 0.7745 GB, free: 148.2 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.01323/1.105, allocations: 10.54 MB / 0.7848 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008869/1.114, allocations: 6.973 MB / 0.7916 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.114, allocations: 4 kB / 0.7916 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003434/1.118, allocations: 2.858 MB / 0.7944 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/1.121, allocations: 417.2 kB / 0.7948 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07109/1.192, allocations: 48.82 MB / 0.8425 GB, free: 73.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004966/1.197, allocations: 3.574 MB / 0.846 GB, free: 69.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004895/1.202, allocations: 2.207 MB / 0.8481 GB, free: 67.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003142/1.205, allocations: 2.065 MB / 0.8501 GB, free: 65.64 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/1.205, allocations: 0 / 0.8501 GB, free: 65.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/1.311, allocations: 71.2 MB / 0.9197 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.43/23.74, allocations: 16.06 kB / 0.9197 GB, free: 10.7 MB / 0.5919 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches