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.001697/0.001697, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.001472/0.001472, allocations: 211.8 kB / 24.52 MB, free: 3.93 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2331/0.2331, allocations: 46.96 MB / 361.7 MB, free: 4.008 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.00204/0.00204, allocations: 67.89 kB / 0.4969 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3094, allocations: 66.03 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009658/0.319, allocations: 7.131 MB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00505/0.3241, allocations: 2.49 MB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/0.3247, allocations: 43.88 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.3273, allocations: 1.25 MB / 0.572 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.3284, allocations: 473.7 kB / 0.5725 GB, free: 8.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009194/0.3293, allocations: 411.1 kB / 0.5729 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.3305, allocations: 1.032 MB / 0.5739 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.3317, allocations: 0.9996 MB / 0.5748 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006146/0.3323, allocations: 0.5294 MB / 0.5754 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.3335, allocations: 0.8177 MB / 0.5762 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.3337, allocations: 116 kB / 0.5763 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009251/0.3346, allocations: 0.5771 MB / 0.5768 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007236/0.3354, allocations: 0.74 MB / 0.5776 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000698/0.3361, allocations: 0.5978 MB / 0.5781 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.3389, allocations: 2.521 MB / 0.5806 GB, free: 408 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3389, allocations: 0 / 0.5806 GB, free: 408 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3389, allocations: 3.938 kB / 0.5806 GB, free: 404 kB / 414.1 MB Notification: Performance of Transformations before backend: time 3.732e-05/0.3389, allocations: 0 / 0.5806 GB, free: 404 kB / 414.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.00438/0.3433, allocations: 2.086 MB / 0.5826 GB, free: 14.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3433, allocations: 12.03 kB / 0.5827 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.344e-05/0.3434, allocations: 46.56 kB / 0.5827 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003523/0.3437, allocations: 292.6 kB / 0.583 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.3448, allocations: 291.4 kB / 0.5833 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.3463, allocations: 0.7884 MB / 0.584 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-05/0.3464, allocations: 98.44 kB / 0.5841 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.3467, allocations: 116 kB / 0.5842 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007996/0.3547, allocations: 4.33 MB / 0.5885 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3547, allocations: 11.94 kB / 0.5885 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.3549, allocations: 55.95 kB / 0.5885 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001125/0.356, allocations: 0.7248 MB / 0.5892 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007529/0.3635, allocations: 3.508 MB / 0.5927 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01838/0.3819, allocations: 13.7 MB / 0.606 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/0.3862, allocations: 1.14 MB / 0.6072 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009022/0.3871, allocations: 0.5918 MB / 0.6077 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005159/0.3923, allocations: 2.666 MB / 0.6103 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.3923, allocations: 50.7 kB / 0.6104 GB, free: 1.133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.996e-06/0.3923, allocations: 4 kB / 0.6104 GB, free: 1.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006652/0.399, allocations: 1.772 MB / 0.6121 GB, free: 15.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.399, allocations: 59.34 kB / 0.6122 GB, free: 15.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.4011, allocations: 1.476 MB / 0.6136 GB, free: 13.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.4012, allocations: 29.7 kB / 0.6136 GB, free: 13.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009656/0.4021, allocations: 1.245 MB / 0.6149 GB, free: 12.49 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.4023, allocations: 182.8 kB / 0.615 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005354/0.4028, allocations: 435.5 kB / 0.6154 GB, free: 11.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.403, allocations: 357.9 kB / 0.6158 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007452/0.4038, allocations: 487.9 kB / 0.6163 GB, free: 11.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.4058, allocations: 1.897 MB / 0.6181 GB, free: 8.422 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003173/0.409, allocations: 2.594 MB / 0.6206 GB, free: 5.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-05/0.409, allocations: 19.94 kB / 0.6207 GB, free: 5.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003551/0.4126, allocations: 2.259 MB / 0.6229 GB, free: 2.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.4126, allocations: 34.44 kB / 0.6229 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-05/0.4127, allocations: 52 kB / 0.6229 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/0.4128, allocations: 67.98 kB / 0.623 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.4141, allocations: 491.7 kB / 0.6235 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.494e-05/0.4142, allocations: 99.64 kB / 0.6236 GB, free: 2.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4155, allocations: 317.7 kB / 0.6239 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.4157, allocations: 132 kB / 0.624 GB, free: 1.664 MB / 462.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.001042/0.4167, allocations: 0.7658 MB / 0.6248 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.4169, allocations: 135.1 kB / 0.6249 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.4171, allocations: 136.4 kB / 0.625 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4171, allocations: 8 kB / 0.625 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4171, allocations: 4 kB / 0.625 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4171, allocations: 3.984 kB / 0.625 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003973/0.4211, allocations: 2.795 MB / 0.6278 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.4211, allocations: 16 kB / 0.6278 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.4214, allocations: 103.8 kB / 0.6279 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-05/0.4214, allocations: 16 kB / 0.6279 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.4215, allocations: 20 kB / 0.6279 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/0.4215, allocations: 23.92 kB / 0.6279 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/0.4215, allocations: 15.94 kB / 0.6279 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.4225, allocations: 0.8802 MB / 0.6288 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.4228, allocations: 147 kB / 0.6289 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.4229, allocations: 23.98 kB / 0.629 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.4233, allocations: 35.92 kB / 0.629 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/0.4234, allocations: 75.56 kB / 0.6291 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.4235, allocations: 28 kB / 0.6291 GB, free: 12.03 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.4247, allocations: 0.9128 MB / 0.63 GB, free: 11.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4247, allocations: 3.938 kB / 0.63 GB, free: 11.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001655/0.4264, allocations: 403 kB / 0.6304 GB, free: 10.71 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.001444/0.4278, allocations: 1.45 MB / 0.6318 GB, free: 9.082 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.4297, allocations: 1.17 MB / 0.6329 GB, free: 7.922 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.4297, allocations: 448 / 0.6329 GB, free: 7.922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.4301, allocations: 242.2 kB / 0.6332 GB, free: 7.688 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.4312, allocations: 194.8 kB / 0.6334 GB, free: 7.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/0.4505, allocations: 14.08 MB / 0.6471 GB, free: 7.457 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.4518, allocations: 0.9426 MB / 0.648 GB, free: 6.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001395/0.4532, allocations: 0.5699 MB / 0.6486 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008097/0.454, allocations: 0.6164 MB / 0.6492 GB, free: 5.289 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.454, allocations: 0 / 0.6492 GB, free: 5.289 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05585/0.5098, allocations: 24.07 MB / 0.6727 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/14.99, allocations: 8 kB / 0.6727 GB, free: 13.61 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.595690520014614]