Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.001905/0.001905, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001527/0.001527, allocations: 215.3 kB / 23.73 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.228/0.228, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 75.88 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3378, allocations: 65.47 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01402/0.3518, allocations: 10.47 MB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009265/0.361, allocations: 4.178 MB / 0.5713 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.3628, allocations: 83.62 kB / 0.5713 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005974/0.3688, allocations: 2.69 MB / 0.574 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005646/0.3745, allocations: 2.078 MB / 0.576 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.3768, allocations: 1.002 MB / 0.577 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008205/0.385, allocations: 5.373 MB / 0.5822 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004917/0.3899, allocations: 2.876 MB / 0.585 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.3937, allocations: 1.776 MB / 0.5868 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004948/0.3986, allocations: 2.504 MB / 0.5892 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001532/0.4001, allocations: 368 kB / 0.5896 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003279/0.4034, allocations: 1.299 MB / 0.5908 GB, free: 4.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003247/0.4067, allocations: 2.247 MB / 0.593 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003731/0.4104, allocations: 1.907 MB / 0.5949 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.4222, allocations: 8.253 MB / 0.603 GB, free: 8.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4222, allocations: 0 / 0.603 GB, free: 8.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4222, allocations: 7.938 kB / 0.603 GB, free: 8.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002648/0.4225, allocations: 4 kB / 0.603 GB, free: 8.199 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01785/0.4403, allocations: 5.939 MB / 0.6088 GB, free: 2.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.4404, allocations: 11.97 kB / 0.6088 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001805/0.4422, allocations: 0.7985 MB / 0.6096 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08926/0.5314, allocations: 7.246 MB / 0.6166 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/0.5424, allocations: 3.545 MB / 0.6201 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.5427, allocations: 258.8 kB / 0.6203 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/0.5444, allocations: 359.6 kB / 0.6207 GB, free: 5.914 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02847/0.5729, allocations: 12.38 MB / 0.6328 GB, free: 8.703 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.5731, allocations: 51.58 kB / 0.6328 GB, free: 8.652 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006813/0.5738, allocations: 171.8 kB / 0.633 GB, free: 8.484 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004478/0.5782, allocations: 2.377 MB / 0.6353 GB, free: 6.105 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.6024, allocations: 10.67 MB / 0.6457 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07529/0.6776, allocations: 46.35 MB / 0.691 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/0.6936, allocations: 5.169 MB / 0.696 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004398/0.698, allocations: 2.849 MB / 0.6988 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02187/0.7198, allocations: 11.28 MB / 0.7098 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.976e-05/0.7199, allocations: 55.81 kB / 0.7099 GB, free: 8.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 6.733e-06/0.7199, allocations: 0 / 0.7099 GB, free: 8.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3515/1.071, allocations: 38.59 MB / 0.7476 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/1.072, allocations: 207.4 kB / 0.7478 GB, free: 155 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00519/1.077, allocations: 4.615 MB / 0.7523 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005303/1.077, allocations: 61.58 kB / 0.7523 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001536/1.079, allocations: 3.569 MB / 0.7558 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.08, allocations: 0.9895 MB / 0.7568 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/1.081, allocations: 1.37 MB / 0.7581 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.205e-05/1.081, allocations: 306.8 kB / 0.7584 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003461/1.085, allocations: 3.119 MB / 0.7615 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004741/1.09, allocations: 7.092 MB / 0.7684 GB, free: 137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009438/1.099, allocations: 10.96 MB / 0.7791 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.099, allocations: 39.94 kB / 0.7791 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02157/1.121, allocations: 12.66 MB / 0.7915 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.869e-05/1.121, allocations: 64 kB / 0.7915 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/1.121, allocations: 136 kB / 0.7917 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008092/1.129, allocations: 3.239 MB / 0.7948 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004957/1.134, allocations: 1.538 MB / 0.7963 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/1.154, allocations: 16.32 MB / 0.8123 GB, free: 90.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005625/1.159, allocations: 430.8 kB / 0.8127 GB, free: 89.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/1.161, allocations: 408 kB / 0.8131 GB, free: 89.31 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003833/1.164, allocations: 2.352 MB / 0.8154 GB, free: 86.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009408/1.165, allocations: 421.2 kB / 0.8158 GB, free: 86.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.178, allocations: 7.483 MB / 0.8231 GB, free: 79.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.336e-05/1.178, allocations: 24.69 kB / 0.8231 GB, free: 79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.178, allocations: 16 kB / 0.8231 GB, free: 78.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/1.178, allocations: 7.969 kB / 0.8231 GB, free: 78.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02433/1.203, allocations: 14.37 MB / 0.8372 GB, free: 64.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/1.203, allocations: 4 kB / 0.8372 GB, free: 64.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/1.205, allocations: 375.5 kB / 0.8375 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007945/1.213, allocations: 2.923 MB / 0.8404 GB, free: 61.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005185/1.213, allocations: 47.98 kB / 0.8404 GB, free: 61.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/1.231, allocations: 14.56 MB / 0.8547 GB, free: 46.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.231, allocations: 0 / 0.8547 GB, free: 46.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/1.248, allocations: 11.47 MB / 0.8658 GB, free: 35.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.249, allocations: 397 kB / 0.8662 GB, free: 34.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000764/1.25, allocations: 36.56 kB / 0.8663 GB, free: 34.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00225/1.252, allocations: 195.8 kB / 0.8664 GB, free: 34.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/1.253, allocations: 157.7 kB / 0.8666 GB, free: 34.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/1.253, allocations: 68 kB / 0.8667 GB, free: 34.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003422/1.256, allocations: 2.742 MB / 0.8693 GB, free: 31.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.256, allocations: 3.938 kB / 0.8693 GB, free: 31.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005115/1.262, allocations: 1.297 MB / 0.8706 GB, free: 30.13 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01769/1.279, allocations: 12.15 MB / 0.8825 GB, free: 17.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01138/1.291, allocations: 7.514 MB / 0.8898 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.291, allocations: 4 kB / 0.8898 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004848/1.295, allocations: 2.886 MB / 0.8926 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/1.299, allocations: 0.5083 MB / 0.8931 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.108/1.407, allocations: 60.73 MB / 0.9524 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005072/1.412, allocations: 3.143 MB / 0.9555 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005335/1.418, allocations: 2.171 MB / 0.9576 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003685/1.421, allocations: 2.221 MB / 0.9598 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of SimCode: time 9.21e-07/1.421, allocations: 0 / 0.9598 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3833/1.805, allocations: 96.25 MB / 1.054 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.75/19.55, allocations: 0 / 1.054 GB, free: 157.1 MB / 0.6387 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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: 23.303391685243696]