Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001775/0.001775, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002053/0.002053, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.518/1.518, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2364/0.2364, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 64.08 kB / 0.4909 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1327, allocations: 66 MB / 0.5554 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01482/0.1475, allocations: 11.99 MB / 0.5671 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009784/0.1573, allocations: 4.414 MB / 0.5714 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.1593, allocations: 87.5 kB / 0.5715 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006341/0.1656, allocations: 2.791 MB / 0.5742 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005852/0.1715, allocations: 2.05 MB / 0.5762 GB, free: 424 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.1742, allocations: 1.006 MB / 0.5772 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009086/0.1833, allocations: 5.375 MB / 0.5824 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005276/0.1886, allocations: 2.948 MB / 0.5853 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003658/0.1923, allocations: 1.775 MB / 0.5871 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004687/0.197, allocations: 2.644 MB / 0.5896 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001872/0.1988, allocations: 368 kB / 0.59 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.2027, allocations: 1.447 MB / 0.5914 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3179/0.5207, allocations: 2.232 MB / 0.5936 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004134/0.5248, allocations: 2.557 MB / 0.5961 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.5377, allocations: 8.222 MB / 0.6041 GB, free: 9.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.5377, allocations: 0 / 0.6041 GB, free: 9.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5377, allocations: 1.438 kB / 0.6041 GB, free: 9.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003441/0.538, allocations: 0 / 0.6041 GB, free: 9.219 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.02168/0.5597, allocations: 6.02 MB / 0.61 GB, free: 6.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5597, allocations: 14.23 kB / 0.61 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002628/0.5624, allocations: 0.7963 MB / 0.6108 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09335/0.6557, allocations: 7.243 MB / 0.6179 GB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00956/0.6653, allocations: 3.616 MB / 0.6214 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.6655, allocations: 259.9 kB / 0.6216 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/0.6674, allocations: 351.2 kB / 0.622 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02624/0.6936, allocations: 12.28 MB / 0.634 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.6938, allocations: 59.2 kB / 0.634 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005655/0.6944, allocations: 165.7 kB / 0.6342 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004334/0.6987, allocations: 2.373 MB / 0.6365 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/0.725, allocations: 10.71 MB / 0.647 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07819/0.8031, allocations: 48.64 MB / 0.6945 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/0.8207, allocations: 5.633 MB / 0.7 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004568/0.8252, allocations: 2.822 MB / 0.7027 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02311/0.8483, allocations: 13.03 MB / 0.7154 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.66e-05/0.8484, allocations: 51.88 kB / 0.7155 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 5.3e-06/0.8484, allocations: 0 / 0.7155 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254): time 0.1404/0.9889, allocations: 38.92 MB / 0.7535 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.989, allocations: 201.9 kB / 0.7537 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/0.9997, allocations: 4.393 MB / 0.758 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008718/1.001, allocations: 68.52 kB / 0.758 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003897/1.004, allocations: 3.563 MB / 0.7615 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002022/1.006, allocations: 0.9876 MB / 0.7625 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005062/1.012, allocations: 1.377 MB / 0.7638 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.012, allocations: 309.1 kB / 0.7641 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006093/1.018, allocations: 3.109 MB / 0.7672 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/1.028, allocations: 7.047 MB / 0.7741 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01908/1.047, allocations: 10.97 MB / 0.7848 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001666/1.047, allocations: 44 kB / 0.7848 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03515/1.083, allocations: 12.63 MB / 0.7971 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002021/1.083, allocations: 64 kB / 0.7972 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000323/1.083, allocations: 140 kB / 0.7973 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/1.095, allocations: 3.248 MB / 0.8005 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006735/1.101, allocations: 1.536 MB / 0.802 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03132/1.133, allocations: 16.61 MB / 0.8182 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00702/1.14, allocations: 439.4 kB / 0.8186 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002089/1.142, allocations: 404 kB / 0.819 GB, free: 12.74 MB / 0.6387 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.007589/1.149, allocations: 2.346 MB / 0.8213 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/1.151, allocations: 425.2 kB / 0.8217 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0199/1.171, allocations: 7.487 MB / 0.829 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.415e-05/1.171, allocations: 24.94 kB / 0.8291 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.209e-05/1.171, allocations: 12 kB / 0.8291 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.528e-05/1.171, allocations: 11.95 kB / 0.8291 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3228/1.494, allocations: 14.99 MB / 0.8437 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/1.494, allocations: 5.656 kB / 0.8437 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/1.496, allocations: 376.8 kB / 0.8441 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00892/1.505, allocations: 2.922 MB / 0.8469 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004789/1.505, allocations: 43.25 kB / 0.847 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/1.524, allocations: 14.81 MB / 0.8615 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.524, allocations: 3.906 kB / 0.8615 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/1.542, allocations: 11.49 MB / 0.8727 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.543, allocations: 475.3 kB / 0.8731 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007576/1.544, allocations: 37.64 kB / 0.8732 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/1.546, allocations: 192.5 kB / 0.8733 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005692/1.546, allocations: 141.8 kB / 0.8735 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/1.547, allocations: 67.98 kB / 0.8735 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004309/1.551, allocations: 2.75 MB / 0.8762 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.31e-07/1.551, allocations: 0 / 0.8762 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006506/1.557, allocations: 1.295 MB / 0.8775 GB, free: 200.6 MB / 0.6387 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.01757/1.575, allocations: 12.13 MB / 0.8893 GB, free: 188.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.587, allocations: 7.518 MB / 0.8967 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.587, allocations: 1.969 kB / 0.8967 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00459/1.591, allocations: 2.895 MB / 0.8995 GB, free: 178.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/1.595, allocations: 0.5192 MB / 0.9 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08587/1.681, allocations: 60.65 MB / 0.9593 GB, free: 111 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003463/1.684, allocations: 3.676 MB / 0.9628 GB, free: 107.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004281/1.689, allocations: 2.172 MB / 0.965 GB, free: 105.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002823/1.692, allocations: 2.21 MB / 0.9671 GB, free: 102.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.623e-06/1.692, allocations: 4 kB / 0.9671 GB, free: 102.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/1.836, allocations: 94.94 MB / 1.06 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.69/30.52, allocations: 6.672 kB / 1.06 GB, free: 8.352 MB / 0.6387 GB " [Timeout remaining time 629] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 34.62970142601989]