Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2399/0.2399, allocations: 46.93 MB / 361.6 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 59.91 kB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3112, allocations: 66.04 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.0103/0.3215, allocations: 8.167 MB / 0.5694 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.327, allocations: 2.662 MB / 0.572 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009837/0.328, allocations: 43.88 kB / 0.572 GB, free: 9.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.3307, allocations: 1.308 MB / 0.5733 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.3321, allocations: 477.6 kB / 0.5738 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3331, allocations: 411.1 kB / 0.5742 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.3345, allocations: 1.036 MB / 0.5752 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.3358, allocations: 0.9995 MB / 0.5762 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007037/0.3365, allocations: 0.5334 MB / 0.5767 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.3377, allocations: 0.8137 MB / 0.5775 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.3379, allocations: 116 kB / 0.5776 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.3389, allocations: 0.6084 MB / 0.5782 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007286/0.3397, allocations: 0.7284 MB / 0.5789 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008706/0.3405, allocations: 0.7997 MB / 0.5797 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.3435, allocations: 2.498 MB / 0.5821 GB, free: 15.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3435, allocations: 0 / 0.5821 GB, free: 15.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3435, allocations: 4 kB / 0.5821 GB, free: 15.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.807e-05/0.3436, allocations: 3.938 kB / 0.5821 GB, free: 15.18 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004428/0.348, allocations: 2.094 MB / 0.5842 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.348, allocations: 8.031 kB / 0.5842 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.878e-05/0.3481, allocations: 42.56 kB / 0.5842 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003658/0.3484, allocations: 296.6 kB / 0.5845 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.3495, allocations: 283.4 kB / 0.5848 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.3509, allocations: 0.7846 MB / 0.5855 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.843e-05/0.351, allocations: 98.44 kB / 0.5856 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.3512, allocations: 123.9 kB / 0.5857 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008042/0.3593, allocations: 4.272 MB / 0.5899 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.3593, allocations: 11.88 kB / 0.5899 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.3595, allocations: 55.95 kB / 0.59 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001141/0.3606, allocations: 0.721 MB / 0.5907 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007617/0.3682, allocations: 3.504 MB / 0.5941 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01899/0.3872, allocations: 14.2 MB / 0.608 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004242/0.3915, allocations: 1.148 MB / 0.6091 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008853/0.3924, allocations: 0.588 MB / 0.6097 GB, free: 2.246 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005136/0.3975, allocations: 2.775 MB / 0.6124 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.3975, allocations: 42.81 kB / 0.6124 GB, free: 15.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.454e-06/0.3975, allocations: 0 / 0.6124 GB, free: 15.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006655/0.4042, allocations: 1.772 MB / 0.6141 GB, free: 13.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.4042, allocations: 63.28 kB / 0.6142 GB, free: 13.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.4063, allocations: 1.476 MB / 0.6156 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.4064, allocations: 33.7 kB / 0.6157 GB, free: 12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009673/0.4073, allocations: 1.241 MB / 0.6169 GB, free: 10.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.4075, allocations: 178.8 kB / 0.6171 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005442/0.4081, allocations: 439.5 kB / 0.6175 GB, free: 10.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.4083, allocations: 353.9 kB / 0.6178 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007487/0.409, allocations: 491.9 kB / 0.6183 GB, free: 9.297 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.4109, allocations: 1.893 MB / 0.6201 GB, free: 6.684 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/0.4138, allocations: 2.598 MB / 0.6227 GB, free: 3.375 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/0.4139, allocations: 12 kB / 0.6227 GB, free: 3.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003624/0.4175, allocations: 2.263 MB / 0.6249 GB, free: 1.094 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.4175, allocations: 31.92 kB / 0.6249 GB, free: 1.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.405e-05/0.4176, allocations: 52 kB / 0.625 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.729e-05/0.4177, allocations: 71.98 kB / 0.625 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.419, allocations: 491 kB / 0.6255 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.477e-05/0.4191, allocations: 99.58 kB / 0.6256 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.4204, allocations: 318 kB / 0.6259 GB, free: 52 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.4206, allocations: 136 kB / 0.626 GB, free: 15.91 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001082/0.4217, allocations: 0.7618 MB / 0.6268 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.4219, allocations: 131.1 kB / 0.6269 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.4222, allocations: 140.4 kB / 0.627 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4222, allocations: 4 kB / 0.627 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4222, allocations: 0 / 0.627 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4222, allocations: 7.984 kB / 0.6271 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/0.4264, allocations: 2.862 MB / 0.6298 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.4264, allocations: 12 kB / 0.6299 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.4267, allocations: 99.83 kB / 0.63 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/0.4268, allocations: 16.06 kB / 0.63 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.4268, allocations: 20 kB / 0.63 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/0.4268, allocations: 19.94 kB / 0.63 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/0.4268, allocations: 19.88 kB / 0.63 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4278, allocations: 0.8837 MB / 0.6309 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.4281, allocations: 143 kB / 0.631 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.4283, allocations: 31.92 kB / 0.6311 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.4287, allocations: 24 kB / 0.6311 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.4288, allocations: 75.61 kB / 0.6312 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.4288, allocations: 32 kB / 0.6312 GB, free: 10.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.43, allocations: 0.9089 MB / 0.6321 GB, free: 9.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.43, allocations: 0 / 0.6321 GB, free: 9.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001682/0.4317, allocations: 407 kB / 0.6325 GB, free: 8.922 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/0.4331, allocations: 1.457 MB / 0.6339 GB, free: 7.281 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.4351, allocations: 1.174 MB / 0.635 GB, free: 6.117 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.4351, allocations: 0 / 0.635 GB, free: 6.117 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.4354, allocations: 234.5 kB / 0.6353 GB, free: 5.891 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4364, allocations: 203.7 kB / 0.6354 GB, free: 5.699 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.455, allocations: 14.08 MB / 0.6492 GB, free: 5.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/0.4565, allocations: 1.524 MB / 0.6507 GB, free: 4.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001396/0.4579, allocations: 0.5699 MB / 0.6512 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007958/0.4587, allocations: 0.6164 MB / 0.6518 GB, free: 2.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4587, allocations: 0 / 0.6518 GB, free: 2.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05697/0.5157, allocations: 24.8 MB / 0.6761 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.13, allocations: 3.859 kB / 0.6761 GB, free: 10.33 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.766775408003014]