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.001668/0.001668, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2625/0.2625, allocations: 46.13 MB / 344.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002313, allocations: 79.86 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.381, allocations: 62.44 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.0179/0.3989, allocations: 13.46 MB / 0.5438 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.4099, allocations: 4.201 MB / 0.5479 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00329/0.4133, allocations: 69.25 kB / 0.5479 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004785/0.4181, allocations: 1.959 MB / 0.5499 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005915/0.4241, allocations: 1.891 MB / 0.5517 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.4261, allocations: 0.5576 MB / 0.5522 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006918/0.433, allocations: 4.041 MB / 0.5562 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004673/0.4377, allocations: 2.863 MB / 0.559 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.4408, allocations: 1.436 MB / 0.5604 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003344/0.4442, allocations: 2.013 MB / 0.5624 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000914/0.4451, allocations: 304 kB / 0.5626 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.4477, allocations: 1.01 MB / 0.5636 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002678/0.4504, allocations: 1.85 MB / 0.5654 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004227/0.4547, allocations: 2.236 MB / 0.5676 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.4663, allocations: 7.331 MB / 0.5748 GB, free: 4.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4664, allocations: 0 / 0.5748 GB, free: 4.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4664, allocations: 0 / 0.5748 GB, free: 4.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002705/0.4667, allocations: 4 kB / 0.5748 GB, free: 4.262 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.01124/0.4779, allocations: 5.013 MB / 0.5797 GB, free: 15.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.478, allocations: 12.03 kB / 0.5797 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002345/0.4804, allocations: 0.8195 MB / 0.5805 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.4921, allocations: 3.172 MB / 0.5836 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005989/0.4982, allocations: 2.408 MB / 0.5859 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.4985, allocations: 238.2 kB / 0.5862 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.4996, allocations: 315.7 kB / 0.5865 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02085/0.5205, allocations: 12.08 MB / 0.5983 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.5206, allocations: 35.75 kB / 0.5983 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004785/0.5211, allocations: 151.8 kB / 0.5985 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004961/0.5261, allocations: 2.831 MB / 0.6012 GB, free: 8.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02202/0.5481, allocations: 11.35 MB / 0.6123 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05993/0.6081, allocations: 41.11 MB / 0.6524 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.6204, allocations: 6.077 MB / 0.6584 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004499/0.625, allocations: 3.013 MB / 0.6613 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/0.627, allocations: 1.884 MB / 0.6632 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.6271, allocations: 60.48 kB / 0.6632 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 7.804e-06/0.6271, allocations: 0 / 0.6632 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05765/0.6848, allocations: 20.21 MB / 0.683 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.6849, allocations: 73.41 kB / 0.683 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006668/0.6916, allocations: 3.044 MB / 0.686 GB, free: 15.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008168/0.6925, allocations: 61.7 kB / 0.6861 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002911/0.6954, allocations: 3.108 MB / 0.6891 GB, free: 12.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001957/0.6974, allocations: 1.069 MB / 0.6901 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002504/0.6999, allocations: 1.195 MB / 0.6913 GB, free: 10.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7001, allocations: 309 kB / 0.6916 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00505/0.7051, allocations: 2.842 MB / 0.6944 GB, free: 7.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008479/0.7136, allocations: 6.018 MB / 0.7003 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/0.7279, allocations: 9.665 MB / 0.7097 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.792e-05/0.728, allocations: 32 kB / 0.7097 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.0211/0.7492, allocations: 10.03 MB / 0.7195 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.7493, allocations: 55.94 kB / 0.7196 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001914/0.7495, allocations: 116 kB / 0.7197 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/0.7535, allocations: 1.37 MB / 0.721 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004974/0.7585, allocations: 1.365 MB / 0.7224 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3101/1.069, allocations: 7.811 MB / 0.73 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/1.074, allocations: 356.7 kB / 0.7303 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/1.075, allocations: 345.5 kB / 0.7307 GB, free: 173.2 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.004888/1.08, allocations: 2.291 MB / 0.7329 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008603/1.081, allocations: 323.9 kB / 0.7332 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.093, allocations: 6.623 MB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.837e-05/1.093, allocations: 57.27 kB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/1.093, allocations: 5.156 kB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.983e-05/1.093, allocations: 11.06 kB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/1.112, allocations: 13.89 MB / 0.7533 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.728e-05/1.112, allocations: 10.38 kB / 0.7533 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/1.114, allocations: 454.7 kB / 0.7537 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/1.117, allocations: 1.214 MB / 0.7549 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003911/1.118, allocations: 54.72 kB / 0.755 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00718/1.125, allocations: 7.015 MB / 0.7618 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.125, allocations: 16.66 kB / 0.7618 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.137, allocations: 9.881 MB / 0.7715 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/1.137, allocations: 371.1 kB / 0.7719 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000624/1.138, allocations: 51.92 kB / 0.7719 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.14, allocations: 191.7 kB / 0.7721 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/1.14, allocations: 161.5 kB / 0.7722 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.14, allocations: 79.98 kB / 0.7723 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002225/1.143, allocations: 1.871 MB / 0.7741 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.143, allocations: 0 / 0.7741 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004118/1.147, allocations: 1.112 MB / 0.7752 GB, free: 146.7 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.01163/1.158, allocations: 10.54 MB / 0.7855 GB, free: 136 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008394/1.167, allocations: 6.987 MB / 0.7923 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/1.167, allocations: 0 / 0.7923 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003271/1.17, allocations: 2.866 MB / 0.7951 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/1.172, allocations: 416.2 kB / 0.7955 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05658/1.229, allocations: 49 MB / 0.8434 GB, free: 71.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003816/1.233, allocations: 3.574 MB / 0.8469 GB, free: 68.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004174/1.237, allocations: 2.196 MB / 0.849 GB, free: 66.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00261/1.239, allocations: 2.069 MB / 0.851 GB, free: 63.99 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/1.239, allocations: 0 / 0.851 GB, free: 63.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.348, allocations: 70.05 MB / 0.9194 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.48/24.83, allocations: 18.17 kB / 0.9195 GB, free: 10.21 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