Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008851/0.0008851, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007598/0.0007598, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8633/0.8633, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1322/0.1322, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.44e-05, allocations: 2.281 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.007826/0.00785, allocations: 10.52 MB / 417.4 MB, free: 7.652 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005865/0.01372, allocations: 4.185 MB / 421.6 MB, free: 3.453 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.01482, allocations: 87.56 kB / 421.6 MB, free: 3.367 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002584/0.0174, allocations: 2.834 MB / 424.5 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.02015, allocations: 2.181 MB / 426.7 MB, free: 14.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.02131, allocations: 1.107 MB / 427.8 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003448/0.02476, allocations: 5.785 MB / 433.6 MB, free: 7.422 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.0269, allocations: 3.402 MB / 437 MB, free: 3.969 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.02883, allocations: 2.725 MB / 439.7 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.03103, allocations: 2.759 MB / 442.4 MB, free: 14.47 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003935/0.03142, allocations: 376 kB / 442.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.03278, allocations: 1.369 MB / 444.2 MB, free: 12.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.03401, allocations: 2.388 MB / 446.6 MB, free: 10.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.03542, allocations: 1.534 MB / 448.1 MB, free: 8.801 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005448/0.04087, allocations: 8.43 MB / 456.5 MB, free: 352 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.04087, allocations: 0 / 456.5 MB, free: 352 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.04088, allocations: 0 / 456.5 MB, free: 352 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001427/0.04102, allocations: 4 kB / 456.5 MB, free: 348 kB / 426.7 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.008268/0.04929, allocations: 6.059 MB / 462.6 MB, free: 10.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.04933, allocations: 8.031 kB / 462.6 MB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006505/0.04998, allocations: 0.7946 MB / 463.4 MB, free: 9.398 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03755/0.08753, allocations: 7.523 MB / 470.9 MB, free: 1.859 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1721/0.2596, allocations: 3.563 MB / 474.5 MB, free: 94.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.2598, allocations: 250.7 kB / 474.7 MB, free: 94.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008947/0.2607, allocations: 347.5 kB / 475.1 MB, free: 94.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.2756, allocations: 12.41 MB / 487.5 MB, free: 88.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.2758, allocations: 55.8 kB / 487.5 MB, free: 88.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006017/0.2764, allocations: 168 kB / 487.7 MB, free: 88.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002129/0.2785, allocations: 2.376 MB / 490.1 MB, free: 88.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.2931, allocations: 10.7 MB / 0.489 GB, free: 85.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04153/0.3346, allocations: 46.82 MB / 0.5347 GB, free: 48.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007809/0.3424, allocations: 5.381 MB / 0.54 GB, free: 43.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.3447, allocations: 2.84 MB / 0.5428 GB, free: 40.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.355, allocations: 11.59 MB / 0.5541 GB, free: 29.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.355, allocations: 51.88 kB / 0.5541 GB, free: 29.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=193): time 4.728e-06/0.355, allocations: 3.094 kB / 0.5541 GB, free: 29.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=254): time 0.06348/0.4185, allocations: 40.02 MB / 0.5932 GB, free: 5.008 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.4186, allocations: 209.9 kB / 0.5934 GB, free: 4.758 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006021/0.4246, allocations: 5.064 MB / 0.5984 GB, free: 15.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009713/0.4256, allocations: 65.7 kB / 0.5984 GB, free: 15.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002645/0.4282, allocations: 3.547 MB / 0.6019 GB, free: 12.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001855/0.4301, allocations: 0.9728 MB / 0.6029 GB, free: 11.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/0.4318, allocations: 1.354 MB / 0.6042 GB, free: 9.672 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.4319, allocations: 301.1 kB / 0.6045 GB, free: 9.375 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003333/0.4352, allocations: 3.125 MB / 0.6075 GB, free: 6.246 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005181/0.4404, allocations: 7.108 MB / 0.6145 GB, free: 13.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009813/0.4502, allocations: 10.97 MB / 0.6252 GB, free: 304 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/0.4503, allocations: 40 kB / 0.6252 GB, free: 264 kB / 490.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01882/0.4692, allocations: 12.67 MB / 0.6376 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.952e-05/0.4693, allocations: 67.94 kB / 0.6376 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001547/0.4694, allocations: 137 kB / 0.6378 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005564/0.475, allocations: 3.243 MB / 0.6409 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003687/0.4787, allocations: 1.544 MB / 0.6425 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2087/0.6873, allocations: 16.37 MB / 0.6584 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/0.6915, allocations: 0.5114 MB / 0.6589 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/0.6922, allocations: 406.9 kB / 0.6593 GB, free: 152 MB / 0.5105 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.002724/0.6949, allocations: 2.347 MB / 0.6616 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/0.6954, allocations: 433 kB / 0.662 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007863/0.7032, allocations: 7.489 MB / 0.6693 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.7033, allocations: 27.28 kB / 0.6694 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.7033, allocations: 14.44 kB / 0.6694 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.7033, allocations: 13.11 kB / 0.6694 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.7183, allocations: 14.52 MB / 0.6836 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.7183, allocations: 0 / 0.6836 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009717/0.7192, allocations: 377.1 kB / 0.6839 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005502/0.7247, allocations: 2.922 MB / 0.6868 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/0.7249, allocations: 41.5 kB / 0.6868 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/0.7393, allocations: 14.64 MB / 0.7011 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.7393, allocations: 6.312 kB / 0.7011 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/0.7496, allocations: 11.46 MB / 0.7123 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.7509, allocations: 0.9398 MB / 0.7132 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/0.7513, allocations: 35.69 kB / 0.7133 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.7525, allocations: 275.4 kB / 0.7135 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.7527, allocations: 158.2 kB / 0.7137 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.7529, allocations: 66.83 kB / 0.7138 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002562/0.7554, allocations: 3.084 MB / 0.7168 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7554, allocations: 3.812 kB / 0.7168 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003089/0.7585, allocations: 1.491 MB / 0.7182 GB, free: 131.6 MB / 0.5105 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.01048/0.769, allocations: 12.16 MB / 0.7301 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00741/0.7764, allocations: 7.531 MB / 0.7375 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.7764, allocations: 0 / 0.7375 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002631/0.779, allocations: 2.886 MB / 0.7403 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.7813, allocations: 0.5269 MB / 0.7408 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05973/0.8411, allocations: 62.19 MB / 0.8015 GB, free: 40.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/0.8437, allocations: 3.146 MB / 0.8046 GB, free: 37.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003143/0.8468, allocations: 2.188 MB / 0.8067 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002133/0.849, allocations: 2.246 MB / 0.8089 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of SimCode: time 1.263e-06/0.849, allocations: 4 kB / 0.8089 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2715/1.12, allocations: 99.58 MB / 0.9062 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.18, allocations: 1.828 kB / 0.9062 GB, free: 146.8 MB / 0.5261 GB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 13.549783349968493]