Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.5 MB / 243.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007139/0.0007139, allocations: 96.59 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3053/0.3053, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002418, allocations: 11.94 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2813, allocations: 62.95 MB / 0.516 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01569/0.297, allocations: 23.13 MB / 0.5385 GB, free: 20.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009227/0.3063, allocations: 5.159 MB / 0.5436 GB, free: 17.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.3096, allocations: 98.44 kB / 0.5437 GB, free: 17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.312, allocations: 1.034 MB / 0.5447 GB, free: 16.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005926/0.318, allocations: 2.929 MB / 0.5475 GB, free: 15.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.3192, allocations: 370.6 kB / 0.5479 GB, free: 15.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.3207, allocations: 1.37 MB / 0.5492 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.3229, allocations: 1.743 MB / 0.5509 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006152/0.3235, allocations: 432.5 kB / 0.5513 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008815/0.3244, allocations: 0.7002 MB / 0.552 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.3246, allocations: 54.84 kB / 0.5521 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008824/0.3255, allocations: 0.5775 MB / 0.5526 GB, free: 13.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00061/0.3261, allocations: 0.6303 MB / 0.5533 GB, free: 13.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005251/0.3266, allocations: 0.7078 MB / 0.554 GB, free: 12.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.3287, allocations: 1.887 MB / 0.5558 GB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3287, allocations: 0 / 0.5558 GB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3287, allocations: 0 / 0.5558 GB, free: 12.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.156e-05/0.3288, allocations: 0 / 0.5558 GB, free: 12.35 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003608/0.3324, allocations: 1.838 MB / 0.5576 GB, free: 11.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3325, allocations: 9.344 kB / 0.5576 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000371/0.3328, allocations: 293.3 kB / 0.5579 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000996/0.3338, allocations: 277.5 kB / 0.5581 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.335, allocations: 0.8422 MB / 0.559 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/0.3351, allocations: 89.39 kB / 0.5591 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.3353, allocations: 131.7 kB / 0.5592 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006716/0.342, allocations: 4.279 MB / 0.5634 GB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.3421, allocations: 8.688 kB / 0.5634 GB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.3422, allocations: 59.72 kB / 0.5634 GB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000951/0.3432, allocations: 0.7256 MB / 0.5641 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/0.3493, allocations: 3.497 MB / 0.5675 GB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.3639, allocations: 14.33 MB / 0.5815 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/0.3677, allocations: 1.212 MB / 0.5827 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008159/0.3685, allocations: 0.6975 MB / 0.5834 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004709/0.3732, allocations: 3.691 MB / 0.587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3733, allocations: 42.83 kB / 0.587 GB, free: 15.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.003e-06/0.3733, allocations: 0 / 0.587 GB, free: 15.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.005729/0.379, allocations: 1.76 MB / 0.5888 GB, free: 13.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3791, allocations: 63.34 kB / 0.5888 GB, free: 13.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.3809, allocations: 1.468 MB / 0.5903 GB, free: 12.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.381, allocations: 33.7 kB / 0.5903 GB, free: 12.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007224/0.3817, allocations: 1.193 MB / 0.5915 GB, free: 10.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.3818, allocations: 178 kB / 0.5916 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.3819, allocations: 40 kB / 0.5917 GB, free: 10.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.3821, allocations: 450.9 kB / 0.5921 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.3828, allocations: 475.9 kB / 0.5926 GB, free: 9.805 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.3843, allocations: 1.89 MB / 0.5944 GB, free: 7.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.3867, allocations: 2.585 MB / 0.5969 GB, free: 3.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.486e-05/0.3868, allocations: 20 kB / 0.5969 GB, free: 3.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003261/0.3901, allocations: 2.248 MB / 0.5991 GB, free: 1.621 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.3901, allocations: 31.94 kB / 0.5992 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-05/0.3902, allocations: 52 kB / 0.5992 GB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.314e-05/0.3902, allocations: 64 kB / 0.5993 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.3915, allocations: 491 kB / 0.5997 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.586e-05/0.3915, allocations: 99.64 kB / 0.5998 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.3928, allocations: 296.8 kB / 0.6001 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.393, allocations: 132 kB / 0.6002 GB, free: 488 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (269): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.3942, allocations: 0.7661 MB / 0.601 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.3944, allocations: 126.3 kB / 0.6011 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.3947, allocations: 144.4 kB / 0.6013 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3947, allocations: 7.984 kB / 0.6013 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3947, allocations: 4 kB / 0.6013 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3947, allocations: 0 / 0.6013 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.3984, allocations: 2.885 MB / 0.6041 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.3985, allocations: 19.94 kB / 0.6041 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.3987, allocations: 104.6 kB / 0.6042 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/0.3988, allocations: 12 kB / 0.6042 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.3988, allocations: 28 kB / 0.6042 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.465e-05/0.3988, allocations: 19.92 kB / 0.6043 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/0.3988, allocations: 19.94 kB / 0.6043 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.3997, allocations: 0.875 MB / 0.6051 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.4, allocations: 219.4 kB / 0.6053 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.4001, allocations: 23.98 kB / 0.6054 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.4005, allocations: 27.98 kB / 0.6054 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.4007, allocations: 75.58 kB / 0.6055 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.4007, allocations: 28 kB / 0.6055 GB, free: 10.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.4019, allocations: 0.9014 MB / 0.6064 GB, free: 9.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4019, allocations: 4 kB / 0.6064 GB, free: 9.746 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001617/0.4035, allocations: 406.6 kB / 0.6068 GB, free: 9.348 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/0.4047, allocations: 1.449 MB / 0.6082 GB, free: 7.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.4065, allocations: 1.174 MB / 0.6093 GB, free: 6.551 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.4066, allocations: 4 kB / 0.6093 GB, free: 6.547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.4069, allocations: 238.5 kB / 0.6096 GB, free: 6.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.4098, allocations: 207.9 kB / 0.6098 GB, free: 6.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.4257, allocations: 9.965 MB / 0.6195 GB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.4271, allocations: 1.536 MB / 0.621 GB, free: 9.402 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/0.4279, allocations: 0.6321 MB / 0.6216 GB, free: 8.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4279, allocations: 0 / 0.6216 GB, free: 8.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.658/4.086, allocations: 23.9 MB / 0.6449 GB, free: 0.8555 MB / 458.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches